public class Password extends MessageAttribute
MessageAttributeInterface.MessageAttributeTypeCHANGEDADDRESS, 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, typeToIntegerpublic Password()
public Password(String password)
public String getPassword()
public void setPassword(String password)
public byte[] getBytes()
throws UtilityException
getBytes in class MessageAttributeUtilityExceptionpublic static Password parse(byte[] data)