Package de.javawi.jstun.attribute
Class Password
- java.lang.Object
-
- de.javawi.jstun.attribute.MessageAttribute
-
- de.javawi.jstun.attribute.Password
-
- All Implemented Interfaces:
MessageAttributeInterface
public class Password extends MessageAttribute
-
-
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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBytes()java.lang.StringgetPassword()static Passwordparse(byte[] data)voidsetPassword(java.lang.String password)-
Methods inherited from class de.javawi.jstun.attribute.MessageAttribute
getLength, getType, intToType, parseCommonHeader, setType, typeToInteger
-
-
-
-
Method Detail
-
getPassword
public java.lang.String getPassword()
-
setPassword
public void setPassword(java.lang.String password)
-
getBytes
public byte[] getBytes() throws UtilityException- Specified by:
getBytesin classMessageAttribute- Throws:
UtilityException
-
parse
public static Password parse(byte[] data)
-
-