Uses of Interface
javax.crypto.SecretKey
| Package | Description |
|---|---|
| java.security |
Extensible cryptographic service provider infrastructure (SPI) for using
and defining services such as
Certificates,
Keys, KeyStores, MessageDigests, and Signatures. |
| javax.crypto |
This package provides the classes and interfaces for cryptographic applications implementing algorithms for encryption, decryption, or
key agreement.
|
| javax.crypto.interfaces |
This package provides the interfaces needed to implement the
Diffie-Hellman (DH) key agreement's algorithm as specified by PKCS#3.
|
| javax.crypto.spec |
This package provides the classes and interfaces needed to specify keys
and parameter for encryption.
|
| org.bouncycastle.jcajce.provider.asymmetric.dh | |
| org.bouncycastle.jcajce.provider.asymmetric.ec | |
| org.bouncycastle.jcajce.provider.digest | |
| org.bouncycastle.jcajce.provider.symmetric | |
| org.bouncycastle.jcajce.provider.symmetric.util | |
| org.bouncycastle.jce.spec | |
| org.conscrypt |
-
Uses of SecretKey in java.security
Methods in java.security that return SecretKey Modifier and Type Method Description SecretKeyKeyStore.SecretKeyEntry. getSecretKey()Returns the secret key.Constructors in java.security with parameters of type SecretKey Constructor Description SecretKeyEntry(SecretKey secretKey)Constructs a new instance ofSecretKeyEntrywith the givenSecretKey. -
Uses of SecretKey in javax.crypto
Methods in javax.crypto that return SecretKey Modifier and Type Method Description protected abstract SecretKeyKeyGeneratorSpi. engineGenerateKey()Generates a secret key.protected abstract SecretKeyKeyAgreementSpi. engineGenerateSecret(String algorithm)Generates the shared secret.protected abstract SecretKeySecretKeyFactorySpi. engineGenerateSecret(KeySpec keySpec)Generate a secret key from the specified key specification.protected abstract SecretKeySecretKeyFactorySpi. engineTranslateKey(SecretKey key)Translates the specified secret key into an instance of the corresponding key from the provider of this key factory.SecretKeyKeyGenerator. generateKey()Generates a secret key.SecretKeyKeyAgreement. generateSecret(String algorithm)Generates the shared secret.SecretKeySecretKeyFactory. generateSecret(KeySpec keySpec)Generate a secret key from the specified key specification.SecretKeySecretKeyFactory. translateKey(SecretKey key)Translates the specified secret key into an instance of the corresponding key from the provider of this key factory.Methods in javax.crypto with parameters of type SecretKey Modifier and Type Method Description protected abstract KeySpecSecretKeyFactorySpi. engineGetKeySpec(SecretKey key, Class keySpec)Returns the key specification of the specified secret key.protected abstract SecretKeySecretKeyFactorySpi. engineTranslateKey(SecretKey key)Translates the specified secret key into an instance of the corresponding key from the provider of this key factory.KeySpecSecretKeyFactory. getKeySpec(SecretKey key, Class keySpec)Returns the key specification of the specified secret key.SecretKeySecretKeyFactory. translateKey(SecretKey key)Translates the specified secret key into an instance of the corresponding key from the provider of this key factory. -
Uses of SecretKey in javax.crypto.interfaces
Subinterfaces of SecretKey in javax.crypto.interfaces Modifier and Type Interface Description interfacePBEKeyThe interface to a password-based-encryption key. -
Uses of SecretKey in javax.crypto.spec
Classes in javax.crypto.spec that implement SecretKey Modifier and Type Class Description classSecretKeySpecA key specification for aSecretKeyand also a secret key implementation that is provider-independent. -
Uses of SecretKey in org.bouncycastle.jcajce.provider.asymmetric.dh
Methods in org.bouncycastle.jcajce.provider.asymmetric.dh that return SecretKey Modifier and Type Method Description protected SecretKeyKeyAgreementSpi. engineGenerateSecret(String algorithm) -
Uses of SecretKey in org.bouncycastle.jcajce.provider.asymmetric.ec
Methods in org.bouncycastle.jcajce.provider.asymmetric.ec that return SecretKey Modifier and Type Method Description protected SecretKeyKeyAgreementSpi. engineGenerateSecret(String algorithm) -
Uses of SecretKey in org.bouncycastle.jcajce.provider.digest
Methods in org.bouncycastle.jcajce.provider.digest that return SecretKey Modifier and Type Method Description protected SecretKeySHA1.BasePBKDF2WithHmacSHA1. engineGenerateSecret(KeySpec keySpec) -
Uses of SecretKey in org.bouncycastle.jcajce.provider.symmetric
Methods in org.bouncycastle.jcajce.provider.symmetric that return SecretKey Modifier and Type Method Description protected SecretKeyDES.KeyGenerator. engineGenerateKey()protected SecretKeyDESede.KeyGenerator. engineGenerateKey()protected SecretKeyDES.DESPBEKeyFactory. engineGenerateSecret(KeySpec keySpec)protected SecretKeyDES.KeyFactory. engineGenerateSecret(KeySpec keySpec)protected SecretKeyDESede.KeyFactory. engineGenerateSecret(KeySpec keySpec)Methods in org.bouncycastle.jcajce.provider.symmetric with parameters of type SecretKey Modifier and Type Method Description protected KeySpecDES.KeyFactory. engineGetKeySpec(SecretKey key, Class keySpec)protected KeySpecDESede.KeyFactory. engineGetKeySpec(SecretKey key, Class keySpec) -
Uses of SecretKey in org.bouncycastle.jcajce.provider.symmetric.util
Classes in org.bouncycastle.jcajce.provider.symmetric.util that implement SecretKey Modifier and Type Class Description classBCPBEKeyMethods in org.bouncycastle.jcajce.provider.symmetric.util that return SecretKey Modifier and Type Method Description protected SecretKeyBaseKeyGenerator. engineGenerateKey()protected SecretKeyBaseSecretKeyFactory. engineGenerateSecret(KeySpec keySpec)protected SecretKeyPBESecretKeyFactory. engineGenerateSecret(KeySpec keySpec)protected SecretKeyBaseSecretKeyFactory. engineTranslateKey(SecretKey key)Methods in org.bouncycastle.jcajce.provider.symmetric.util with parameters of type SecretKey Modifier and Type Method Description protected KeySpecBaseSecretKeyFactory. engineGetKeySpec(SecretKey key, Class keySpec)protected SecretKeyBaseSecretKeyFactory. engineTranslateKey(SecretKey key) -
Uses of SecretKey in org.bouncycastle.jce.spec
Classes in org.bouncycastle.jce.spec that implement SecretKey Modifier and Type Class Description classRepeatedSecretKeySpecA simple object to indicate that a symmetric cipher should reuse the last key provided. -
Uses of SecretKey in org.conscrypt
Classes in org.conscrypt that implement SecretKey Modifier and Type Class Description classOpenSSLSecretKeyMethods in org.conscrypt that return SecretKey Modifier and Type Method Description protected SecretKeyOpenSSLECDHKeyAgreement. engineGenerateSecret(String algorithm)SecretKeyOpenSSLKey. getSecretKey(String algorithm)SecretKeyOpenSSLEngine. getSecretKeyById(String id, String algorithm)Methods in org.conscrypt with parameters of type SecretKey Modifier and Type Method Description static OpenSSLKeyOpenSSLSecretKey. getInstance(SecretKey key)