Pular para o conteúdo principal

ISignatureCsp

Namespace: Lacuna.Pki
Assembly: Lacuna.Pki
Interface

public interface ISignatureCsp

Propriedades​

CanSign​

bool CanSign { get; }

Retorno

bool


Métodos​

SignData(byte[], int, int)​

byte[] SignData(byte[] buffer, int offset, int count)

Parâmetros

NomeTipoDescrição
bufferbyte[]
offsetint
countint

Retorno

byte[]


SignData(byte[])​

byte[] SignData(byte[] buffer)

Parâmetros

NomeTipoDescrição
bufferbyte[]

Retorno

byte[]


SignData(Stream)​

byte[] SignData(Stream inputStream)

Parâmetros

NomeTipoDescrição
inputStreamStream

Retorno

byte[]


SignHash(byte[])​

byte[] SignHash(byte[] hash)

Parâmetros

NomeTipoDescrição
hashbyte[]

Retorno

byte[]


VerifyData(byte[], byte[])​

bool VerifyData(byte[] dataSigned, byte[] signature)

Parâmetros

NomeTipoDescrição
dataSignedbyte[]
signaturebyte[]

Retorno

bool


VerifyHash(byte[], byte[])​

bool VerifyHash(byte[] hashSigned, byte[] signature)

Parâmetros

NomeTipoDescrição
hashSignedbyte[]
signaturebyte[]

Retorno

bool


View as Markdown