Bouncy Castle Cryptography Library 1.48

org.bouncycastle.cms
Class PKCS5Scheme2UTF8PBEKey

java.lang.Object
  extended byorg.bouncycastle.cms.CMSPBEKey
      extended byorg.bouncycastle.cms.PKCS5Scheme2UTF8PBEKey
All Implemented Interfaces:
java.security.Key, javax.crypto.interfaces.PBEKey, javax.crypto.SecretKey, java.io.Serializable

public class PKCS5Scheme2UTF8PBEKey
extends CMSPBEKey

PKCS5 scheme-2 - password converted to bytes using UTF-8.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface java.security.Key
serialVersionUID
 
Constructor Summary
PKCS5Scheme2UTF8PBEKey(char[] password, java.security.AlgorithmParameters pbeParams)
           
PKCS5Scheme2UTF8PBEKey(char[] password, byte[] salt, int iterationCount)
           
 
Methods inherited from class org.bouncycastle.cms.CMSPBEKey
getAlgorithm, getEncoded, getFormat, getIterationCount, getParamSpec, getPassword, getSalt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PKCS5Scheme2UTF8PBEKey

public PKCS5Scheme2UTF8PBEKey(char[] password,
                              byte[] salt,
                              int iterationCount)

PKCS5Scheme2UTF8PBEKey

public PKCS5Scheme2UTF8PBEKey(char[] password,
                              java.security.AlgorithmParameters pbeParams)
                       throws java.security.InvalidAlgorithmParameterException

Bouncy Castle Cryptography Library 1.48