Class TrustSource
java.lang.Object
com.couchbase.columnar.client.java.internal.TrustSource
Either a
TrustManagerFactory XOR a list of X509Certificate.-
Method Summary
Modifier and TypeMethodDescription@Nullable List<X509Certificate>static TrustSourceReturns a new instance that trusts the certificates in the specified PEM file.static TrustSourcefrom(List<X509Certificate> certificates) Returns a new instance that trusts the specified certificates.static TrustSourcefrom(TrustManagerFactory factory) Returns a new instance backed by the specified factory.static TrustSourcefromJvm()Returns a new instance that trusts the certificate authorities trusted by this Java runtime environment.static TrustSourceinsecure()Returns a new instance that does not verify server certificates.toString()@Nullable TrustManagerFactory
-
Method Details
-
fromJvm
Returns a new instance that trusts the certificate authorities trusted by this Java runtime environment. -
from
Returns a new instance that trusts the certificates in the specified PEM file. -
from
Returns a new instance that trusts the specified certificates. -
from
Returns a new instance backed by the specified factory. -
insecure
Returns a new instance that does not verify server certificates. -
certificates
-
trustManagerFactory
-
toString
-