Class AlternateUrlsSourceAdapter<T extends RevocationToken>

    • Method Detail

      • getRevocationToken

        public T getRevocationToken​(CertificateToken certificateToken,
                                    CertificateToken issuerCertificateToken)
        Description copied from interface: RevocationSource
        This method retrieves a RevocationToken for the certificateToken
        Specified by:
        getRevocationToken in interface RevocationSource<T extends RevocationToken>
        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
      • getRevocationToken

        public T getRevocationToken​(CertificateToken certificateToken,
                                    CertificateToken issuerCertificateToken,
                                    List<String> alternativeUrls)
        Description copied from interface: RevocationSourceAlternateUrlsSupport
        Gets an RevocationToken for the given certificate / issuer's certificate couple. The coherence between the response and the request is checked.
        Specified by:
        getRevocationToken in interface RevocationSourceAlternateUrlsSupport<T extends RevocationToken>
        Parameters:
        certificateToken - The CertificateToken for which the request is made
        issuerCertificateToken - The CertificateToken which is the issuer of the certificateToken
        alternativeUrls - The list of alternative urls to call
        Returns:
        RevocationToken containing information about the validity of the cert