instance method
OpenSSL::SSL::SSLSocket#sigalg
ssl.sigalg => String or nil
ext/openssl/ossl_ssl.c
View on GitHub ↗
static VALUE
ossl_ssl_get_sigalg(VALUE self)
{
SSL *ssl;
const char *name;
GetSSL(self, ssl);
if (!SSL_get0_signature_name(ssl, &name))
return Qnil;
return rb_str_new_cstr(name);
}
Returns the signature algorithm name, the IANA name of the signature scheme used by the local to sign the TLS handshake.