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

A base type for a user identity token. More...

Inherits UnifiedAutomation.UaBase.IEncodeable.

Inherited by UnifiedAutomation.UaBase.AnonymousIdentityToken, UnifiedAutomation.UaBase.IssuedIdentityToken, UnifiedAutomation.UaBase.UserNameIdentityToken, and UnifiedAutomation.UaBase.X509IdentityToken.

Public Member Functions

 UserIdentityToken ()
 The default constructor. More...
 
virtual void Encode (IEncoder encoder)
 
 
virtual void Decode (IDecoder decoder)
 
 
virtual bool IsEqual (IEncodeable encodeable)
 
 
virtual object Clone ()
 
 
virtual void Encrypt (X509Certificate2 certificate, byte[] receiverNonce, string securityPolicyUri)
 Encrypts the token (implemented by the subclass). More...
 
virtual void Decrypt (X509Certificate2 certificate, byte[] receiverNonce, string securityPolicyUri)
 Decrypts the token (implemented by the subclass). 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 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 base type for a user identity token.

The UserIdentityToken class.

<exclude>

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.UserIdentityToken.UserIdentityToken ( )

The default constructor.

Member Function Documentation

virtual void UnifiedAutomation.UaBase.UserIdentityToken.Decrypt ( X509Certificate2  certificate,
byte[]  receiverNonce,
string  securityPolicyUri 
)
virtual

Decrypts the token (implemented by the subclass).

Reimplemented in UnifiedAutomation.UaBase.IssuedIdentityToken, and UnifiedAutomation.UaBase.UserNameIdentityToken.

virtual void UnifiedAutomation.UaBase.UserIdentityToken.Encrypt ( X509Certificate2  certificate,
byte[]  receiverNonce,
string  securityPolicyUri 
)
virtual

Encrypts the token (implemented by the subclass).

Reimplemented in UnifiedAutomation.UaBase.IssuedIdentityToken, and UnifiedAutomation.UaBase.UserNameIdentityToken.

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

Creates a signature with the token (implemented by the subclass).

Reimplemented in UnifiedAutomation.UaBase.IssuedIdentityToken, and UnifiedAutomation.UaBase.X509IdentityToken.

virtual bool UnifiedAutomation.UaBase.UserIdentityToken.Verify ( byte[]  dataToVerify,
SignatureData  signatureData,
string  securityPolicyUri 
)
virtual

Verifies a signature created with the token (implemented by the subclass).

Reimplemented in UnifiedAutomation.UaBase.IssuedIdentityToken, and UnifiedAutomation.UaBase.X509IdentityToken.

Property Documentation

string UnifiedAutomation.UaBase.UserIdentityToken.PolicyId
getset

The policy id specified in a user token policy for the endpoint being used.

object UnifiedAutomation.UaBase.UserIdentityToken.UserData
getset

Gets or sets the user data.

The user data.


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