Class IdAaEtsAttrCertificateRefsCreator
java.lang.Object
br.ufsc.labsec.signature.signer.UnsignedAttributeCreator<CadesInformation, org.bouncycastle.asn1.cms.Attribute, CadesSignature>
br.ufsc.labsec.signature.signer.creator.AttributeCertificateRefsCreator<CadesInformation, org.bouncycastle.asn1.cms.Attribute, CadesSignature>
br.ufsc.labsec.signature.conformanceVerifier.cades.creator.unsigned.IdAaEtsAttrCertificateRefsCreator
public class IdAaEtsAttrCertificateRefsCreator
extends AttributeCertificateRefsCreator<CadesInformation, org.bouncycastle.asn1.cms.Attribute, CadesSignature>
Esta classe é responsável pela criação do atributo IdAaEtsAttrCertificateRefsCreator
-
Nested Class Summary
Nested classes/interfaces inherited from class AttributeCertificateRefsCreator
AttributeCertificateRefsCreator.CERTIFICATES_TO_INCLUDE -
Constructor Summary
ConstructorsConstructorDescriptionConstrutor -
Method Summary
Modifier and TypeMethodDescriptionprotected SignatureAttribute<org.bouncycastle.asn1.cms.Attribute> constructAttribute(List<Certificate> certificates, String hashAlgorithmOID) protected List<Certificate> otherCertificatesToExclude(AttributeCertificateCollection certificateCollection, List<? extends Certificate> certificatesInPath, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature, List<Certificate> certificates) protected List<Certificate> otherCertificatesToInclude(AttributeCertificateCollection certificateCollection, List<? extends Certificate> pathWithAnchor, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature, List<Certificate> certificates) Methods inherited from class AttributeCertificateRefsCreator
getAttributeMethods inherited from class UnsignedAttributeCreator
createRevocationData, isSigned
-
Constructor Details
-
IdAaEtsAttrCertificateRefsCreator
Construtor- Parameters:
component- Componente de assinatura CAdES
-
-
Method Details
-
constructAttribute
protected SignatureAttribute<org.bouncycastle.asn1.cms.Attribute> constructAttribute(List<Certificate> certificates, String hashAlgorithmOID) throws SignatureAttributeException - Specified by:
constructAttributein classAttributeCertificateRefsCreator<CadesInformation, org.bouncycastle.asn1.cms.Attribute, CadesSignature>- Throws:
SignatureAttributeException
-
otherCertificatesToExclude
protected List<Certificate> otherCertificatesToExclude(AttributeCertificateCollection certificateCollection, List<? extends Certificate> certificatesInPath, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature, List<Certificate> certificates) throws SignatureAttributeException - Specified by:
otherCertificatesToExcludein classAttributeCertificateRefsCreator<CadesInformation, org.bouncycastle.asn1.cms.Attribute, CadesSignature>- Throws:
SignatureAttributeException
-
otherCertificatesToInclude
protected List<Certificate> otherCertificatesToInclude(AttributeCertificateCollection certificateCollection, List<? extends Certificate> pathWithAnchor, FileToBeSigned<? extends CadesInformation> fileToBeSigned, CadesSignature signature, List<Certificate> certificates) throws SignatureAttributeException - Specified by:
otherCertificatesToIncludein classAttributeCertificateRefsCreator<CadesInformation, org.bouncycastle.asn1.cms.Attribute, CadesSignature>- Throws:
SignatureAttributeException
-