Stay organized with collections
Save and categorize content based on your preferences.
ProtectionParameter
interface ProtectionParameter
A marker interface for keystore protection parameters.
The information stored in a ProtectionParameter object protects the contents of a keystore. For example, protection parameters may be used to check the integrity of keystore data, or to protect the confidentiality of sensitive keystore data (such as a PrivateKey).
Summary
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,["# KeyStore.ProtectionParameter\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nProtectionParameter\n===================\n\n```\ninterface ProtectionParameter\n```\n\n|-------------------------------------------------|\n| [java.security.KeyStore.ProtectionParameter](#) |\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [KeyProtection](../../android/security/keystore/KeyProtection.html#), [KeyStore.CallbackHandlerProtection](/reference/kotlin/java/security/KeyStore.CallbackHandlerProtection), [KeyStore.PasswordProtection](/reference/kotlin/java/security/KeyStore.PasswordProtection), [KeyStoreParameter](../../android/security/KeyStoreParameter.html#) |----------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [KeyProtection](../../android/security/keystore/KeyProtection.html#) | Specification of how a key or key pair is secured when imported into the [Android Keystore system](https://developer.android.com/training/articles/keystore.html). | | [KeyStore.CallbackHandlerProtection](/reference/kotlin/java/security/KeyStore.CallbackHandlerProtection) | A ProtectionParameter encapsulating a CallbackHandler. | | [KeyStore.PasswordProtection](/reference/kotlin/java/security/KeyStore.PasswordProtection) | A password-based implementation of `ProtectionParameter`. | | [KeyStoreParameter](../../android/security/KeyStoreParameter.html#) | This provides the optional parameters that can be specified for `KeyStore` entries that work with [Android KeyStore facility](https://developer.android.com/training/articles/keystore.html). | |\n\nA marker interface for keystore protection parameters.\n\nThe information stored in a `ProtectionParameter` object protects the contents of a keystore. For example, protection parameters may be used to check the integrity of keystore data, or to protect the confidentiality of sensitive keystore data (such as a `PrivateKey`).\n\nSummary\n-------"]]