Class CompleteRevocationRefsCreator
java.lang.Object
br.ufsc.labsec.signature.signer.UnsignedAttributeCreator<XadesInformation, Element, XadesSignature>
br.ufsc.labsec.signature.signer.creator.AbstractRevocationCreator<XadesInformation, Element, XadesSignature>
br.ufsc.labsec.signature.signer.creator.RevocationCreator<XadesInformation, Element, XadesSignature>
br.ufsc.labsec.signature.conformanceVerifier.xades.creator.unsigned.CompleteRevocationRefsCreator
public class CompleteRevocationRefsCreator
extends RevocationCreator<XadesInformation, Element, XadesSignature>
Esta classe é responsável pela criação do atributo CompleteRevRefs
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractRevocationCreator
AbstractRevocationCreator.ExclusionRule, AbstractRevocationCreator.IntermediateCertificateRule, AbstractRevocationCreator.RevocationRule, AbstractRevocationCreator.RevocationRules, AbstractRevocationCreator.SigningCertificateRule -
Field Summary
Fields inherited from class AbstractRevocationCreator
attrCertificateCollection, certificateCollection, certificateValidation, component, signaturePolicyInterface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconstructAttribute(Component component, Collection<CRL> crls, Collection<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> ocps, org.bouncycastle.asn1.esf.OtherRevVals otherRevocationValues) otherCRLsToExclude(CRLRevocationInformation crlCollection, FileToBeSigned<? extends XadesInformation> fileToBeSigned, XadesSignature signature) otherCRLsToInclude(CertificateValidation certificateValidation, CertificateCollection certificateCollection, CRLRevocationInformation crlCollection, List<CRL> certpathCRLs, CertPath certPath, Set<TrustAnchor> anchors, FileToBeSigned<? extends XadesInformation> fileToBeSigned, XadesSignature signature) Set<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> otherOCSPsToExclude(OCSPRevocationInformation crlCollection, FileToBeSigned<? extends XadesInformation> fileToBeSigned, XadesSignature signature) Set<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> otherOCSPsToInclude(CertificateValidation certificateValidation, CertificateCollection certificateCollection, OCSPRevocationInformation ocspCollection, List<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> certpathOCSPs, CertPath certpath, Set<TrustAnchor> anchors, FileToBeSigned<? extends XadesInformation> fileToBeSigned, XadesSignature signature) Methods inherited from class RevocationCreator
constructRevocation, getAttributeMethods inherited from class AbstractRevocationCreator
generateRevocation, getResponseObjectMethods inherited from class UnsignedAttributeCreator
createRevocationData, isSigned
-
Constructor Details
-
CompleteRevocationRefsCreator
Construtor- Parameters:
component- Componente de assinatura XAdES
-
-
Method Details
-
otherCRLsToExclude
public Set<CRL> otherCRLsToExclude(CRLRevocationInformation crlCollection, FileToBeSigned<? extends XadesInformation> fileToBeSigned, XadesSignature signature) throws SignatureAttributeException - Specified by:
otherCRLsToExcludein classAbstractRevocationCreator<XadesInformation, Element, XadesSignature>- Throws:
SignatureAttributeException
-
otherOCSPsToExclude
public Set<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> otherOCSPsToExclude(OCSPRevocationInformation crlCollection, FileToBeSigned<? extends XadesInformation> fileToBeSigned, XadesSignature signature) throws SignatureAttributeException - Specified by:
otherOCSPsToExcludein classAbstractRevocationCreator<XadesInformation, Element, XadesSignature>- Throws:
SignatureAttributeException
-
otherCRLsToInclude
public Set<CRL> otherCRLsToInclude(CertificateValidation certificateValidation, CertificateCollection certificateCollection, CRLRevocationInformation crlCollection, List<CRL> certpathCRLs, CertPath certPath, Set<TrustAnchor> anchors, FileToBeSigned<? extends XadesInformation> fileToBeSigned, XadesSignature signature) throws SignatureAttributeException - Specified by:
otherCRLsToIncludein classAbstractRevocationCreator<XadesInformation, Element, XadesSignature>- Throws:
SignatureAttributeException
-
otherOCSPsToInclude
public Set<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> otherOCSPsToInclude(CertificateValidation certificateValidation, CertificateCollection certificateCollection, OCSPRevocationInformation ocspCollection, List<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> certpathOCSPs, CertPath certpath, Set<TrustAnchor> anchors, FileToBeSigned<? extends XadesInformation> fileToBeSigned, XadesSignature signature) throws SignatureAttributeException - Specified by:
otherOCSPsToIncludein classAbstractRevocationCreator<XadesInformation, Element, XadesSignature>- Throws:
SignatureAttributeException
-
constructAttribute
public SignatureAttribute<Element> constructAttribute(Component component, Collection<CRL> crls, Collection<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> ocps, org.bouncycastle.asn1.esf.OtherRevVals otherRevocationValues) throws SignatureAttributeException - Specified by:
constructAttributein classAbstractRevocationCreator<XadesInformation, Element, XadesSignature>- Throws:
SignatureAttributeException
-