Package de.javawi.jstun.attribute
Class Password
java.lang.Object
de.javawi.jstun.attribute.MessageAttribute
de.javawi.jstun.attribute.Password
- All Implemented Interfaces:
MessageAttributeInterface
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.javawi.jstun.attribute.MessageAttributeInterface
MessageAttributeInterface.MessageAttributeType
-
Field Summary
Fields inherited from interface de.javawi.jstun.attribute.MessageAttributeInterface
CHANGEDADDRESS, CHANGEREQUEST, DUMMY, ERRORCODE, MAPPEDADDRESS, MESSAGEINTEGRITY, PASSWORD, REFLECTEDFROM, RESPONSEADDRESS, SOURCEADDRESS, UNKNOWNATTRIBUTE, USERNAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getBytes()
static Password
parse
(byte[] data) void
setPassword
(String password) Methods inherited from class de.javawi.jstun.attribute.MessageAttribute
getLength, getType, intToType, parseCommonHeader, setType, typeToInteger
-
Constructor Details
-
Password
public Password() -
Password
-
-
Method Details
-
getPassword
-
setPassword
-
getBytes
- Specified by:
getBytes
in classMessageAttribute
- Throws:
UtilityException
-
parse
-