pub type Type = u32;
Expand description
Sets whether or not a connection should enforce strict signature validation during the
s2n_async_pkey_op_apply
call.
mode
can take the following values:
S2N_ASYNC_PKEY_VALIDATION_FAST
- default behavior: s2n-tls will perform only the minimum validation required for safe use of the asyn pkey operation.S2N_ASYNC_PKEY_VALIDATION_STRICT
- in addition to the previous checks, s2n-tls will also ensure that the signature created as a result of the async private key sign operation matches the public key on the connection.