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 int
iterationCount
private char[]
password
private byte[]
salt
private static long
serialVersionUID
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIterationCount()
char[]
getPassword()
byte[]
getSalt()
(package private) boolean
isEqual(Key key)
(package private) boolean
isEqual(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:
getPassword
in interfacePBEKey
-
getIterationCount
public int getIterationCount()
- Specified by:
getIterationCount
in interfacePBEKey
-
isEqual
boolean isEqual(PBEKey key)
-
-