UA Bundle SDK .NET
2.1.0.222
|
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. | |
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). | |
virtual void | Decrypt (X509Certificate2 certificate, byte[] receiverNonce, string securityPolicyUri) |
Decrypts the token (implemented by the subclass). | |
virtual SignatureData | Sign (byte[] dataToSign, string securityPolicyUri) |
Creates a signature with the token (implemented by the subclass). | |
virtual bool | Verify (byte[] dataToVerify, SignatureData signatureData, string securityPolicyUri) |
Verifies a signature created with the token (implemented by the subclass). | |
Public Member Functions inherited from UnifiedAutomation.UaBase.IEncodeable | |
void | Encode (IEncoder encoder) |
Encodes the object in a stream. | |
void | Decode (IDecoder decoder) |
Decodes the object from a stream. | |
Properties | |
string | PolicyId [get, set] |
The policy id specified in a user token policy for the endpoint being used. | |
virtual ExpandedNodeId | TypeId [get] |
virtual ExpandedNodeId | BinaryEncodingId [get] |
virtual ExpandedNodeId | XmlEncodingId [get] |
object | UserData [get, set] |
Gets or sets the user data. | |
Properties inherited from UnifiedAutomation.UaBase.IEncodeable | |
ExpandedNodeId | TypeId [get] |
Returns the UA type identifier for the encodable type. | |
ExpandedNodeId | BinaryEncodingId [get] |
Returns the UA type identifier for the default binary encoding for the type. | |
ExpandedNodeId | XmlEncodingId [get] |
Returns the UA type identifier for the default XML encoding for the type. | |
UnifiedAutomation.UaBase.UserIdentityToken.UserIdentityToken | ( | ) |
The default constructor.
|
virtual |
Decrypts the token (implemented by the subclass).
Reimplemented in UnifiedAutomation.UaBase.IssuedIdentityToken, and UnifiedAutomation.UaBase.UserNameIdentityToken.
|
virtual |
Encrypts the token (implemented by the subclass).
Reimplemented in UnifiedAutomation.UaBase.IssuedIdentityToken, and UnifiedAutomation.UaBase.UserNameIdentityToken.
|
virtual |
Creates a signature with the token (implemented by the subclass).
Reimplemented in UnifiedAutomation.UaBase.IssuedIdentityToken, and UnifiedAutomation.UaBase.X509IdentityToken.
|
virtual |
Verifies a signature created with the token (implemented by the subclass).
Reimplemented in UnifiedAutomation.UaBase.IssuedIdentityToken, and UnifiedAutomation.UaBase.X509IdentityToken.
|
getset |
The policy id specified in a user token policy for the endpoint being used.
|
getset |
Gets or sets the user data.
The user data.