Create a secretBag safeBag with the supplied ASN.1 value.
Synopsis
Declared in <openssl/pkcs12.h>
PKCS12_SAFEBAG*
PKCS12_SAFEBAG_create_secret(
int type,
int vtype,
unsigned char const* value,
int len);
Return Value
New safeBag, or NULL on error.
Parameters
Name |
Description |
type |
NID tagging the secret contents. |
vtype |
ASN.1 type of |
value |
Octets of the secret value. |
len |
Length of |
Created with MrDocs