Package org.conscrypt
Class TrustedCertificateIndex
java.lang.Object
org.conscrypt.TrustedCertificateIndex
Indexes
TrustAnchor instances so they can be found in O(1)
time instead of O(N).-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static TrustAnchorfindBySubjectAndPublicKey(X509Certificate cert, Collection<TrustAnchor> anchors) voidindex(TrustAnchor anchor) index(X509Certificate cert) private voidindex(Set<TrustAnchor> anchors) voidreset()voidreset(Set<TrustAnchor> anchors)
-
Field Details
-
subjectToTrustAnchors
-
-
Constructor Details
-
TrustedCertificateIndex
public TrustedCertificateIndex() -
TrustedCertificateIndex
-
-
Method Details
-
index
-
index
-
index
-
reset
public void reset() -
reset
-
findByIssuerAndSignature
-
findBySubjectAndPublicKey
-
findBySubjectAndPublicKey
private static TrustAnchor findBySubjectAndPublicKey(X509Certificate cert, Collection<TrustAnchor> anchors) -
findAllByIssuerAndSignature
-