Class RevocationData


  • public class RevocationData
    extends Object
    Container class for PKI revocation data.
    • Constructor Detail

      • RevocationData

        public RevocationData()
        Default constructor.
    • Method Detail

      • addCRL

        public void addCRL​(byte[] encodedCrl)
        Adds a CRL to this revocation data set.
        Parameters:
        encodedCrl -
      • addCRL

        public void addCRL​(X509CRL crl)
        Adds a CRL to this revocation data set.
        Parameters:
        crl -
      • addOCSP

        public void addOCSP​(byte[] encodedOcsp)
        Adds an OCSP response to this revocation data set.
        Parameters:
        encodedOcsp -
      • getCRLs

        public List<byte[]> getCRLs()
        Gives back a list of all CRLs.
        Returns:
        a list of all CRLs
      • getOCSPs

        public List<byte[]> getOCSPs()
        Gives back a list of all OCSP responses.
        Returns:
        a list of all OCSP response
      • hasOCSPs

        public boolean hasOCSPs()
        Returns true if this revocation data set holds OCSP responses.
        Returns:
        true if this revocation data set holds OCSP responses.
      • hasCRLs

        public boolean hasCRLs()
        Returns true if this revocation data set holds CRLs.
        Returns:
        true if this revocation data set holds CRLs.
      • hasRevocationDataEntries

        public boolean hasRevocationDataEntries()
        Returns true if this revocation data is not empty.
        Returns:
        true if this revocation data is not empty.