Class UserNameIdentityToken
- java.lang.Object
-
- org.apache.plc4x.java.opcua.readwrite.UserIdentityTokenDefinition
-
- org.apache.plc4x.java.opcua.readwrite.UserNameIdentityToken
-
- All Implemented Interfaces:
Message,Serializable
public class UserNameIdentityToken extends UserIdentityTokenDefinition implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserNameIdentityToken.UserNameIdentityTokenBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.opcua.readwrite.UserIdentityTokenDefinition
UserIdentityTokenDefinition.UserIdentityTokenDefinitionBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected PascalStringencryptionAlgorithmprotected PascalByteStringpasswordprotected PascalStringuserName
-
Constructor Summary
Constructors Constructor Description UserNameIdentityToken(PascalString userName, PascalByteString password, PascalString encryptionAlgorithm)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)PascalStringgetEncryptionAlgorithm()StringgetIdentifier()intgetLengthInBits()intgetLengthInBytes()PascalByteStringgetPassword()PascalStringgetUserName()inthashCode()protected voidserializeUserIdentityTokenDefinitionChild(WriteBuffer writeBuffer)static UserIdentityTokenDefinition.UserIdentityTokenDefinitionBuilderstaticParseUserIdentityTokenDefinitionBuilder(ReadBuffer readBuffer, String identifier)StringtoString()-
Methods inherited from class org.apache.plc4x.java.opcua.readwrite.UserIdentityTokenDefinition
serialize, staticParse, staticParse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.plc4x.java.spi.utils.Serializable
serialize
-
-
-
-
Field Detail
-
userName
protected final PascalString userName
-
password
protected final PascalByteString password
-
encryptionAlgorithm
protected final PascalString encryptionAlgorithm
-
-
Constructor Detail
-
UserNameIdentityToken
public UserNameIdentityToken(PascalString userName, PascalByteString password, PascalString encryptionAlgorithm)
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifierin classUserIdentityTokenDefinition
-
getUserName
public PascalString getUserName()
-
getPassword
public PascalByteString getPassword()
-
getEncryptionAlgorithm
public PascalString getEncryptionAlgorithm()
-
serializeUserIdentityTokenDefinitionChild
protected void serializeUserIdentityTokenDefinitionChild(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializeUserIdentityTokenDefinitionChildin classUserIdentityTokenDefinition- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classUserIdentityTokenDefinition
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classUserIdentityTokenDefinition
-
staticParseUserIdentityTokenDefinitionBuilder
public static UserIdentityTokenDefinition.UserIdentityTokenDefinitionBuilder staticParseUserIdentityTokenDefinitionBuilder(ReadBuffer readBuffer, String identifier) throws ParseException
- Throws:
ParseException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classUserIdentityTokenDefinition
-
hashCode
public int hashCode()
- Overrides:
hashCodein classUserIdentityTokenDefinition
-
toString
public String toString()
- Overrides:
toStringin classUserIdentityTokenDefinition
-
-