Skip navigation links

Oracle Security Developer Tools JCE Java API Reference
11g (11.1.1)

E10697-02


oracle.security.crypto.jce.crypto
Class PbeSecretKeyImpl

java.lang.Object
  extended by oracle.security.crypto.jce.crypto.PbeSecretKeyImpl

All Implemented Interfaces:
java.io.Serializable, java.security.Key, javax.crypto.SecretKey

public final class PbeSecretKeyImpl
extends java.lang.Object
implements javax.crypto.SecretKey
See Also:
Serialized Form

Field Summary

 

Fields inherited from interface javax.crypto.SecretKey
serialVersionUID

 

Constructor Summary
PbeSecretKeyImpl(java.lang.String password, oracle.security.crypto.core.AlgorithmIdentifier algID, java.lang.String algorithm, int keysize)
           

 

Method Summary
 oracle.security.crypto.core.PBEAlgorithmIdentifier getAlgID()
           
 java.lang.String getAlgorithm()
           
 byte[] getEncoded()
           
 java.lang.String getFormat()
           
 java.lang.String getPassword()
           
 int keysize()
           
 void setParameters(byte[] salt, int iterationCount)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

PbeSecretKeyImpl

public PbeSecretKeyImpl(java.lang.String password,
                        oracle.security.crypto.core.AlgorithmIdentifier algID,
                        java.lang.String algorithm,
                        int keysize)
                 throws oracle.security.crypto.core.AlgorithmIdentifierException
Throws:
oracle.security.crypto.core.AlgorithmIdentifierException

Method Detail

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

getPassword

public java.lang.String getPassword()

getAlgorithm

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

keysize

public int keysize()

setParameters

public void setParameters(byte[] salt,
                          int iterationCount)

getAlgID

public oracle.security.crypto.core.PBEAlgorithmIdentifier getAlgID()

Skip navigation links

Oracle Security Developer Tools JCE Java API Reference
11g (11.1.1)

E10697-02


Copyright © 2005, 2009, Oracle. All rights reserved.