UA Bundle SDK .NET
2.1.2.227
|
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... | |
A token representing a user identified by an X509 certificate.
The X509IdentityToken class.
<exclude>
UnifiedAutomation.UaBase.X509IdentityToken.X509IdentityToken | ( | ) |
The default constructor.
|
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.
string UnifiedAutomation.UaBase.X509IdentityToken.ToString | ( | string | format, |
IFormatProvider | formatProvider | ||
) |
Returns a System.String that represents this instance.
format | The format. |
formatProvider | The format provider. |
|
virtual |
Verifies a signature created with the token.
Reimplemented from UnifiedAutomation.UaBase.UserIdentityToken.
|
getset |
The certificate associated with the token.
The certificate.
|
getset |
The certificate.