UA Bundle SDK .NET  2.1.2.227
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Groups Pages
UnifiedAutomation.UaBase.UserNameIdentityToken Class Reference

A token representing a user identified by a user name and password. More...

Inherits IFormattable, and UnifiedAutomation.UaBase.UserIdentityToken.

Public Member Functions

 UserNameIdentityToken ()
 The default constructor. More...
 
override void Encode (IEncoder encoder)
 
 
override void Decode (IDecoder decoder)
 
 
override bool IsEqual (IEncodeable encodeable)
 
 
override object Clone ()
 
 
override string ToString ()
 Returns a System.String that represents this instance. More...
 
string ToString (string format, IFormatProvider formatProvider)
 Returns a System.String that represents this instance. More...
 
override void Encrypt (X509Certificate2 certificate, byte[] senderNonce, string securityPolicyUri)
 Encrypts the DecryptedPassword using the EncryptionAlgorithm and places the result in Password More...
 
override void Decrypt (X509Certificate2 certificate, byte[] senderNonce, string securityPolicyUri)
 Decrypts the Password using the EncryptionAlgorithm and places the result in DecryptedPassword More...
 
- Public Member Functions inherited from UnifiedAutomation.UaBase.UserIdentityToken
 UserIdentityToken ()
 The default constructor. More...
 
virtual SignatureData Sign (byte[] dataToSign, string securityPolicyUri)
 Creates a signature with the token (implemented by the subclass). More...
 
virtual bool Verify (byte[] dataToVerify, SignatureData signatureData, string securityPolicyUri)
 Verifies a signature created with the token (implemented by the subclass). More...
 

Properties

string UserName [get, set]
 The user name. More...
 
byte[] Password [get, set]
 The password encrypted with the server certificate. More...
 
string EncryptionAlgorithm [get, set]
 The algorithm used to encrypt the password. More...
 
override ExpandedNodeId TypeId [get]
 
 
override ExpandedNodeId BinaryEncodingId [get]
 
 
override ExpandedNodeId XmlEncodingId [get]
 
 
string DecryptedPassword [get, set]
 The decrypted password associated with the token. More...
 
- Properties inherited from UnifiedAutomation.UaBase.UserIdentityToken
string PolicyId [get, set]
 The policy id specified in a user token policy for the endpoint being used. More...
 
virtual ExpandedNodeId TypeId [get]
 
 
virtual ExpandedNodeId BinaryEncodingId [get]
 
 
virtual ExpandedNodeId XmlEncodingId [get]
 
 
object UserData [get, set]
 Gets or sets the user data. More...
 
- Properties inherited from UnifiedAutomation.UaBase.IEncodeable
ExpandedNodeId TypeId [get]
 Returns the UA type identifier for the encodable type. More...
 
ExpandedNodeId BinaryEncodingId [get]
 Returns the UA type identifier for the default binary encoding for the type. More...
 
ExpandedNodeId XmlEncodingId [get]
 Returns the UA type identifier for the default XML encoding for the type. More...
 

Detailed Description

A token representing a user identified by a user name and password.

The UserIdentityToken class.

<exclude>

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.UserNameIdentityToken.UserNameIdentityToken ( )

The default constructor.

Member Function Documentation

override void UnifiedAutomation.UaBase.UserNameIdentityToken.Decrypt ( X509Certificate2  certificate,
byte[]  senderNonce,
string  securityPolicyUri 
)
virtual

Decrypts the Password using the EncryptionAlgorithm and places the result in DecryptedPassword

Reimplemented from UnifiedAutomation.UaBase.UserIdentityToken.

override void UnifiedAutomation.UaBase.UserNameIdentityToken.Encrypt ( X509Certificate2  certificate,
byte[]  senderNonce,
string  securityPolicyUri 
)
virtual

Encrypts the DecryptedPassword using the EncryptionAlgorithm and places the result in Password

Reimplemented from UnifiedAutomation.UaBase.UserIdentityToken.

override string UnifiedAutomation.UaBase.UserNameIdentityToken.ToString ( )

Returns a System.String that represents this instance.

Returns
A System.String that represents this instance.
string UnifiedAutomation.UaBase.UserNameIdentityToken.ToString ( string  format,
IFormatProvider  formatProvider 
)

Returns a System.String that represents this instance.

Parameters
formatThe format.
formatProviderThe format provider.
Returns
A System.String that represents this instance.

Property Documentation

string UnifiedAutomation.UaBase.UserNameIdentityToken.DecryptedPassword
getset

The decrypted password associated with the token.

string UnifiedAutomation.UaBase.UserNameIdentityToken.EncryptionAlgorithm
getset

The algorithm used to encrypt the password.

byte [] UnifiedAutomation.UaBase.UserNameIdentityToken.Password
getset

The password encrypted with the server certificate.

string UnifiedAutomation.UaBase.UserNameIdentityToken.UserName
getset

The user name.


The documentation for this class was generated from the following files: