Class IdAaSignatureTimeStampCreator
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.IdAaSignatureTimeStampCreator
public class IdAaSignatureTimeStampCreator
extends TimestampCreator<CadesInformation, org.bouncycastle.asn1.cms.Attribute, CadesSignature>
Esta classe é responsável pela criação do atributo IdAaSignatureTimeStampCreator
-
Constructor Summary
Constructors -
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
-
IdAaSignatureTimeStampCreator
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
-