Package org.wildfly.security.key
Class RawPBEKey
- java.lang.Object
-
- org.wildfly.security.key.RawKey
-
- org.wildfly.security.key.RawPBEKey
-
- All Implemented Interfaces:
Serializable,Key,PBEKey,SecretKey,Destroyable
class RawPBEKey extends RawKey implements PBEKey
- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description private intiterationCountprivate char[]passwordprivate byte[]saltprivate static longserialVersionUID
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIterationCount()char[]getPassword()byte[]getSalt()(package private) booleanisEqual(Key key)(package private) booleanisEqual(PBEKey key)-
Methods inherited from class org.wildfly.security.key.RawKey
equals, getAlgorithm, getEncoded, getFormat, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyed
-
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
password
private final char[] password
-
salt
private final byte[] salt
-
iterationCount
private final int iterationCount
-
-
Method Detail
-
getPassword
public char[] getPassword()
- Specified by:
getPasswordin interfacePBEKey
-
getIterationCount
public int getIterationCount()
- Specified by:
getIterationCountin interfacePBEKey
-
isEqual
boolean isEqual(PBEKey key)
-
-