Table of Contents

Interface TlsCredentialedSigner

Namespace
Org.BouncyCastle.Tls
Assembly
BouncyCastle.Cryptography.dll

Support interface for generating a signature based on our private credentials.

public interface TlsCredentialedSigner : TlsCredentials
Inherited Members

Properties

SignatureAndHashAlgorithm

Return the algorithm IDs for the signature algorithm and the associated hash it uses.

SignatureAndHashAlgorithm SignatureAndHashAlgorithm { get; }

Property Value

SignatureAndHashAlgorithm

the full algorithm details for the signature.

Methods

GenerateRawSignature(byte[])

Generate a signature against the passed in hash.

byte[] GenerateRawSignature(byte[] hash)

Parameters

hash byte[]

a message digest calculated across the message the signature is to apply to.

Returns

byte[]

an encoded signature.

Exceptions

IOException

if the hash cannot be processed, or there is an issue with the private credentials.

GetStreamSigner()

TlsStreamSigner GetStreamSigner()

Returns

TlsStreamSigner

Exceptions

IOException