Class SignatureTimeStampCreator
java.lang.Object
br.ufsc.labsec.signature.signer.UnsignedAttributeCreator<XadesInformation, Element, XadesSignature>
br.ufsc.labsec.signature.signer.creator.TimestampCreator<XadesInformation, Element, XadesSignature>
br.ufsc.labsec.signature.conformanceVerifier.xades.creator.unsigned.SignatureTimeStampCreator
public class SignatureTimeStampCreator
extends TimestampCreator<XadesInformation, Element, XadesSignature>
Esta classe é responsável pela criação do atributo SignatureTimeStamp
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SignatureAttribute<Element> createAttribute(byte[] encodedAttribute) protected byte[]getDigestToSign(XadesSignature signature, String digestAlgName) Methods inherited from class TimestampCreator
getAttributeMethods inherited from class UnsignedAttributeCreator
createRevocationData, isSigned
-
Constructor Details
-
SignatureTimeStampCreator
Construtor- Parameters:
component- Componente de assinatura XAdES
-
-
Method Details
-
getDigestToSign
protected byte[] getDigestToSign(XadesSignature signature, String digestAlgName) throws NoSuchAlgorithmException, PbadException - Specified by:
getDigestToSignin classTimestampCreator<XadesInformation, Element, XadesSignature>- Throws:
NoSuchAlgorithmExceptionPbadException
-
createAttribute
protected SignatureAttribute<Element> createAttribute(byte[] encodedAttribute) throws CadesSignatureException - Specified by:
createAttributein classTimestampCreator<XadesInformation, Element, XadesSignature>- Throws:
CadesSignatureException
-