public final class AndroidTrustRootIndex extends Object implements TrustRootIndex
RealTrustRootIndex
because
it doesn't need to load and index trusted CA certificates.Constructor and Description |
---|
AndroidTrustRootIndex(X509TrustManager trustManager,
Method findByIssuerAndSignatureMethod) |
Modifier and Type | Method and Description |
---|---|
X509Certificate |
findByIssuerAndSignature(X509Certificate cert)
Returns the trusted CA certificate that signed
cert . |
static TrustRootIndex |
get(X509TrustManager trustManager) |
public AndroidTrustRootIndex(X509TrustManager trustManager, Method findByIssuerAndSignatureMethod)
public X509Certificate findByIssuerAndSignature(X509Certificate cert)
TrustRootIndex
cert
.findByIssuerAndSignature
in interface TrustRootIndex
public static TrustRootIndex get(X509TrustManager trustManager)
Copyright © 2017. All Rights Reserved.