Stay organized with collections
Save and categorize content based on your preferences.
CertPathTrustManagerParameters
open class CertPathTrustManagerParameters : ManagerFactoryParameters
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 |
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.
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.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# CertPathTrustManagerParameters\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nCertPathTrustManagerParameters\n==============================\n\n```\nopen class CertPathTrustManagerParameters : ManagerFactoryParameters\n```\n\n|---|---------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [javax.net.ssl.CertPathTrustManagerParameters](#) |\n\nA wrapper for CertPathParameters. This class is used to pass validation settings to CertPath based [TrustManager](/reference/kotlin/javax/net/ssl/TrustManager)s using the [TrustManagerFactory.init()](/reference/kotlin/javax/net/ssl/TrustManagerFactory#init(javax.net.ssl.ManagerFactoryParameters)) method.\n\nInstances of this class are immutable.\n\nSummary\n-------\n\n| Public constructors ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [CertPathTrustManagerParameters](#CertPathTrustManagerParameters(java.security.cert.CertPathParameters))`(`parameters:` `[CertPathParameters](../../../java/security/cert/CertPathParameters.html#)!`)` Construct new CertPathTrustManagerParameters from the specified parameters. |\n\n| Public methods ||\n|----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|\n| open [CertPathParameters](../../../java/security/cert/CertPathParameters.html#)! | [getParameters](#getParameters())`()` Return a clone of the CertPathParameters encapsulated by this class. |\n\nPublic constructors\n-------------------\n\n### CertPathTrustManagerParameters\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nCertPathTrustManagerParameters(parameters: CertPathParameters!)\n```\n\nConstruct new CertPathTrustManagerParameters from the specified parameters. The parameters are cloned to protect against subsequent modification.\n\n| Parameters ||\n|--------------|----------------------------------------------------------------------------------------------------------------|\n| `parameters` | [CertPathParameters](../../../java/security/cert/CertPathParameters.html#)!: the CertPathParameters to be used |\n\n| Exceptions ||\n|----------------------------------|-----------------------|\n| `java.lang.NullPointerException` | if parameters is null |\n\nPublic methods\n--------------\n\n### getParameters\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getParameters(): CertPathParameters!\n```\n\nReturn a clone of the CertPathParameters encapsulated by this class.\n\n| Return ||\n|-----------------------------------------------------------------------------|---------------------------------------------------------------|\n| [CertPathParameters](../../../java/security/cert/CertPathParameters.html#)! | a clone of the CertPathParameters encapsulated by this class. |"]]