public class AbstractASiCSignatureService extends AbstractXmlSignatureService implements SignatureService
| Constructor and Description |
|---|
AbstractASiCSignatureService(InputStream documentInputStream,
DigestAlgo digestAlgo,
RevocationDataService revocationDataService,
TimeStampService timeStampService,
String claimedRole,
IdentityDTO identity,
byte[] photo,
TemporaryDataStorage temporaryDataStorage,
OutputStream documentOutputStream) |
| Modifier and Type | Method and Description |
|---|---|
protected Document |
getEnvelopingDocument()
Gives back the enveloping document.
|
String |
getFilesDigestAlgorithm() |
protected String |
getSignatureDescription()
Gives back the human-readable description of what the citizen will be
signing.
|
protected OutputStream |
getSignedDocumentOutputStream()
Gives back the output stream to which to write the signed XML document.
|
protected TemporaryDataStorage |
getTemporaryDataStorage()
Gives back a temporary data storage component.
|
protected URIDereferencer |
getURIDereferencer()
Override this method to change the URI dereferener used by the signing
engine.
|
DigestInfo |
preSign(List<DigestInfo> digestInfos,
List<X509Certificate> signingCertificateChain,
IdentityDTO identity,
AddressDTO address,
byte[] photo) |
addSignatureFacet, getCanonicalizationMethod, getSignatureDigestAlgorithm, loadDocument, loadDocumentNoClose, postSign, setSignatureId, setSignatureNamespacePrefix, writeDocument, writeDocumentNoClosing, writeDocumentNoClosingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpostSignpublic AbstractASiCSignatureService(InputStream documentInputStream, DigestAlgo digestAlgo, RevocationDataService revocationDataService, TimeStampService timeStampService, String claimedRole, IdentityDTO identity, byte[] photo, TemporaryDataStorage temporaryDataStorage, OutputStream documentOutputStream) throws IOException
IOExceptionprotected String getSignatureDescription()
AbstractXmlSignatureServicegetSignatureDescription in class AbstractXmlSignatureServicepublic String getFilesDigestAlgorithm()
getFilesDigestAlgorithm in interface SignatureServiceprotected TemporaryDataStorage getTemporaryDataStorage()
AbstractXmlSignatureServicegetTemporaryDataStorage in class AbstractXmlSignatureServiceprotected URIDereferencer getURIDereferencer()
AbstractXmlSignatureServicegetURIDereferencer in class AbstractXmlSignatureServiceprotected OutputStream getSignedDocumentOutputStream()
AbstractXmlSignatureServicegetSignedDocumentOutputStream in class AbstractXmlSignatureServicepublic DigestInfo preSign(List<DigestInfo> digestInfos, List<X509Certificate> signingCertificateChain, IdentityDTO identity, AddressDTO address, byte[] photo) throws NoSuchAlgorithmException
preSign in interface SignatureServicepreSign in class AbstractXmlSignatureServiceNoSuchAlgorithmExceptionprotected Document getEnvelopingDocument() throws ParserConfigurationException, IOException, SAXException
AbstractXmlSignatureServicenull in case
ds:Signature should be the top-level element. Implementations can
override this method to provide a custom enveloping document.getEnvelopingDocument in class AbstractXmlSignatureServiceIOExceptionSAXExceptionParserConfigurationExceptionCopyright © 2008-2018 FedICT. All Rights Reserved.