Package | Description |
---|---|
java.security |
Provides the classes and interfaces for the security framework.
|
Modifier and Type | Class and Description |
---|---|
static class |
KeyStore.CallbackHandlerProtection
A ProtectionParameter encapsulating a CallbackHandler.
|
static class |
KeyStore.PasswordProtection
A password-based implementation of
ProtectionParameter . |
Modifier and Type | Method and Description |
---|---|
KeyStore.ProtectionParameter |
DomainLoadStoreParameter.getProtectionParameter()
Gets the keystore protection parameters for this domain.
|
KeyStore.ProtectionParameter |
KeyStore.LoadStoreParameter.getProtectionParameter()
Gets the parameter used to protect keystore data.
|
abstract KeyStore.ProtectionParameter |
KeyStore.Builder.getProtectionParameter(String alias)
Returns the ProtectionParameters that should be used to obtain
the
Entry with the given alias. |
Modifier and Type | Method and Description |
---|---|
Map<String,KeyStore.ProtectionParameter> |
DomainLoadStoreParameter.getProtectionParams()
Gets the keystore protection parameters for keystores in this
domain.
|
Modifier and Type | Method and Description |
---|---|
KeyStore.Entry |
KeyStoreSpi.engineGetEntry(String alias,
KeyStore.ProtectionParameter protParam)
Gets a
KeyStore.Entry for the specified alias
with the specified protection parameter. |
void |
KeyStoreSpi.engineSetEntry(String alias,
KeyStore.Entry entry,
KeyStore.ProtectionParameter protParam)
Saves a
KeyStore.Entry under the specified alias. |
KeyStore.Entry |
KeyStore.getEntry(String alias,
KeyStore.ProtectionParameter protParam)
Gets a keystore
Entry for the specified alias
with the specified protection parameter. |
static KeyStore.Builder |
KeyStore.Builder.newInstance(KeyStore keyStore,
KeyStore.ProtectionParameter protectionParameter)
Returns a new Builder that encapsulates the given KeyStore.
|
static KeyStore.Builder |
KeyStore.Builder.newInstance(String type,
Provider provider,
File file,
KeyStore.ProtectionParameter protection)
Returns a new Builder object.
|
static KeyStore.Builder |
KeyStore.Builder.newInstance(String type,
Provider provider,
KeyStore.ProtectionParameter protection)
Returns a new Builder object.
|
void |
KeyStore.setEntry(String alias,
KeyStore.Entry entry,
KeyStore.ProtectionParameter protParam)
Saves a keystore
Entry under the specified alias. |
Constructor and Description |
---|
DomainLoadStoreParameter(URI configuration,
Map<String,KeyStore.ProtectionParameter> protectionParams)
Constructs a DomainLoadStoreParameter for a keystore domain with
the parameters used to protect keystore data.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.