C# Class Opc.Ua.UserNameIdentityToken

The UserIdentityToken class.
ファイルを表示 Open project: OPCFoundation/UA-.NETStandardLibrary Class Usage Examples

Public Methods

Method Description
Decrypt ( X509Certificate2 certificate, byte senderNonce, string securityPolicyUri ) : void

Decrypts the Password using the EncryptionAlgorithm and places the result in DecryptedPassword

Encrypt ( X509Certificate2 certificate, byte senderNonce, string securityPolicyUri ) : void

Encrypts the DecryptedPassword using the EncryptionAlgorithm and places the result in Password

Method Details

Decrypt() public method

Decrypts the Password using the EncryptionAlgorithm and places the result in DecryptedPassword
public Decrypt ( X509Certificate2 certificate, byte senderNonce, string securityPolicyUri ) : void
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
senderNonce byte
securityPolicyUri string
return void

Encrypt() public method

Encrypts the DecryptedPassword using the EncryptionAlgorithm and places the result in Password
public Encrypt ( X509Certificate2 certificate, byte senderNonce, string securityPolicyUri ) : void
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
senderNonce byte
securityPolicyUri string
return void