Interface ISignatureCsp
Assembly: Lacuna.Pki.dll
Syntax
public interface ISignatureCsp
Properties
CanSign
Declaration
Property Value
Methods
SignData(Byte[])
Declaration
byte[] SignData(byte[] buffer)
Parameters
Type |
Name |
Description |
Byte[] |
buffer |
|
Returns
SignData(Byte[], Int32, Int32)
Declaration
byte[] SignData(byte[] buffer, int offset, int count)
Parameters
Returns
SignData(Stream)
Declaration
byte[] SignData(Stream inputStream)
Parameters
Type |
Name |
Description |
Stream |
inputStream |
|
Returns
SignHash(Byte[])
Declaration
byte[] SignHash(byte[] hash)
Parameters
Type |
Name |
Description |
Byte[] |
hash |
|
Returns
VerifyData(Byte[], Byte[])
Declaration
bool VerifyData(byte[] dataSigned, byte[] signature)
Parameters
Type |
Name |
Description |
Byte[] |
dataSigned |
|
Byte[] |
signature |
|
Returns
VerifyHash(Byte[], Byte[])
Declaration
bool VerifyHash(byte[] hashSigned, byte[] signature)
Parameters
Type |
Name |
Description |
Byte[] |
hashSigned |
|
Byte[] |
signature |
|
Returns