Class CertificateValuesCreator
java.lang.Object
br.ufsc.labsec.signature.signer.UnsignedAttributeCreator<JadesInformation, JadesAttrCommonStruct, JadesSignature>
br.ufsc.labsec.signature.signer.creator.CertificateCreator<JadesInformation, JadesAttrCommonStruct, JadesSignature>
br.ufsc.labsec.signature.signer.creator.CertificateInfoCreator<JadesInformation, JadesAttrCommonStruct, JadesSignature>
br.ufsc.labsec.signature.conformanceVerifier.jades.creator.unsigned.CertificateValuesCreator
public class CertificateValuesCreator
extends CertificateInfoCreator<JadesInformation, JadesAttrCommonStruct, JadesSignature>
-
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 JadesInformation> fileToBeSigned, JadesSignature signature) otherCertificatesToInclude(CertificateCollection certificateCollection, List<? extends Certificate> pathWithAnchor, FileToBeSigned<? extends JadesInformation> fileToBeSigned, JadesSignature signature) Methods inherited from class CertificateCreator
getAttributeMethods inherited from class UnsignedAttributeCreator
createRevocationData, isSigned
-
Constructor Details
-
CertificateValuesCreator
Construtor- Parameters:
component- Componente de assinatura JAdES
-
-
Method Details
-
otherCertificatesToExclude
public List<Certificate> otherCertificatesToExclude(CertificateCollection certificateCollection, FileToBeSigned<? extends JadesInformation> fileToBeSigned, JadesSignature signature) throws SignatureAttributeException - Specified by:
otherCertificatesToExcludein classCertificateCreator<JadesInformation, JadesAttrCommonStruct, JadesSignature>- Throws:
SignatureAttributeException
-
otherCertificatesToInclude
public Set<Certificate> otherCertificatesToInclude(CertificateCollection certificateCollection, List<? extends Certificate> pathWithAnchor, FileToBeSigned<? extends JadesInformation> fileToBeSigned, JadesSignature signature) throws SignatureAttributeException - Specified by:
otherCertificatesToIncludein classCertificateCreator<JadesInformation, JadesAttrCommonStruct, JadesSignature>- Throws:
SignatureAttributeException
-
constructAttribute
public SignatureAttribute<JadesAttrCommonStruct> constructAttribute(Component component, Collection<Certificate> certificates) throws SignatureAttributeException - Specified by:
constructAttributein classCertificateCreator<JadesInformation, JadesAttrCommonStruct, JadesSignature>- Throws:
SignatureAttributeException
-