Set the public key in a Netscape SPKI structure from pkey.

Synopsis

Declared in <openssl/x509.h>

int
NETSCAPE_SPKI_set_pubkey(
    NETSCAPE_SPKI* x,
    EVP_PKEY* pkey);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

x

SPKI whose SPKAC public‐key field is replaced.

pkey

Public key (or key pair) whose public component is encoded into x.

Created with MrDocs