Table of Contents

Class BcTlsRsaPssSigner

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

Operator supporting the generation of RSASSA-PSS signatures using the BC light-weight API.

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

Constructors

BcTlsRsaPssSigner(BcTlsCrypto, RsaKeyParameters, int)

public BcTlsRsaPssSigner(BcTlsCrypto crypto, RsaKeyParameters privateKey, int signatureScheme)

Parameters

crypto BcTlsCrypto
privateKey RsaKeyParameters
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.