Interface IEncryptionCsp
Namespace: Lacuna.Pki
Assembly: Lacuna.Pki.dll
Syntax
public interface IEncryptionCsp
Properties
CanDecrypt
Declaration
bool CanDecrypt { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Decrypt(Byte[], EncryptionParameters)
Declaration
byte[] Decrypt(byte[] data, EncryptionParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | data | |
EncryptionParameters | parameters |
Returns
Type | Description |
---|---|
Byte[] |
Encrypt(Byte[], EncryptionParameters)
Declaration
byte[] Encrypt(byte[] data, EncryptionParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | data | |
EncryptionParameters | parameters |
Returns
Type | Description |
---|---|
Byte[] |