public class Password extends MessageAttribute
MessageAttributeInterface.MessageAttributeType
CHANGEDADDRESS, CHANGEREQUEST, DUMMY, ERRORCODE, MAPPEDADDRESS, MESSAGEINTEGRITY, PASSWORD, REFLECTEDFROM, RESPONSEADDRESS, SOURCEADDRESS, UNKNOWNATTRIBUTE, USERNAME
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes() |
String |
getPassword() |
static Password |
parse(byte[] data) |
void |
setPassword(String password) |
getLength, getType, intToType, parseCommonHeader, setType, typeToInteger
public Password()
public Password(String password)
public String getPassword()
public void setPassword(String password)
public byte[] getBytes() throws UtilityException
getBytes
in class MessageAttribute
UtilityException
public static Password parse(byte[] data)