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