Show / Hide Table of Contents

Interface ISignatureCsp

Namespace: Lacuna.Pki
Assembly: Lacuna.Pki.dll
Syntax
public interface ISignatureCsp

Properties

CanSign

Declaration
bool CanSign { get; }
Property Value
Type Description
Boolean

Methods

SignData(Byte[])

Declaration
byte[] SignData(byte[] buffer)
Parameters
Type Name Description
Byte[] buffer
Returns
Type Description
Byte[]

SignData(Byte[], Int32, Int32)

Declaration
byte[] SignData(byte[] buffer, int offset, int count)
Parameters
Type Name Description
Byte[] buffer
Int32 offset
Int32 count
Returns
Type Description
Byte[]

SignData(Stream)

Declaration
byte[] SignData(Stream inputStream)
Parameters
Type Name Description
Stream inputStream
Returns
Type Description
Byte[]

SignHash(Byte[])

Declaration
byte[] SignHash(byte[] hash)
Parameters
Type Name Description
Byte[] hash
Returns
Type Description
Byte[]

VerifyData(Byte[], Byte[])

Declaration
bool VerifyData(byte[] dataSigned, byte[] signature)
Parameters
Type Name Description
Byte[] dataSigned
Byte[] signature
Returns
Type Description
Boolean

VerifyHash(Byte[], Byte[])

Declaration
bool VerifyHash(byte[] hashSigned, byte[] signature)
Parameters
Type Name Description
Byte[] hashSigned
Byte[] signature
Returns
Type Description
Boolean
Back to top Copyright © 2015-2020 Lacuna Software