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

A token representing a user identified by an X509 certificate. More...

Inherits IFormattable, and UnifiedAutomation.UaBase.UserIdentityToken.

Public Member Functions

 X509IdentityToken ()
 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 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...
 
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...
 

Properties

byte[] CertificateData [get, set]
 The certificate. More...
 
override ExpandedNodeId TypeId [get]
 
 
override ExpandedNodeId BinaryEncodingId [get]
 
 
override ExpandedNodeId XmlEncodingId [get]
 
 
ICertificate Certificate [get, set]
 The certificate 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 an X509 certificate.

The X509IdentityToken class.

<exclude>

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.X509IdentityToken.X509IdentityToken ( )

The default constructor.

Member Function Documentation

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

Creates a signature with the token.

Reimplemented from UnifiedAutomation.UaBase.UserIdentityToken.

override string UnifiedAutomation.UaBase.X509IdentityToken.ToString ( )

Returns a System.String that represents this instance.

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

Verifies a signature created with the token.

Reimplemented from UnifiedAutomation.UaBase.UserIdentityToken.

Property Documentation

ICertificate UnifiedAutomation.UaBase.X509IdentityToken.Certificate
getset

The certificate associated with the token.

The certificate.

byte [] UnifiedAutomation.UaBase.X509IdentityToken.CertificateData
getset

The certificate.


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