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 TrustAnchor
findBySubjectAndPublicKey
(X509Certificate cert, Collection<TrustAnchor> anchors) void
index
(TrustAnchor anchor) index
(X509Certificate cert) private void
index
(Set<TrustAnchor> anchors) void
reset()
void
reset
(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
-