Sign a Netscape SPKI with a private key and message digest.
Synopsis
Declared in <openssl/x509.h>
int
NETSCAPE_SPKI_sign(
NETSCAPE_SPKI* x,
EVP_PKEY* pkey,
EVP_MD const* md);
Return Value
Number of bytes in the signature on success, or 0 on failure.
Parameters
Name |
Description |
x |
SPKI whose SPKAC payload is signed; signature fields are updated in place. |
pkey |
Private key used to create the signature. |
md |
Digest algorithm, or NULL to use the key type's default. |
Created with MrDocs