Set the public key in a Netscape SPKI structure from pkey.
Declared in <openssl/x509.h>
int
NETSCAPE_SPKI_set_pubkey(
NETSCAPE_SPKI* x,
EVP_PKEY* pkey);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| x | SPKI whose SPKAC public-key field is replaced. |
| pkey | Public key (or key pair) whose public component is encoded into x. |