Stay organized with collections
Save and categorize content based on your preferences.
KeyStoreBuilderParameters
open class KeyStoreBuilderParameters : ManagerFactoryParameters
A parameters object for X509KeyManagers that encapsulates a List of KeyStore.Builders.
Summary
Public constructors
KeyStoreBuilderParameters
KeyStoreBuilderParameters(builder: KeyStore.Builder!)
Construct new KeyStoreBuilderParameters from the specified java.security.KeyStore.Builder.
Exceptions |
java.lang.NullPointerException |
if builder is null |
KeyStoreBuilderParameters
KeyStoreBuilderParameters(parameters: MutableList<KeyStore.Builder!>!)
Construct new KeyStoreBuilderParameters from a List of java.security.KeyStore.Builders. Note that the list is cloned to protect against subsequent modification.
Exceptions |
java.lang.NullPointerException |
if parameters is null |
java.lang.IllegalArgumentException |
if parameters is an empty list |
Public methods
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,["# KeyStoreBuilderParameters\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nKeyStoreBuilderParameters\n=========================\n\n```\nopen class KeyStoreBuilderParameters : ManagerFactoryParameters\n```\n\n|---|----------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [javax.net.ssl.KeyStoreBuilderParameters](#) |\n\nA parameters object for X509KeyManagers that encapsulates a List of KeyStore.Builders.\n\nSummary\n-------\n\n| Public constructors ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [KeyStoreBuilderParameters](#KeyStoreBuilderParameters(java.security.KeyStore.Builder))`(`builder:` `[KeyStore.Builder](../../../java/security/KeyStore.Builder.html#)!`)` Construct new KeyStoreBuilderParameters from the specified [java.security.KeyStore.Builder](../../../java/security/KeyStore.Builder.html#). |\n| [KeyStoreBuilderParameters](#KeyStoreBuilderParameters(kotlin.collections.MutableList))`(`parameters:` `[MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\u003c[KeyStore.Builder](../../../java/security/KeyStore.Builder.html#)!\u003e!`)` Construct new KeyStoreBuilderParameters from a List of [java.security.KeyStore.Builder](../../../java/security/KeyStore.Builder.html#)s. |\n\n| Public methods ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| open [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\\\u003c[KeyStore.Builder](../../../java/security/KeyStore.Builder.html#)!\\\u003e! | [getParameters](#getParameters())`()` Return the unmodifiable List of the [java.security.KeyStore.Builder](../../../java/security/KeyStore.Builder.html#)s encapsulated by this object. |\n\nPublic constructors\n-------------------\n\n### KeyStoreBuilderParameters\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nKeyStoreBuilderParameters(builder: KeyStore.Builder!)\n```\n\nConstruct new KeyStoreBuilderParameters from the specified [java.security.KeyStore.Builder](../../../java/security/KeyStore.Builder.html#).\n\n| Parameters ||\n|-----------|----------------------------------------------------------------------------------------|\n| `builder` | [KeyStore.Builder](../../../java/security/KeyStore.Builder.html#)!: the Builder object |\n\n| Exceptions ||\n|----------------------------------|--------------------|\n| `java.lang.NullPointerException` | if builder is null |\n\n### KeyStoreBuilderParameters\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nKeyStoreBuilderParameters(parameters: MutableList\u003cKeyStore.Builder!\u003e!)\n```\n\nConstruct new KeyStoreBuilderParameters from a List of [java.security.KeyStore.Builder](../../../java/security/KeyStore.Builder.html#)s. Note that the list is cloned to protect against subsequent modification.\n\n| Parameters ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parameters` | [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\\\u003c[KeyStore.Builder](../../../java/security/KeyStore.Builder.html#)!\\\u003e!: the List of Builder objects |\n\n| Exceptions ||\n|--------------------------------------|--------------------------------|\n| `java.lang.NullPointerException` | if parameters is null |\n| `java.lang.IllegalArgumentException` | if parameters is an empty list |\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(): MutableList\u003cKeyStore.Builder!\u003e!\n```\n\nReturn the unmodifiable List of the [java.security.KeyStore.Builder](../../../java/security/KeyStore.Builder.html#)s encapsulated by this object.\n\n| Return ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|\n| [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\u003c[KeyStore.Builder](../../../java/security/KeyStore.Builder.html#)!\u003e! | the unmodifiable List of the [java.security.KeyStore.Builder](../../../java/security/KeyStore.Builder.html#)s encapsulated by this object. |"]]