For the latest news and information visit
The GNU Crypto project

gnu.crypto.jce
Class PBKDF2SecretKeyFactory

java.lang.Object
  extended byjavax.crypto.SecretKeyFactorySpi
      extended bygnu.crypto.jce.PBKDF2SecretKeyFactory
Direct Known Subclasses:
PBKDF2SecretKeyFactory.HMacHaval, PBKDF2SecretKeyFactory.HMacMD2, PBKDF2SecretKeyFactory.HMacMD4, PBKDF2SecretKeyFactory.HMacMD5, PBKDF2SecretKeyFactory.HMacRipeMD128, PBKDF2SecretKeyFactory.HMacRipeMD160, PBKDF2SecretKeyFactory.HMacSHA1, PBKDF2SecretKeyFactory.HMacSHA256, PBKDF2SecretKeyFactory.HMacSHA384, PBKDF2SecretKeyFactory.HMacSHA512, PBKDF2SecretKeyFactory.HMacTiger, PBKDF2SecretKeyFactory.HMacWhirlpool

public abstract class PBKDF2SecretKeyFactory
extends javax.crypto.SecretKeyFactorySpi


Nested Class Summary
static class PBKDF2SecretKeyFactory.HMacHaval
           
static class PBKDF2SecretKeyFactory.HMacMD2
           
static class PBKDF2SecretKeyFactory.HMacMD4
           
static class PBKDF2SecretKeyFactory.HMacMD5
           
static class PBKDF2SecretKeyFactory.HMacRipeMD128
           
static class PBKDF2SecretKeyFactory.HMacRipeMD160
           
static class PBKDF2SecretKeyFactory.HMacSHA1
           
static class PBKDF2SecretKeyFactory.HMacSHA256
           
static class PBKDF2SecretKeyFactory.HMacSHA384
           
static class PBKDF2SecretKeyFactory.HMacSHA512
           
static class PBKDF2SecretKeyFactory.HMacTiger
           
static class PBKDF2SecretKeyFactory.HMacWhirlpool
           
 
Field Summary
protected  java.lang.String macName
           
 
Constructor Summary
protected PBKDF2SecretKeyFactory(java.lang.String macName)
           
 
Method Summary
protected  javax.crypto.SecretKey engineGenerateSecret(java.security.spec.KeySpec spec)
           
protected  java.security.spec.KeySpec engineGetKeySpec(javax.crypto.SecretKey key, java.lang.Class clazz)
           
protected  javax.crypto.SecretKey engineTranslateKey(javax.crypto.SecretKey key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

macName

protected java.lang.String macName
Constructor Detail

PBKDF2SecretKeyFactory

protected PBKDF2SecretKeyFactory(java.lang.String macName)
Method Detail

engineGenerateSecret

protected javax.crypto.SecretKey engineGenerateSecret(java.security.spec.KeySpec spec)
                                               throws java.security.spec.InvalidKeySpecException
Throws:
java.security.spec.InvalidKeySpecException

engineGetKeySpec

protected java.security.spec.KeySpec engineGetKeySpec(javax.crypto.SecretKey key,
                                                      java.lang.Class clazz)
                                               throws java.security.spec.InvalidKeySpecException
Throws:
java.security.spec.InvalidKeySpecException

engineTranslateKey

protected javax.crypto.SecretKey engineTranslateKey(javax.crypto.SecretKey key)

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.