Package | Description |
---|---|
java.security |
Provides the classes and interfaces for the security framework.
|
Modifier and Type | Class and Description |
---|---|
static class |
KeyStore.PrivateKeyEntry
A
KeyStore entry that holds a PrivateKey
and corresponding certificate chain. |
static class |
KeyStore.SecretKeyEntry
A
KeyStore entry that holds a SecretKey . |
static class |
KeyStore.TrustedCertificateEntry
A
KeyStore entry that holds a trusted
Certificate . |
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. |
KeyStore.Entry |
KeyStore.getEntry(String alias,
KeyStore.ProtectionParameter protParam)
Gets a keystore
Entry for the specified alias
with the specified protection parameter. |
Modifier and Type | Method and Description |
---|---|
void |
KeyStoreSpi.engineSetEntry(String alias,
KeyStore.Entry entry,
KeyStore.ProtectionParameter protParam)
Saves a
KeyStore.Entry under the specified alias. |
void |
KeyStore.setEntry(String alias,
KeyStore.Entry entry,
KeyStore.ProtectionParameter protParam)
Saves a keystore
Entry under the specified alias. |
Modifier and Type | Method and Description |
---|---|
boolean |
KeyStoreSpi.engineEntryInstanceOf(String alias,
Class<? extends KeyStore.Entry> entryClass)
Determines if the keystore
Entry for the specified
alias is an instance or subclass of the specified
entryClass . |
boolean |
KeyStore.entryInstanceOf(String alias,
Class<? extends KeyStore.Entry> entryClass)
Determines if the keystore
Entry for the specified
alias is an instance or subclass of the specified
entryClass . |
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.