Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.jce.provider
Class JCEPBEKey

java.lang.Object
  |
  +--org.bouncycastle.jce.provider.JCEPBEKey
All Implemented Interfaces:
java.security.Key, javax.crypto.SecretKey, java.io.Serializable

public class JCEPBEKey
extends java.lang.Object
implements javax.crypto.SecretKey

See Also:
Serialized Form

Fields inherited from interface java.security.Key
serialVersionUID
 
Constructor Summary
JCEPBEKey(java.lang.String algorithm, ASN1ObjectIdentifier oid, int type, int digest, int keySize, int ivSize, javax.crypto.spec.PBEKeySpec pbeKeySpec, CipherParameters param)
           
 
Method Summary
 java.lang.String getAlgorithm()
           
 byte[] getEncoded()
           
 java.lang.String getFormat()
           
 ASN1ObjectIdentifier getOID()
          Return the object identifier associated with this algorithm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCEPBEKey

public JCEPBEKey(java.lang.String algorithm,
                 ASN1ObjectIdentifier oid,
                 int type,
                 int digest,
                 int keySize,
                 int ivSize,
                 javax.crypto.spec.PBEKeySpec pbeKeySpec,
                 CipherParameters param)
Parameters:
param -  
Method Detail

getAlgorithm

public java.lang.String getAlgorithm()
Specified by:
getAlgorithm in interface java.security.Key

getFormat

public java.lang.String getFormat()
Specified by:
getFormat in interface java.security.Key

getEncoded

public byte[] getEncoded()
Specified by:
getEncoded in interface java.security.Key

getOID

public ASN1ObjectIdentifier getOID()
Return the object identifier associated with this algorithm
Returns:
the oid for this PBE key

Bouncy Castle Cryptography Library 1.77.0