Class SigningCertificateCreator
java.lang.Object
br.ufsc.labsec.signature.signer.SignedAttributeCreator<JadesInformation, JadesAttrCommonStruct>
br.ufsc.labsec.signature.conformanceVerifier.jades.creator.signed.SigningCertificateCreator
- Direct Known Subclasses:
SigningCertificateV2Creator, SigningCertificatex5tCreator, SigningCertificatex5toCreator, SigningCertificatex5tS256Creator
public abstract class SigningCertificateCreator
extends SignedAttributeCreator<JadesInformation, JadesAttrCommonStruct>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSigningCertificateCreator(JadesSignatureComponent component, String digestAlg, String identifier) Construtor -
Method Summary
Modifier and TypeMethodDescription<Information extends JadesInformation>
SignatureAttribute<JadesAttrCommonStruct> getAttribute(FileToBeSigned<Information> fileToBeSigned) Retorna o atributogetCertificates(FileToBeSigned<? extends JadesInformation> fileToBeSigned) Methods inherited from class SignedAttributeCreator
isSigned
-
Field Details
-
component
-
-
Constructor Details
-
SigningCertificateCreator
public SigningCertificateCreator(JadesSignatureComponent component, String digestAlg, String identifier) Construtor- Parameters:
component- Componente de assinatura Jades
-
-
Method Details
-
getCertificates
public List<Certificate> getCertificates(FileToBeSigned<? extends JadesInformation> fileToBeSigned) throws CertificateException - Throws:
CertificateException
-
getAttribute
public <Information extends JadesInformation> SignatureAttribute<JadesAttrCommonStruct> getAttribute(FileToBeSigned<Information> fileToBeSigned) throws SignatureAttributeException Description copied from class:SignedAttributeCreatorRetorna o atributo- Specified by:
getAttributein classSignedAttributeCreator<JadesInformation, JadesAttrCommonStruct>- Returns:
- Um objeto do atributo
- Throws:
SignatureAttributeException- Exceção caso ocorra algum erro durante a construção do objeto
-