Top Fields Constructors Methods
org.bouncycastle.tls.crypto.impl

public final Class LegacyTls13Verifier

extends Object
implements TlsVerifier
Class Inheritance
All Implemented Interfaces
org.bouncycastle.tls.crypto.TlsVerifier
Imports
java.io.IOException, .OutputStream, org.bouncycastle.tls.DigitallySigned, .SignatureAndHashAlgorithm, .SignatureScheme, .TlsUtils, org.bouncycastle.tls.crypto.Tls13Verifier, .TlsStreamVerifier, .TlsVerifier

Field Summary

Modifier and TypeField and Description
private final int
private final Tls13Verifier

Constructor Summary

AccessConstructor and Description
public
LegacyTls13Verifier(int signatureScheme, Tls13Verifier tls13Verifier)

Method Summary

Modifier and TypeMethod and Description
public TlsStreamVerifier
public boolean
verifyRawSignature(DigitallySigned
the signature object containing the signature to be verified.
digitallySigned
,
byte[]
the hash calculated for the signature.
hash
)

Implements org.bouncycastle.tls.crypto.TlsVerifier.verifyRawSignature.

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

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

signatureSchemeback to summary
private final int signatureScheme
tls13Verifierback to summary
private final Tls13Verifier tls13Verifier

Constructor Detail

LegacyTls13Verifierback to summary
public LegacyTls13Verifier(int signatureScheme, Tls13Verifier tls13Verifier)

Method Detail

getStreamVerifierback to summary
public TlsStreamVerifier getStreamVerifier(DigitallySigned digitallySigned) throws IOException

Implements org.bouncycastle.tls.crypto.TlsVerifier.getStreamVerifier.

verifyRawSignatureback to summary
public boolean verifyRawSignature(DigitallySigned digitallySigned, byte[] hash) throws IOException

Implements org.bouncycastle.tls.crypto.TlsVerifier.verifyRawSignature.

Doc from org.bouncycastle.tls.crypto.TlsVerifier.verifyRawSignature.

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

Parameters
digitallySigned:DigitallySigned

the signature object containing the signature to be verified.

hash:byte[]

the hash calculated for the signature.

Returns:boolean

true if signature verifies, false otherwise.

Exceptions
IOException:
in case of an exception verifying signature.