instance method
OpenSSL::SSL::SSLContext#client_sigalgs=
ctx.client_sigalgs = "sigalg1:sigalg2:..."
ext/openssl/ossl_ssl.c
View on GitHub ↗
static VALUE
ossl_sslctx_set_client_sigalgs(VALUE self, VALUE v)
{
SSL_CTX *ctx;
rb_check_frozen(self);
GetSSLCTX(self, ctx);
if (!SSL_CTX_set1_client_sigalgs_list(ctx, StringValueCStr(v)))
ossl_raise(eSSLError, "SSL_CTX_set1_client_sigalgs_list");
return v;
}
Sets the list of “supported signature algorithms” for client authentication for this context.
For a TLS server, the list is sent to the client as part of the CertificateRequest message.
See also sigalgs= for the server authentication equivalent.