KeyStore.SecretKeyEntry
public
static
final
class
KeyStore.SecretKeyEntry
extends Object
implements
KeyStore.Entry
| java.lang.Object | |
| ↳ | java.security.KeyStore.SecretKeyEntry |
A KeyStore entry that holds a SecretKey.
Summary
Public constructors | |
|---|---|
KeyStore.SecretKeyEntry(SecretKey secretKey)
Constructs a |
|
Public methods | |
|---|---|
SecretKey
|
getSecretKey()
Gets the |
String
|
toString()
Returns a string representation of this SecretKeyEntry. |
Inherited methods | |
|---|---|
java.lang.Object
| |
Public constructors
KeyStore.SecretKeyEntry
KeyStore.SecretKeyEntry (SecretKey secretKey)
Constructs a SecretKeyEntry with a
SecretKey.
| Parameters | |
|---|---|
secretKey |
SecretKey:
the SecretKey |
| Throws | |
|---|---|
NullPointerException |
if secretKey
is null
|
Public methods
getSecretKey
SecretKey getSecretKey ()
Gets the SecretKey from this entry.
| Returns | |
|---|---|
SecretKey |
the SecretKey from this entry
|
toString
String toString ()
Returns a string representation of this SecretKeyEntry.
| Returns | |
|---|---|
String |
a string representation of this SecretKeyEntry. |
Interfaces
Classes
- AccessControlContext
- AccessController
- AlgorithmParameterGenerator
- AlgorithmParameterGeneratorSpi
- AlgorithmParameters
- AlgorithmParametersSpi
- AllPermission
- AuthProvider
- BasicPermission
- CodeSigner
- CodeSource
- DigestInputStream
- DigestOutputStream
- GuardedObject
- Identity
- IdentityScope
- KeyFactory
- KeyFactorySpi
- KeyPair
- KeyPairGenerator
- KeyPairGeneratorSpi
- KeyRep
- KeyStore
- KeyStore.Builder
- KeyStore.CallbackHandlerProtection
- KeyStore.PasswordProtection
- KeyStore.PrivateKeyEntry
- KeyStore.SecretKeyEntry
- KeyStore.TrustedCertificateEntry
- KeyStoreSpi
- MessageDigest
- MessageDigestSpi
- Permission
- PermissionCollection
- Permissions
- Policy
- PolicySpi
- ProtectionDomain
- Provider
- Provider.Service
- SecureClassLoader
- SecureRandom
- SecureRandomSpi
- Security
- SecurityPermission
- Signature
- SignatureSpi
- SignedObject
- Signer
- Timestamp
- UnresolvedPermission
Enums
Exceptions
- AccessControlException
- DigestException
- GeneralSecurityException
- InvalidAlgorithmParameterException
- InvalidKeyException
- InvalidParameterException
- KeyException
- KeyManagementException
- KeyStoreException
- NoSuchAlgorithmException
- NoSuchProviderException
- PrivilegedActionException
- ProviderException
- SignatureException
- UnrecoverableEntryException
- UnrecoverableKeyException

