.NET Based OPC UA Client/Server SDK  3.3.3.537
UnifiedAutomation.UaBase.ICryptoProvider Interface Reference

More...

Inherits IDisposable.

Inherited by UnifiedAutomation.UaBase.DefaultRsaCryptoProvider, and UnifiedAutomation.UaBase.NoSecurityCryptoProvider.

Public Member Functions

bool IsCertificateAllowed (ICertificate certificate)
 
int GetAsymmetricEncryptedDataSize (ICertificate certificate, int plainTextLength)
 
int GetAsymmetricPadding (ICertificate certificate, int plainTextLength)
 
void AsymmetricEncrypt (ICertificate certificate, ArraySegment< byte > plainText, ArraySegment< byte > cipherText)
 
int GetAsymmetricPlainTextDataSize (ICertificate certificate, int cipherTextLength)
 
void AsymmetricDecrypt (ICertificate certificate, ArraySegment< byte > cipherText, ArraySegment< byte > plainText)
 
int GetAsymmetricSignatureSize (ICertificate certificate)
 
void AsymmetricSign (ICertificate certificate, ArraySegment< byte > dataToSign, ArraySegment< byte > signature)
 
bool AsymmetricVerify (ICertificate certificate, ArraySegment< byte > dataToSign, ArraySegment< byte > signature)
 
int GetSymmetricEncryptedDataSize (int plainTextLength)
 
int GetSymmetricPadding (int plainTextLength)
 
void SymmetricEncrypt (byte[] key, byte[] iv, ArraySegment< byte > plainText, ArraySegment< byte > cipherText)
 
int GetSymmetricPlainTextDataSize (int cipherTextLength)
 
void SymmetricDecrypt (byte[] key, byte[] iv, ArraySegment< byte > cipherText, ArraySegment< byte > plainText)
 
int GetSymmetricSignatureSize ()
 
void SymmetricSign (byte[] key, ArraySegment< byte > dataToSign, ArraySegment< byte > signature)
 
bool SymmetricVerify (byte[] key, ArraySegment< byte > dataToSign, ArraySegment< byte > signature)
 
byte[][] DerviveKeys (byte[] secret, byte[] seed, params int[] lengths)
 
void GetRandomBytes (byte[] buffer, int offet, int count)
 

Properties

string SecurityProfileUri [get]
 
string AsymmetricEnryptionAlgorithmUri [get]
 
string AsymmetricSignatureAlgorithmUri [get]
 
int MinAsymmetricKeySize [get]
 
int MaxAsymmetricKeySize [get]
 
int SymmetricInitializationVectorSize [get]
 
int SymmetricSigningKeySize [get]
 
int SymmetricEncryptingKeySize [get]
 
int SymmetricBlockSize [get]
 
int SecureChannelNonceLength [get]
 
object UserData [get, set]
 

Detailed Description


The documentation for this interface was generated from the following file: