org.mozilla.jss.provider.javax.crypto
Class JSSSecretKeyFactorySpi.HmacSHA1
java.lang.Object
|
+--javax.crypto.SecretKeyFactorySpi
|
+--org.mozilla.jss.provider.javax.crypto.JSSSecretKeyFactorySpi
|
+--org.mozilla.jss.provider.javax.crypto.JSSSecretKeyFactorySpi.HmacSHA1
- Enclosing class:
- org.mozilla.jss.provider.javax.crypto.JSSSecretKeyFactorySpi
Deprecated. This class name is misleading. This algorithm
is used for generating Password-Based Authentication keys
for use with HmacSHA1. Use PBAHmacSHA1 instead.
- public static class JSSSecretKeyFactorySpi.HmacSHA1
- extends org.mozilla.jss.provider.javax.crypto.JSSSecretKeyFactorySpi
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSSSecretKeyFactorySpi.HmacSHA1
public JSSSecretKeyFactorySpi.HmacSHA1()
- Deprecated.
engineGenerateSecret
public javax.crypto.SecretKey engineGenerateSecret(java.security.spec.KeySpec spec)
throws java.security.spec.InvalidKeySpecException
- Specified by:
engineGenerateSecret
in class javax.crypto.SecretKeyFactorySpi
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 class javax.crypto.SecretKeyFactorySpi
java.security.spec.InvalidKeySpecException
engineTranslateKey
public javax.crypto.SecretKey engineTranslateKey(javax.crypto.SecretKey key)
throws java.security.InvalidKeyException
- Specified by:
engineTranslateKey
in class javax.crypto.SecretKeyFactorySpi
java.security.InvalidKeyException
main
public static void main(java.lang.String[] args)