NETSCAPE_SPKI_b64_decode

Decode a base64-encoded Netscape SPKI structure from a string.

Synopsis

Declared in <openssl/x509.h>

NETSCAPE_SPKI*
NETSCAPE_SPKI_b64_decode(
    char const* str,
    int len);

Return Value

Newly allocated NETSCAPE_SPKI, or NULL on error; free with NETSCAPE_SPKI_free().

Parameters

NameDescription
strBase64 text of a SignedPublicKeyAndChallenge.
lenLength of str in bytes, or -1 if str is NUL-terminated.