instance method
OpenSSL::X509::Name#hash
() -> ::Integer
name.hash => integer
ext/openssl/ossl_x509name.c
View on GitHub ↗
static VALUE
ossl_x509name_hash(VALUE self)
{
X509_NAME *name;
unsigned long hash;
GetX509Name(self, name);
hash = X509_NAME_hash(name);
return ULONG2NUM(hash);
}
The hash value returned is suitable for use as a certificate’s filename in a CA path.