class

Beryl::TLS::Messages::CertificateVerify

Inherits Reference < Object

CertificateVerify (RFC 9846 §4.4.3).

Constructors

decode(body : Bytes) : CertificateVerify

An empty signature is well formed (opaque signature<0..2^16-1>) and fails verification, so it ends the handshake with decrypt_error.

Source
new(signature_scheme_value : UInt16, signature : Bytes)
Source

Class methods

signed_content(transcript_digest : Bytes, *, is_server : Bool) : Bytes

The bytes a CertificateVerify signs: 64 spaces, the context string, a zero byte and the transcript hash (§4.4.3).

Source

Instance methods

encode
Source
signature
Source
signature_scheme_value
Source