Package org.conscrypt.ct
Class CTVerifier
- java.lang.Object
-
- org.conscrypt.ct.CTVerifier
-
public class CTVerifier extends Object
-
-
Constructor Summary
Constructors Constructor Description CTVerifier(CTLogStore store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CTVerificationResultverifySignedCertificateTimestamps(OpenSSLX509Certificate[] chain, byte[] tlsData, byte[] ocspData)Verify a certificate chain for transparency.
-
-
-
Constructor Detail
-
CTVerifier
public CTVerifier(CTLogStore store)
-
-
Method Detail
-
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
-
-