instance method
OpenSSL::Netscape::SPKI#challenge
() -> ::String
spki.challenge => string
ext/openssl/ossl_ns_spki.c
View on GitHub ↗
static VALUE
ossl_spki_get_challenge(VALUE self)
{
NETSCAPE_SPKI *spki;
GetSPKI(self, spki);
if (ASN1_STRING_length(spki->spkac->challenge) <= 0) {
OSSL_Debug("Challenge.length <= 0?");
return rb_str_new(0, 0);
}
return asn1str_to_str(spki->spkac->challenge);
}
Returns the challenge string associated with this SPKI.