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

Name

Description

str

Base64 text of a SignedPublicKeyAndChallenge.

len

Length of str in bytes, or ‐1 if str is NUL‐terminated.

Created with MrDocs