JSS 3.4

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


Nested Class Summary
static class JSSSecretKeyFactorySpi.AES
           
static class JSSSecretKeyFactorySpi.DES
           
static class JSSSecretKeyFactorySpi.DESede
           
static class JSSSecretKeyFactorySpi.HmacSHA1
          Deprecated. This class name is misleading. This algorithm is used for generating Password-Based Authentication keys for use with HmacSHA1. Use PBAHmacSHA1 instead.
static class JSSSecretKeyFactorySpi.PBAHmacSHA1
           
static class JSSSecretKeyFactorySpi.PBE_MD5_DES_CBC
           
static class JSSSecretKeyFactorySpi.PBE_SHA1_DES_CBC
           
static class JSSSecretKeyFactorySpi.PBE_SHA1_DES3_CBC
           
static class JSSSecretKeyFactorySpi.PBE_SHA1_RC4_128
           
static class JSSSecretKeyFactorySpi.RC2
           
static class JSSSecretKeyFactorySpi.RC4
           
 
Constructor Summary
JSSSecretKeyFactorySpi.HmacSHA1()
          Deprecated.  
 
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
 

Constructor Detail

JSSSecretKeyFactorySpi.HmacSHA1

public JSSSecretKeyFactorySpi.HmacSHA1()
Deprecated. 
Method Detail

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)

JSS 3.4