Table of Contents

Class BcTlsECDsa13Signer

Namespace
Org.BouncyCastle.Tls.Crypto.Impl.BC
Assembly
BouncyCastle.Cryptography.dll

Implementation class for generation of ECDSA signatures in TLS 1.3+ using the BC light-weight API.

public class BcTlsECDsa13Signer : BcTlsSigner, TlsSigner
Inheritance
BcTlsECDsa13Signer
Implements
Inherited Members

Constructors

BcTlsECDsa13Signer(BcTlsCrypto, ECPrivateKeyParameters, int)

public BcTlsECDsa13Signer(BcTlsCrypto crypto, ECPrivateKeyParameters privateKey, int signatureScheme)

Parameters

crypto BcTlsCrypto
privateKey ECPrivateKeyParameters
signatureScheme int

Methods

GenerateRawSignature(SignatureAndHashAlgorithm, byte[])

Generate an encoded signature based on the passed in hash.

public override byte[] GenerateRawSignature(SignatureAndHashAlgorithm algorithm, byte[] hash)

Parameters

algorithm SignatureAndHashAlgorithm

the signature algorithm to use.

hash byte[]

the hash calculated for the signature.

Returns

byte[]

an encoded signature.

Exceptions

IOException

in case of an exception processing the hash.