|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.fedict.eid.applet.service.signer.AbstractXmlSignatureService
be.fedict.eid.applet.service.signer.asic.AbstractASiCSignatureService
public class AbstractASiCSignatureService
Abstract ASiC signature service implementation. Implements Associated Signature Containers according to ETSI TS 102 918 v1.1.1.
| Constructor Summary | |
|---|---|
AbstractASiCSignatureService(InputStream documentInputStream,
DigestAlgo digestAlgo,
RevocationDataService revocationDataService,
TimeStampService timeStampService,
String claimedRole,
IdentityDTO identity,
byte[] photo,
TemporaryDataStorage temporaryDataStorage,
OutputStream documentOutputStream)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class be.fedict.eid.applet.service.signer.AbstractXmlSignatureService |
|---|
addSignatureFacet, getCanonicalizationMethod, getSignatureDigestAlgorithm, loadDocument, loadDocumentNoClose, postSign, preSign, setSignatureId, setSignatureNamespacePrefix, writeDocument, writeDocumentNoClosing, writeDocumentNoClosing |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface be.fedict.eid.applet.service.spi.SignatureService |
|---|
postSign, preSign |
| Constructor Detail |
|---|
public AbstractASiCSignatureService(InputStream documentInputStream,
DigestAlgo digestAlgo,
RevocationDataService revocationDataService,
TimeStampService timeStampService,
String claimedRole,
IdentityDTO identity,
byte[] photo,
TemporaryDataStorage temporaryDataStorage,
OutputStream documentOutputStream)
throws IOException
IOException| Method Detail |
|---|
protected String getSignatureDescription()
AbstractXmlSignatureService
getSignatureDescription in class AbstractXmlSignatureServicepublic String getFilesDigestAlgorithm()
getFilesDigestAlgorithm in interface SignatureServiceprotected TemporaryDataStorage getTemporaryDataStorage()
AbstractXmlSignatureService
getTemporaryDataStorage in class AbstractXmlSignatureServiceprotected URIDereferencer getURIDereferencer()
AbstractXmlSignatureService
getURIDereferencer in class AbstractXmlSignatureServiceprotected OutputStream getSignedDocumentOutputStream()
AbstractXmlSignatureService
getSignedDocumentOutputStream in class AbstractXmlSignatureService
public DigestInfo preSign(List<DigestInfo> digestInfos,
List<X509Certificate> signingCertificateChain,
IdentityDTO identity,
AddressDTO address,
byte[] photo)
throws NoSuchAlgorithmException
preSign in interface SignatureServiceExNoSuchAlgorithmException
protected 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 AbstractXmlSignatureServiceIOException
SAXException
ParserConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||