CertPathTrustManagerParameters
open class CertPathTrustManagerParameters : ManagerFactoryParameters
kotlin.Any | |
↳ | javax.net.ssl.CertPathTrustManagerParameters |
A wrapper for CertPathParameters. This class is used to pass validation settings to CertPath based TrustManager
s using the TrustManagerFactory.init()
method.
Instances of this class are immutable.
Summary
Public constructors | |
---|---|
CertPathTrustManagerParameters(parameters: CertPathParameters!) Construct new CertPathTrustManagerParameters from the specified parameters. |
Public methods | |
---|---|
open CertPathParameters! |
Return a clone of the CertPathParameters encapsulated by this class. |
Public constructors
CertPathTrustManagerParameters
CertPathTrustManagerParameters(parameters: CertPathParameters!)
Construct new CertPathTrustManagerParameters from the specified parameters. The parameters are cloned to protect against subsequent modification.
Parameters | |
---|---|
parameters |
CertPathParameters!: the CertPathParameters to be used |
Exceptions | |
---|---|
java.lang.NullPointerException |
if parameters is null |
Public methods
getParameters
open fun getParameters(): CertPathParameters!
Return a clone of the CertPathParameters encapsulated by this class.
Return | |
---|---|
CertPathParameters! |
a clone of the CertPathParameters encapsulated by this class. |