Stay organized with collections
Save and categorize content based on your preferences.
KeyStore.ProtectionParameter
public
static
interface
KeyStore.ProtectionParameter
java.security.KeyStore.ProtectionParameter
|
Known indirect subclasses
|
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
).
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# KeyStore.ProtectionParameter\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: \n\nKeyStore.ProtectionParameter\n============================\n\n\n`\npublic\nstatic\n\n\ninterface\nKeyStore.ProtectionParameter\n`\n\n\n`\n\n\n`\n\n|--------------------------------------------|\n| java.security.KeyStore.ProtectionParameter |\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [KeyProtection](/reference/android/security/keystore/KeyProtection), [KeyStore.CallbackHandlerProtection](/reference/java/security/KeyStore.CallbackHandlerProtection), [KeyStore.PasswordProtection](/reference/java/security/KeyStore.PasswordProtection), [KeyStoreParameter](/reference/android/security/KeyStoreParameter) |---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------| | [KeyProtection](/reference/android/security/keystore/KeyProtection) | Specification of how a key or key pair is secured when imported into the [Android Keystore system](/training/articles/keystore). | | [KeyStore.CallbackHandlerProtection](/reference/java/security/KeyStore.CallbackHandlerProtection) | A ProtectionParameter encapsulating a CallbackHandler. | | [KeyStore.PasswordProtection](/reference/java/security/KeyStore.PasswordProtection) | A password-based implementation of `ProtectionParameter`. | | [KeyStoreParameter](/reference/android/security/KeyStoreParameter) | *This class was deprecated in API level 23. Use [KeyProtection](/reference/android/security/keystore/KeyProtection) instead.* | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nA marker interface for keystore protection parameters.\n\nThe information stored in a `ProtectionParameter`\nobject protects the contents of a keystore.\nFor example, protection parameters may be used to check\nthe integrity of keystore data, or to protect the\nconfidentiality of sensitive keystore data\n(such as a `PrivateKey`)."]]