Class CertificateValuesCreator
java.lang.Object
br.ufsc.labsec.signature.signer.UnsignedAttributeCreator<XadesInformation, Element, XadesSignature>
br.ufsc.labsec.signature.signer.creator.CertificateCreator<XadesInformation, Element, XadesSignature>
br.ufsc.labsec.signature.signer.creator.CertificateInfoCreator<XadesInformation, Element, XadesSignature>
br.ufsc.labsec.signature.conformanceVerifier.xades.creator.unsigned.CertificateValuesCreator
public class CertificateValuesCreator
extends CertificateInfoCreator<XadesInformation, Element, XadesSignature>
Esta classe é responsável pela criação do atributo CertValues
-
Nested Class Summary
-
Field Summary
Fields inherited from class CertificateCreator
WRONG_ATTRIBUTE_ORDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconstructAttribute(Component component, Collection<Certificate> certificates) otherCertificatesToExclude(CertificateCollection certificateCollection, FileToBeSigned<? extends XadesInformation> fileToBeSigned, XadesSignature signature) otherCertificatesToInclude(CertificateCollection certificateCollection, List<? extends Certificate> pathWithAnchor, FileToBeSigned<? extends XadesInformation> fileToBeSigned, XadesSignature signature) Methods inherited from class CertificateCreator
getAttributeMethods inherited from class UnsignedAttributeCreator
createRevocationData, isSigned
-
Constructor Details
-
CertificateValuesCreator
Construtor- Parameters:
component- Assinador XAdES
-
-
Method Details
-
otherCertificatesToExclude
public List<Certificate> otherCertificatesToExclude(CertificateCollection certificateCollection, FileToBeSigned<? extends XadesInformation> fileToBeSigned, XadesSignature signature) throws SignatureAttributeException - Specified by:
otherCertificatesToExcludein classCertificateCreator<XadesInformation, Element, XadesSignature>- Throws:
SignatureAttributeException
-
otherCertificatesToInclude
public Set<Certificate> otherCertificatesToInclude(CertificateCollection certificateCollection, List<? extends Certificate> pathWithAnchor, FileToBeSigned<? extends XadesInformation> fileToBeSigned, XadesSignature signature) throws SignatureAttributeException - Specified by:
otherCertificatesToIncludein classCertificateCreator<XadesInformation, Element, XadesSignature>- Throws:
SignatureAttributeException
-
constructAttribute
public SignatureAttribute<Element> constructAttribute(Component component, Collection<Certificate> certificates) throws SignatureAttributeException - Specified by:
constructAttributein classCertificateCreator<XadesInformation, Element, XadesSignature>- Throws:
SignatureAttributeException
-