Table of Contents

Class BcTlsRsaPssVerifier

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

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

public class BcTlsRsaPssVerifier : BcTlsVerifier, TlsVerifier
Inheritance
BcTlsRsaPssVerifier
Implements
Inherited Members

Constructors

BcTlsRsaPssVerifier(BcTlsCrypto, RsaKeyParameters, int)

public BcTlsRsaPssVerifier(BcTlsCrypto crypto, RsaKeyParameters publicKey, int signatureScheme)

Parameters

crypto BcTlsCrypto
publicKey RsaKeyParameters
signatureScheme int

Methods

VerifyRawSignature(DigitallySigned, byte[])

Return true if the passed in signature and hash represent a real signature.

public override bool VerifyRawSignature(DigitallySigned digitallySigned, byte[] hash)

Parameters

digitallySigned DigitallySigned

the signature object containing the signature to be verified.

hash byte[]

the hash calculated for the signature.

Returns

bool

true if signature verifies, false otherwise.

Exceptions

IOException

in case of an exception verifying signature.