iaik.pkcs.pkcs12
Class MacKeyGenerator

java.lang.Object
  |
  +--javax.crypto.KeyGeneratorSpi
        |
        +--iaik.pkcs.pkcs12.KeyMaterialGenerator
              |
              +--iaik.pkcs.pkcs12.MacKeyGenerator

public class MacKeyGenerator
extends iaik.pkcs.pkcs12.KeyMaterialGenerator

This class uses the KeyMaterialGenerator for deriving a PKCS#12 MAC-Key from a password, a salt and an iteration count. This MAC-SecretKey is used for the PKCS#12 MAC operations.

See Also:
KeyMaterialGenerator

Fields inherited from class iaik.pkcs.pkcs12.KeyMaterialGenerator
hash_algorithm, ID
 
Constructor Summary
MacKeyGenerator()
          Default Constructor.
 
Methods inherited from class iaik.pkcs.pkcs12.KeyMaterialGenerator
engineGenerateKey, engineInit, engineInit, engineInit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacKeyGenerator

public MacKeyGenerator()
Default Constructor. Initializes the KeyMaterialGenerator for generating a MAC-SecretKey.