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

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)
 Checks if encodeable is the same object or has the same content More...
 
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]
  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

The UserIdentityToken class.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.UserIdentityToken.UserIdentityToken ( )
inline

The default constructor.

Member Function Documentation

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

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 
)
inlinevirtual

Encrypts the token (implemented by the subclass).

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

virtual bool UnifiedAutomation.UaBase.UserIdentityToken.IsEqual ( IEncodeable  encodeable)
inlinevirtual

Checks if encodeable is the same object or has the same content

Parameters
encodeable
Returns

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

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

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 
)
inlinevirtual

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

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: