Skip navigation links
oracle.security.crypto.jce.crypto
Class PbeSecretKeyImpl
java.lang.Object
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
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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
Copyright © 2005, 2009, Oracle. All rights reserved.