Class SignatureIdentityInformation

java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.AbstractSignatureIdentityInformation
br.ufsc.labsec.signature.conformanceVerifier.xades.SignatureIdentityInformation
All Implemented Interfaces:
AttributeCertificateCollection, CertificateCollection, CRLRevocationInformation, OCSPRevocationInformation

public class SignatureIdentityInformation
extends AbstractSignatureIdentityInformation
Esta classe gerencia as listas de certificados e CRLs de uma assinatura XAdES. Implementa CRLRevocationInformation e CertificateCollection.
  • Constructor Details

    • SignatureIdentityInformation

      public SignatureIdentityInformation()
  • Method Details

    • addCertificate

      public void addCertificate​(SignatureObject signature, Certificate certificate)
    • addCertificates

      public void addCertificates​(SignatureObject signature, Collection<Certificate> certificates)
    • getCertificate

      public Optional<Certificate> getCertificate​(SignatureObject signature, org.bouncycastle.util.Selector<Certificate> selector)
    • getCertificates

      public List<Certificate> getCertificates​(SignatureObject signature, org.bouncycastle.util.Selector<Certificate> selector)
    • addCRL

      public void addCRL​(SignatureObject signature, CRL crl)
    • addCRLs

      public void addCRLs​(SignatureObject signature, Collection<CRL> crls)
    • getCRL

      public Optional<CRL> getCRL​(SignatureObject signature, org.bouncycastle.util.Selector<CRL> selector)
    • getCRLs

      public List<CRL> getCRLs​(SignatureObject signature, org.bouncycastle.util.Selector<CRL> selector)
    • addOCSP

      public void addOCSP​(SignatureObject signature, org.bouncycastle.asn1.ocsp.BasicOCSPResponse ocsp)
    • addOCSPs

      public void addOCSPs​(SignatureObject signature, Collection<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> ocsps)
    • getOCSP

      public Optional<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> getOCSP​(SignatureObject signature, org.bouncycastle.util.Selector<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> selector)
    • getOCSPs

      public List<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> getOCSPs​(SignatureObject signature, org.bouncycastle.util.Selector<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> selector)
    • getAttributeCertificate

      public Optional<org.bouncycastle.cert.X509AttributeCertificateHolder> getAttributeCertificate​(SignatureObject signature, org.bouncycastle.util.Selector<org.bouncycastle.cert.X509AttributeCertificateHolder> selector)
    • getAttributeCertificates

      public List<org.bouncycastle.cert.X509AttributeCertificateHolder> getAttributeCertificates​(SignatureObject signature, org.bouncycastle.util.Selector<org.bouncycastle.cert.X509AttributeCertificateHolder> selector)
    • addAttributeCertificate

      public void addAttributeCertificate​(SignatureObject signature, org.bouncycastle.cert.X509AttributeCertificateHolder certificate)
    • addAttributeCertificates

      public void addAttributeCertificates​(SignatureObject signature, Collection<org.bouncycastle.cert.X509AttributeCertificateHolder> certificate)