C# 클래스 Opc.Ua.IssuedIdentityToken

The IssuedIdentityToken class.
파일 보기 프로젝트 열기: OPCFoundation/UA-.NETStandardLibrary 1 사용 예제들

공개 메소드들

메소드 설명
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 DecryptedTokenData using the EncryptionAlgorithm and places the result in Password

Sign ( byte dataToSign, string securityPolicyUri ) : SignatureData

Creates a signature with the token.

Verify ( byte dataToVerify, SignatureData signatureData, string securityPolicyUri ) : bool

Verifies a signature created with the token.

메소드 상세

Decrypt() 공개 메소드

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
리턴 void

Encrypt() 공개 메소드

Encrypts the DecryptedTokenData 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
리턴 void

Sign() 공개 메소드

Creates a signature with the token.
public Sign ( byte dataToSign, string securityPolicyUri ) : SignatureData
dataToSign byte
securityPolicyUri string
리턴 SignatureData

Verify() 공개 메소드

Verifies a signature created with the token.
public Verify ( byte dataToVerify, SignatureData signatureData, string securityPolicyUri ) : bool
dataToVerify byte
signatureData SignatureData
securityPolicyUri string
리턴 bool