Package org.conscrypt
Class TrustedCertificateIndex
java.lang.Object
org.conscrypt.TrustedCertificateIndex
public final class TrustedCertificateIndex extends Object
Indexes
TrustAnchor instances so they can be found in O(1)
time instead of O(N).-
Constructor Summary
Constructors Constructor Description TrustedCertificateIndex()TrustedCertificateIndex(Set<TrustAnchor> anchors) -
Method Summary
Modifier and Type Method Description TrustAnchorfindByIssuerAndSignature(X509Certificate cert)TrustAnchorfindBySubjectAndPublicKey(X509Certificate cert)voidindex(TrustAnchor anchor)TrustAnchorindex(X509Certificate cert)voidreset()voidreset(Set<TrustAnchor> anchors)
-
Constructor Details
-
TrustedCertificateIndex
public TrustedCertificateIndex() -
TrustedCertificateIndex
-
-
Method Details
-
index
-
index
-
reset
public void reset() -
reset
-
findByIssuerAndSignature
-
findBySubjectAndPublicKey
-