Interface ICrlClient

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Collection<byte[]> getEncoded​(java.security.cert.X509Certificate checkCert, java.lang.String url)
      Gets an encoded byte array.
    • Method Detail

      • getEncoded

        java.util.Collection<byte[]> getEncoded​(java.security.cert.X509Certificate checkCert,
                                                java.lang.String url)
                                         throws java.security.cert.CertificateEncodingException
        Gets an encoded byte array.
        Parameters:
        checkCert - The certificate which a CRL URL can be obtained from.
        url - A CRL url if you don't want to obtain it from the certificate.
        Returns:
        A collection of byte array each representing a crl. It may return null or an empty collection.
        Throws:
        java.security.cert.CertificateEncodingException - if an encoding error occurs in X509Certificate.