| Package | Description |
|---|---|
| java.security |
Provides the classes and interfaces for the security framework.
|
| javax.crypto |
Provides the classes and interfaces for cryptographic operations.
|
| javax.crypto.interfaces |
Provides interfaces for Diffie-Hellman keys as defined in RSA Laboratories' PKCS #3.
|
| javax.crypto.spec |
Provides classes and interfaces for key specifications and algorithm parameter specifications.
|
| javax.security.auth.kerberos |
This package contains utility classes related to the Kerberos network authentication protocol.
|
| Modifier and Type | Method and Description |
|---|---|
SecretKey |
KeyStore.SecretKeyEntry.getSecretKey()
Gets the
SecretKey from this entry.
|
| Constructor and Description | |
|---|---|
SecretKeyEntry(SecretKey
Constructs a
SecretKeyEntry with a
SecretKey.
|
|
SecretKeyEntry(SecretKey
Constructs a
SecretKeyEntry with a
SecretKey and associated entry attributes.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract SecretKey |
KeyGeneratorSpi.engineGenerateKey()
Generates a secret key.
|
protected abstract SecretKey |
SecretKeyFactorySpi.engineGenerateSecret(KeySpec
Generates a
SecretKey object from the provided key specification (key material).
|
protected abstract SecretKey |
KeyAgreementSpi.engineGenerateSecret(String
Creates the shared secret and returns it as a secret key object of the requested algorithm type.
|
protected abstract SecretKey |
SecretKeyFactorySpi.engineTranslateKey(SecretKey
Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this secret-key factory.
|
SecretKey |
KeyGenerator.generateKey()
Generates a secret key.
|
SecretKey |
SecretKeyFactory.generateSecret(KeySpec
Generates a
SecretKey object from the provided key specification (key material).
|
SecretKey |
KeyAgreement.generateSecret(String
Creates the shared secret and returns it as a
SecretKey object of the specified algorithm.
|
SecretKey |
SecretKeyFactory.translateKey(SecretKey
Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this secret-key factory.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract KeySpec |
SecretKeyFactorySpi.engineGetKeySpec(SecretKey
Returns a specification (key material) of the given key object in the requested format.
|
protected abstract SecretKey |
SecretKeyFactorySpi.engineTranslateKey(SecretKey
Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this secret-key factory.
|
KeySpec |
SecretKeyFactory.getKeySpec(SecretKey
Returns a specification (key material) of the given key object in the requested format.
|
SecretKey |
SecretKeyFactory.translateKey(SecretKey
Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this secret-key factory.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
PBEKey
The interface to a PBE key.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SecretKeySpec
This class specifies a secret key in a provider-independent fashion.
|
| Modifier and Type | Class and Description |
|---|---|
class |
KerberosKey
This class encapsulates a long term secret key for a Kerberos principal.
|
| Modifier and Type | Method and Description |
|---|---|
SecretKey |
KerberosTicket.getSessionKey()
Returns the session key associated with this ticket.
|