コンテンツにスキップ

アルゴリズム - PKCS12

Functions

Name
WC_PKCS12 * wc_PKCS12_new(void )
WC_PKCS12 * wc_PKCS12_new_ex(void * heap)
void wc_PKCS12_free(WC_PKCS12 * pkcs12)
int wc_d2i_PKCS12(const byte * der, word32 derSz, WC_PKCS12 * pkcs12)
int wc_d2i_PKCS12_fp(const char * file, WC_PKCS12 ** pkcs12)
int wc_i2d_PKCS12(WC_PKCS12 * pkcs12, byte ** der, int * derSz)
int wc_PKCS12_parse(WC_PKCS12 * pkcs12, const char * psw, byte pkey, word32 * pkeySz, byte cert, word32 * certSz, WC_DerCertList ** ca)
int wc_PKCS12_parse_ex(WC_PKCS12 * pkcs12, const char * psw, byte pkey, word32 * pkeySz, byte cert, word32 * certSz, WC_DerCertList ** ca, int keepKeyHeader)
WC_PKCS12 * wc_PKCS12_create(char * pass, word32 passSz, char * name, byte * key, word32 keySz, byte * cert, word32 certSz, WC_DerCertList * ca, int nidKey, int nidCert, int iter, int macIter, int keyType, void * heap)
void wc_FreeCertList(WC_DerCertList * list, void * heap)

Functions Documentation

function wc_PKCS12_new

WC_PKCS12 * wc_PKCS12_new(
    void 
)

function wc_PKCS12_new_ex

WC_PKCS12 * wc_PKCS12_new_ex(
    void * heap
)

function wc_PKCS12_free

void wc_PKCS12_free(
    WC_PKCS12 * pkcs12
)

function wc_d2i_PKCS12

int wc_d2i_PKCS12(
    const byte * der,
    word32 derSz,
    WC_PKCS12 * pkcs12
)

function wc_d2i_PKCS12_fp

int wc_d2i_PKCS12_fp(
    const char * file,
    WC_PKCS12 ** pkcs12
)

function wc_i2d_PKCS12

int wc_i2d_PKCS12(
    WC_PKCS12 * pkcs12,
    byte ** der,
    int * derSz
)

function wc_PKCS12_parse

int wc_PKCS12_parse(
    WC_PKCS12 * pkcs12,
    const char * psw,
    byte ** pkey,
    word32 * pkeySz,
    byte ** cert,
    word32 * certSz,
    WC_DerCertList ** ca
)

function wc_PKCS12_parse_ex

int wc_PKCS12_parse_ex(
    WC_PKCS12 * pkcs12,
    const char * psw,
    byte ** pkey,
    word32 * pkeySz,
    byte ** cert,
    word32 * certSz,
    WC_DerCertList ** ca,
    int keepKeyHeader
)

function wc_PKCS12_create

WC_PKCS12 * wc_PKCS12_create(
    char * pass,
    word32 passSz,
    char * name,
    byte * key,
    word32 keySz,
    byte * cert,
    word32 certSz,
    WC_DerCertList * ca,
    int nidKey,
    int nidCert,
    int iter,
    int macIter,
    int keyType,
    void * heap
)

function wc_FreeCertList

void wc_FreeCertList(
    WC_DerCertList * list,
    void * heap
)

Updated on 2026-09-29 at 03:57:58 +0000