Table of Contents

Class LegacyTls13Verifier

Namespace
Org.BouncyCastle.Tls.Crypto.Impl
Assembly
BouncyCastle.Cryptography.dll
public sealed class LegacyTls13Verifier : TlsVerifier
Inheritance
LegacyTls13Verifier
Implements
Inherited Members

Constructors

LegacyTls13Verifier(int, Tls13Verifier)

public LegacyTls13Verifier(int signatureScheme, Tls13Verifier tls13Verifier)

Parameters

signatureScheme int
tls13Verifier Tls13Verifier

Methods

GetStreamVerifier(DigitallySigned)

public TlsStreamVerifier GetStreamVerifier(DigitallySigned digitallySigned)

Parameters

digitallySigned DigitallySigned

Returns

TlsStreamVerifier

Exceptions

IOException

VerifyRawSignature(DigitallySigned, byte[])

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

public 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.