|
Bouncy Castle Cryptography 1.21 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.crypto.SecretKeyFactorySpi | +--org.bouncycastle.jce.provider.JCESecretKeyFactory | +--org.bouncycastle.jce.provider.JCESecretKeyFactory.DESede
Nested Class Summary |
Nested classes inherited from class org.bouncycastle.jce.provider.JCESecretKeyFactory |
JCESecretKeyFactory.DES, JCESecretKeyFactory.DESede, JCESecretKeyFactory.PBE_PKCS12, JCESecretKeyFactory.PBE_PKCS5 |
Field Summary |
Fields inherited from class org.bouncycastle.jce.provider.JCESecretKeyFactory |
algName |
Constructor Summary | |
JCESecretKeyFactory.DESede()
|
Method Summary | |
protected SecretKey |
engineGenerateSecret(java.security.spec.KeySpec keySpec)
Generates a SecretKey object from the
provided key specification (key material). |
protected java.security.spec.KeySpec |
engineGetKeySpec(SecretKey key,
java.lang.Class keySpec)
Returns a specification (key material) of the given key object in the requested format. |
Methods inherited from class org.bouncycastle.jce.provider.JCESecretKeyFactory |
engineTranslateKey |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JCESecretKeyFactory.DESede()
Method Detail |
protected java.security.spec.KeySpec engineGetKeySpec(SecretKey key, java.lang.Class keySpec) throws java.security.spec.InvalidKeySpecException
SecretKeyFactorySpi
engineGetKeySpec
in class JCESecretKeyFactory
key
- the keykeySpec
- the requested format in which the key material shall be returned
java.security.spec.InvalidKeySpecException
- if the requested key specification is inappropriate for
the given key (e.g., the algorithms associated with key
and keySpec
do
not match, or key
references a key on a cryptographic hardware device whereas
keySpec
is the specification of a software-based key), or the given key cannot be
dealt with (e.g., the given key has an algorithm or format not supported by this secret-key factory).protected SecretKey engineGenerateSecret(java.security.spec.KeySpec keySpec) throws java.security.spec.InvalidKeySpecException
SecretKeyFactorySpi
SecretKey
object from the
provided key specification (key material).
engineGenerateSecret
in class JCESecretKeyFactory
keySpec
- the specification (key material) of the secret key
java.security.spec.InvalidKeySpecException
- if the given key specification
is inappropriate for this secret-key factory to produce a secret key.
|
Bouncy Castle Cryptography 1.21 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |