[#PKCS12_SAFEBAG_create_secret] = PKCS12_SAFEBAG_create_secret :mrdocs: Create a secretBag safeBag with the supplied ASN.1 value. == Synopsis Declared in `<openssl/pkcs12.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:PKCS12_SAFEBAG.adoc[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 [cols="1,4"] |=== | Name| Description | *type* | NID tagging the secret contents. | *vtype* | ASN.1 type of `value.` | *value* | Octets of the secret value. | *len* | Length of `value` in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#