Add a Microsoft CSP Name attribute (ASCII) to a safeBag.

Synopsis

Declared in <openssl/pkcs12.h>

int
PKCS12_add_CSPName_asc(
    PKCS12_SAFEBAG* bag,
    char const* name,
    int namelen);

Return Value

1 on success, 0 on failure.

Parameters

Name

Description

bag

SafeBag to modify.

name

ASCII CSP name.

namelen

Length of name in bytes, or ‐1 for strlen().

Created with MrDocs