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

A token representing a user identified by a WS-Security XML token. More...

Inherits IFormattable, and UnifiedAutomation.UaBase.UserIdentityToken.

Public Member Functions

 IssuedIdentityToken ()
 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 DecryptedTokenData 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...
 
override SignatureData Sign (byte[] dataToSign, string securityPolicyUri)
 Creates a signature with the token. More...
 
override bool Verify (byte[] dataToVerify, SignatureData signatureData, string securityPolicyUri)
 Verifies a signature created with the token. More...
 
- Public Member Functions inherited from UnifiedAutomation.UaBase.UserIdentityToken
 UserIdentityToken ()
 The default constructor. More...
 

Properties

byte[] TokenData [get, set]
 The XML token encrypted with the server certificate. More...
 
string EncryptionAlgorithm [get, set]
 The algorithm used to encrypt the certificate. More...
 
override ExpandedNodeId TypeId [get]
 
 
override ExpandedNodeId BinaryEncodingId [get]
 
 
override ExpandedNodeId XmlEncodingId [get]
 
 
byte[] DecryptedTokenData [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 WS-Security XML token.

The IssuedIdentityToken class.

<exclude>

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.IssuedIdentityToken.IssuedIdentityToken ( )

The default constructor.

Member Function Documentation

override void UnifiedAutomation.UaBase.IssuedIdentityToken.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.IssuedIdentityToken.Encrypt ( X509Certificate2  certificate,
byte[]  senderNonce,
string  securityPolicyUri 
)
virtual

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

Reimplemented from UnifiedAutomation.UaBase.UserIdentityToken.

override SignatureData UnifiedAutomation.UaBase.IssuedIdentityToken.Sign ( byte[]  dataToSign,
string  securityPolicyUri 
)
virtual

Creates a signature with the token.

Reimplemented from UnifiedAutomation.UaBase.UserIdentityToken.

override string UnifiedAutomation.UaBase.IssuedIdentityToken.ToString ( )

Returns a System.String that represents this instance.

Returns
A System.String that represents this instance.
string UnifiedAutomation.UaBase.IssuedIdentityToken.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.
override bool UnifiedAutomation.UaBase.IssuedIdentityToken.Verify ( byte[]  dataToVerify,
SignatureData  signatureData,
string  securityPolicyUri 
)
virtual

Verifies a signature created with the token.

Reimplemented from UnifiedAutomation.UaBase.UserIdentityToken.

Property Documentation

byte [] UnifiedAutomation.UaBase.IssuedIdentityToken.DecryptedTokenData
getset

The decrypted password associated with the token.

string UnifiedAutomation.UaBase.IssuedIdentityToken.EncryptionAlgorithm
getset

The algorithm used to encrypt the certificate.

byte [] UnifiedAutomation.UaBase.IssuedIdentityToken.TokenData
getset

The XML token encrypted with the server certificate.


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