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 classJSSSecretKeyFactorySpi.AESstatic classJSSSecretKeyFactorySpi.DESstatic classJSSSecretKeyFactorySpi.DESedestatic classJSSSecretKeyFactorySpi.GenericSecretstatic classJSSSecretKeyFactorySpi.HmacSHA1static classJSSSecretKeyFactorySpi.HmacSHA256static classJSSSecretKeyFactorySpi.HmacSHA384static classJSSSecretKeyFactorySpi.HmacSHA512static classJSSSecretKeyFactorySpi.PBAHmacSHA1static classJSSSecretKeyFactorySpi.PBE_MD5_DES_CBCstatic classJSSSecretKeyFactorySpi.PBE_SHA1_DES_CBCstatic classJSSSecretKeyFactorySpi.PBE_SHA1_DES3_CBCstatic classJSSSecretKeyFactorySpi.PBE_SHA1_RC4_128static classJSSSecretKeyFactorySpi.RC2static classJSSSecretKeyFactorySpi.RC4
-
Constructor Summary
Constructors Modifier Constructor Description protectedJSSSecretKeyFactorySpi(KeyGenAlgorithm alg)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.crypto.SecretKeyengineGenerateSecret(java.security.spec.KeySpec spec)java.security.spec.KeySpecengineGetKeySpec(javax.crypto.SecretKey key, java.lang.Class<?> keySpec)javax.crypto.SecretKeyengineTranslateKey(javax.crypto.SecretKey key)static voidmain(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:
engineGenerateSecretin 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:
engineGetKeySpecin classjavax.crypto.SecretKeyFactorySpi- Throws:
java.security.spec.InvalidKeySpecException
-
engineTranslateKey
public javax.crypto.SecretKey engineTranslateKey(javax.crypto.SecretKey key) throws java.security.InvalidKeyException- Specified by:
engineTranslateKeyin classjavax.crypto.SecretKeyFactorySpi- Throws:
java.security.InvalidKeyException
-
main
public static void main(java.lang.String[] args)
-
-