Package org.conscrypt.ct
Class CTVerifier
java.lang.Object
org.conscrypt.ct.CTVerifier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionverifySignedCertificateTimestamps(List<X509Certificate> chain, byte[] tlsData, byte[] ocspData) verifySignedCertificateTimestamps(OpenSSLX509Certificate[] chain, byte[] tlsData, byte[] ocspData) Verify a certificate chain for transparency.
-
Constructor Details
-
CTVerifier
-
-
Method Details
-
verifySignedCertificateTimestamps
public CTVerificationResult verifySignedCertificateTimestamps(List<X509Certificate> chain, byte[] tlsData, byte[] ocspData) throws CertificateEncodingException - Throws:
CertificateEncodingException
-
verifySignedCertificateTimestamps
public CTVerificationResult verifySignedCertificateTimestamps(OpenSSLX509Certificate[] chain, byte[] tlsData, byte[] ocspData) throws CertificateEncodingException Verify a certificate chain for transparency. Signed timestamps are extracted from the leaf certificate, TLS extension, and stapled ocsp response, and verified against the list of known logs.- Throws:
IllegalArgumentException- if the chain is emptyCertificateEncodingException
-