-
- All Implemented Interfaces:
-
com.mobwith.httpmodule.internal.tls.TrustRootIndex
public final class BasicTrustRootIndex implements TrustRootIndex
A simple index that of trusted root certificates that have been loaded into memory.
-
-
Constructor Summary
Constructors Constructor Description BasicTrustRootIndex(Array<X509Certificate> caCerts)
-
Method Summary
Modifier and Type Method Description X509CertificatefindByIssuerAndSignature(X509Certificate cert)Returns the trusted CA certificate that signed {@code cert}.booleanequals(Object other)inthashCode()-
-
Constructor Detail
-
BasicTrustRootIndex
BasicTrustRootIndex(Array<X509Certificate> caCerts)
-
-
Method Detail
-
findByIssuerAndSignature
X509Certificate findByIssuerAndSignature(X509Certificate cert)
Returns the trusted CA certificate that signed
{@code cert}.
-
hashCode
int hashCode()
-
-
-
-