public interface EDoc2ArchivedSignature extends EDoc2Signature
SignatureProfile,
EDoc2Signature.getProfile()KEY_SIGNATURE_METHOD_URI, SIGNATURE_METHOD_ECDSA_SHA256, SIGNATURE_METHOD_ECDSA_SHA384, SIGNATURE_METHOD_ECDSA_SHA512, SIGNATURE_METHOD_RSA_SHA1, SIGNATURE_METHOD_RSA_SHA224, SIGNATURE_METHOD_RSA_SHA256, SIGNATURE_METHOD_RSA_SHA384, SIGNATURE_METHOD_RSA_SHA512| Modifier and Type | Method and Description |
|---|---|
void |
addArchiveData(byte[] archiveTimestamp,
List<byte[]> archiveTimestampCertificates,
List<byte[]> archiveTimestampOCSPValues,
List<byte[]> archiveTimestampCRLValues)
Adds all data for the signature that are required by ARCIVE profile
|
byte[] |
calculateArchiveValueDigest(String messageDigestAlgorithm)
Calculates a digest with given algorithm.
|
archivedSignature, basicSignature, complete, getArchiveTimestamps, getCertificateValues, getClaimedSigningTime, getCRLs, getId, getOCSPResponses, getProfile, getSignatureMethodAlgorithm, getSignatureProductionPlace, getSignatureTimestamps, getSignatureValue, getSignerClaimedRoles, getSigningCertificate, qualifiedSignaturevalidate, validatebyte[] calculateArchiveValueDigest(String messageDigestAlgorithm) throws EDoc2Exception
messageDigestAlgorithm - name of the digest calculation algorithmEDoc2Exceptionvoid addArchiveData(byte[] archiveTimestamp,
List<byte[]> archiveTimestampCertificates,
List<byte[]> archiveTimestampOCSPValues,
List<byte[]> archiveTimestampCRLValues)
throws EDoc2Exception
archiveTimestamp - ASN.1 encoded archive timestamparchiveTimestampCertificates - A list of archive timestamp X.509 certificatesarchiveTimestampOCSPValues - A list of archive timestamp DER encoded OCSP valuesarchiveTimestampCRLValues - A list of archive timestamp X.509 CRL valuesEDoc2Exception