Class ArchiveTimeStampCreator
java.lang.Object
br.ufsc.labsec.signature.signer.UnsignedAttributeCreator<JadesInformation, JadesAttrCommonStruct, JadesSignature>
br.ufsc.labsec.signature.signer.creator.TimestampCreator<JadesInformation, JadesAttrCommonStruct, JadesSignature>
br.ufsc.labsec.signature.conformanceVerifier.jades.creator.unsigned.ArchiveTimeStampCreator
public class ArchiveTimeStampCreator
extends TimestampCreator<JadesInformation, JadesAttrCommonStruct, JadesSignature>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SignatureAttribute<JadesAttrCommonStruct> createAttribute(byte[] encodedAttribute) protected byte[]getDigestToSign(JadesSignature signature, String digestAlgName) Methods inherited from class TimestampCreator
getAttributeMethods inherited from class UnsignedAttributeCreator
createRevocationData, isSigned
-
Constructor Details
-
ArchiveTimeStampCreator
Construtor- Parameters:
component- Gerenciador de atributos JWS
-
-
Method Details
-
getDigestToSign
protected byte[] getDigestToSign(JadesSignature signature, String digestAlgName) throws NoSuchAlgorithmException, PbadException - Specified by:
getDigestToSignin classTimestampCreator<JadesInformation, JadesAttrCommonStruct, JadesSignature>- Throws:
NoSuchAlgorithmExceptionPbadException
-
createAttribute
protected SignatureAttribute<JadesAttrCommonStruct> createAttribute(byte[] encodedAttribute) throws CadesSignatureException, SignatureAttributeException - Specified by:
createAttributein classTimestampCreator<JadesInformation, JadesAttrCommonStruct, JadesSignature>- Throws:
CadesSignatureExceptionSignatureAttributeException
-