Class JSSSecretKeyFactorySpi
- java.lang.Object
-
- javax.crypto.SecretKeyFactorySpi
-
- org.mozilla.jss.provider.javax.crypto.JSSSecretKeyFactorySpi
-
- Direct Known Subclasses:
JSSSecretKeyFactorySpi.AES
,JSSSecretKeyFactorySpi.DES
,JSSSecretKeyFactorySpi.DESede
,JSSSecretKeyFactorySpi.GenericSecret
,JSSSecretKeyFactorySpi.HmacSHA1
,JSSSecretKeyFactorySpi.HmacSHA256
,JSSSecretKeyFactorySpi.HmacSHA384
,JSSSecretKeyFactorySpi.HmacSHA512
,JSSSecretKeyFactorySpi.PBAHmacSHA1
,JSSSecretKeyFactorySpi.PBE_MD5_DES_CBC
,JSSSecretKeyFactorySpi.PBE_SHA1_DES_CBC
,JSSSecretKeyFactorySpi.PBE_SHA1_DES3_CBC
,JSSSecretKeyFactorySpi.PBE_SHA1_RC4_128
,JSSSecretKeyFactorySpi.RC2
,JSSSecretKeyFactorySpi.RC4
public class JSSSecretKeyFactorySpi extends javax.crypto.SecretKeyFactorySpi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JSSSecretKeyFactorySpi.AES
static class
JSSSecretKeyFactorySpi.DES
static class
JSSSecretKeyFactorySpi.DESede
static class
JSSSecretKeyFactorySpi.GenericSecret
static class
JSSSecretKeyFactorySpi.HmacSHA1
Deprecated, for removal: This API element is subject to removal in a future version.static class
JSSSecretKeyFactorySpi.HmacSHA256
static class
JSSSecretKeyFactorySpi.HmacSHA384
static class
JSSSecretKeyFactorySpi.HmacSHA512
static class
JSSSecretKeyFactorySpi.PBAHmacSHA1
Deprecated, for removal: This API element is subject to removal in a future version.static class
JSSSecretKeyFactorySpi.PBE_MD5_DES_CBC
static class
JSSSecretKeyFactorySpi.PBE_SHA1_DES_CBC
Deprecated, for removal: This API element is subject to removal in a future version.static class
JSSSecretKeyFactorySpi.PBE_SHA1_DES3_CBC
Deprecated, for removal: This API element is subject to removal in a future version.static class
JSSSecretKeyFactorySpi.PBE_SHA1_RC4_128
Deprecated, for removal: This API element is subject to removal in a future version.static class
JSSSecretKeyFactorySpi.RC2
static class
JSSSecretKeyFactorySpi.RC4
-
Constructor Summary
Constructors Modifier Constructor Description protected
JSSSecretKeyFactorySpi(KeyGenAlgorithm alg)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.crypto.SecretKey
engineGenerateSecret(java.security.spec.KeySpec spec)
java.security.spec.KeySpec
engineGetKeySpec(javax.crypto.SecretKey key, java.lang.Class<?> keySpec)
javax.crypto.SecretKey
engineTranslateKey(javax.crypto.SecretKey key)
static void
main(java.lang.String[] args)
-
-
-
Constructor Detail
-
JSSSecretKeyFactorySpi
protected JSSSecretKeyFactorySpi(KeyGenAlgorithm alg)
-
-
Method Detail
-
engineGenerateSecret
public javax.crypto.SecretKey engineGenerateSecret(java.security.spec.KeySpec spec) throws java.security.spec.InvalidKeySpecException
- Specified by:
engineGenerateSecret
in classjavax.crypto.SecretKeyFactorySpi
- Throws:
java.security.spec.InvalidKeySpecException
-
engineGetKeySpec
public java.security.spec.KeySpec engineGetKeySpec(javax.crypto.SecretKey key, java.lang.Class<?> keySpec) throws java.security.spec.InvalidKeySpecException
- Specified by:
engineGetKeySpec
in classjavax.crypto.SecretKeyFactorySpi
- Throws:
java.security.spec.InvalidKeySpecException
-
engineTranslateKey
public javax.crypto.SecretKey engineTranslateKey(javax.crypto.SecretKey key) throws java.security.InvalidKeyException
- Specified by:
engineTranslateKey
in classjavax.crypto.SecretKeyFactorySpi
- Throws:
java.security.InvalidKeyException
-
main
public static void main(java.lang.String[] args)
-
-