ISignatureCsp
Namespace: Lacuna.Pki
Assembly: Lacuna.Pki
Interface
public interface ISignatureCsp
Propriedades
CanSign
bool CanSign { get; }
Retorno
Métodos
SignData(byte[], int, int)
byte[] SignData(byte[] buffer, int offset, int count)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
buffer | byte[] | |
offset | int | |
count | int |
Retorno
SignData(byte[])
byte[] SignData(byte[] buffer)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
buffer | byte[] |
Retorno
SignData(Stream)
byte[] SignData(Stream inputStream)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
inputStream | Stream |
Retorno
SignHash(byte[])
byte[] SignHash(byte[] hash)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
hash | byte[] |
Retorno
VerifyData(byte[], byte[])
bool VerifyData(byte[] dataSigned, byte[] signature)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
dataSigned | byte[] | |
signature | byte[] |
Retorno
VerifyHash(byte[], byte[])
bool VerifyHash(byte[] hashSigned, byte[] signature)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
hashSigned | byte[] | |
signature | byte[] |
Retorno