Class RawUnixMD5CryptPassword
- java.lang.Object
 - 
- org.wildfly.security.password.interfaces.RawPassword
 - 
- org.wildfly.security.password.interfaces.RawUnixMD5CryptPassword
 
 
 
- 
- All Implemented Interfaces:
 Serializable,Cloneable,Key,UnixMD5CryptPassword,OneWayPassword,Password
class RawUnixMD5CryptPassword extends RawPassword implements UnixMD5CryptPassword
 
- 
- 
Field Summary
Fields Modifier and Type Field Description private byte[]hashprivate byte[]saltprivate static longserialVersionUID- 
Fields inherited from interface org.wildfly.security.password.interfaces.UnixMD5CryptPassword
ALGORITHM_CRYPT_MD5, ITERATION_COUNT, SALT_SIZE 
 - 
 
- 
Constructor Summary
Constructors Constructor Description RawUnixMD5CryptPassword(String algorithm, byte[] salt, byte[] hash) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RawUnixMD5CryptPasswordclone()Creates and returns a copy of thisPassword.booleanequals(Object obj)byte[]getHash()Get the hash component of this password.byte[]getSalt()Get the salt component of this password.inthashCode()- 
Methods inherited from class org.wildfly.security.password.interfaces.RawPassword
getAlgorithm, getEncoded, getFormat 
- 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat 
- 
Methods inherited from interface org.wildfly.security.password.Password
castAndApply, castAndApply, castAs, castAs 
- 
Methods inherited from interface org.wildfly.security.password.interfaces.UnixMD5CryptPassword
getParameterSpec, impliesParameters 
 - 
 
 - 
 
- 
- 
Field Detail
- 
serialVersionUID
private static final long serialVersionUID
- See Also:
 - Constant Field Values
 
 
- 
salt
private final byte[] salt
 
- 
hash
private final byte[] hash
 
 - 
 
- 
Constructor Detail
- 
RawUnixMD5CryptPassword
RawUnixMD5CryptPassword(String algorithm, byte[] salt, byte[] hash)
 
 - 
 
- 
Method Detail
- 
getSalt
public byte[] getSalt()
Description copied from interface:UnixMD5CryptPasswordGet the salt component of this password.- Specified by:
 getSaltin interfaceUnixMD5CryptPassword- Returns:
 - the salt component
 
 
- 
getHash
public byte[] getHash()
Description copied from interface:UnixMD5CryptPasswordGet the hash component of this password.- Specified by:
 getHashin interfaceUnixMD5CryptPassword- Returns:
 - the hash component
 
 
- 
clone
public RawUnixMD5CryptPassword clone()
Description copied from interface:PasswordCreates and returns a copy of thisPassword.- Specified by:
 clonein interfaceOneWayPassword- Specified by:
 clonein interfacePassword- Specified by:
 clonein interfaceUnixMD5CryptPassword- Specified by:
 clonein classRawPassword- Returns:
 - a copy of this 
Password. 
 
- 
hashCode
public int hashCode()
- Specified by:
 hashCodein classRawPassword
 
- 
equals
public boolean equals(Object obj)
- Specified by:
 equalsin classRawPassword
 
 - 
 
 -