Class IdAaEtsArchiveTimeStampV2Creator
java.lang.Object
br.ufsc.labsec.signature.signer.UnsignedAttributeCreator<CadesInformation, org.bouncycastle.asn1.cms.Attribute, CadesSignature>
br.ufsc.labsec.signature.signer.creator.TimestampCreator<CadesInformation, org.bouncycastle.asn1.cms.Attribute, CadesSignature>
br.ufsc.labsec.signature.conformanceVerifier.cades.creator.unsigned.IdAaEtsArchiveTimeStampV2Creator
public class IdAaEtsArchiveTimeStampV2Creator
extends TimestampCreator<CadesInformation, org.bouncycastle.asn1.cms.Attribute, CadesSignature>
Esta classe é responsável pela criação do atributo IdAaEtsArchiveTimeStampV2Creator
-
Constructor Summary
ConstructorsConstructorDescriptionConstrutor -
Method Summary
Modifier and TypeMethodDescriptionprotected SignatureAttribute<org.bouncycastle.asn1.cms.Attribute> createAttribute(byte[] encodedAttribute) protected byte[]getDigestToSign(CadesSignature signature, String digestAlgName) Methods inherited from class TimestampCreator
getAttributeMethods inherited from class UnsignedAttributeCreator
createRevocationData, isSigned
-
Constructor Details
-
IdAaEtsArchiveTimeStampV2Creator
Construtor- Parameters:
component- Componente de assinatura CAdES
-
-
Method Details
-
getDigestToSign
protected byte[] getDigestToSign(CadesSignature signature, String digestAlgName) throws NoSuchAlgorithmException, PbadException - Specified by:
getDigestToSignin classTimestampCreator<CadesInformation, org.bouncycastle.asn1.cms.Attribute, CadesSignature>- Throws:
NoSuchAlgorithmExceptionPbadException
-
createAttribute
protected SignatureAttribute<org.bouncycastle.asn1.cms.Attribute> createAttribute(byte[] encodedAttribute) throws CadesSignatureException, SignatureAttributeException - Specified by:
createAttributein classTimestampCreator<CadesInformation, org.bouncycastle.asn1.cms.Attribute, CadesSignature>- Throws:
CadesSignatureExceptionSignatureAttributeException
-