|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SignatureService
Interface for signature service component.
| Method Summary | |
|---|---|
String |
getFilesDigestAlgorithm()
Gives back the digest algorithm to be used for construction of the digest infos of the preSign method. |
void |
postSign(byte[] signatureValue,
List<X509Certificate> signingCertificateChain)
Post-sign callback method. |
DigestInfo |
preSign(List<DigestInfo> digestInfos,
List<X509Certificate> signingCertificateChain)
Pre-sign callback method. |
| Method Detail |
|---|
String getFilesDigestAlgorithm()
null if no pre-sign digest infos are required.
preSign(List, List)
DigestInfo preSign(List<DigestInfo> digestInfos,
List<X509Certificate> signingCertificateChain)
throws NoSuchAlgorithmException
TODO: service must be able to throw some exception on failure.
digestInfos - the optional list of digest infos.signingCertificateChain - the optional list of certificates.
NoSuchAlgorithmException
void postSign(byte[] signatureValue,
List<X509Certificate> signingCertificateChain)
TODO: service must be able to throw some exception on failure.
signatureValue - signingCertificateChain - the optional chain of signing certificates.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||