Class OfflineOCSPSource

    • Constructor Detail

      • OfflineOCSPSource

        public OfflineOCSPSource()
    • Method Detail

      • getRevocationToken

        public final OCSPToken getRevocationToken​(CertificateToken certificateToken,
                                                  CertificateToken issuerCertificateToken)
        Description copied from interface: RevocationSource
        This method retrieves a RevocationToken for the certificateToken
        Specified by:
        getRevocationToken in interface RevocationSource<OCSPToken>
        Parameters:
        certificateToken - The CertificateToken for which the request is made
        issuerCertificateToken - The CertificateToken which is the issuer of the certificateToken
        Returns:
        an instance of RevocationToken
      • appendContainedOCSPResponses

        public abstract void appendContainedOCSPResponses()
        Retrieves the map of BasicOCSPResp/RevocationOrigin contained in the source and appends result entries to ocspResponses.
      • getOCSPResponsesList

        public Collection<OCSPResponseBinary> getOCSPResponsesList()
        Returns a collection containing all OCSP responses
        Returns:
        unmodifiable collection of OCSPResponses
      • isEmpty

        public boolean isEmpty()
        Checks if the OCSP Source is empty or not (ocspResponseOriginsMap)
        Returns:
        TRUE if the source is empty, FALSE otherwise