Home | History | Annotate | Download | only in pkcs12

Lines Matching refs:pkcs12

61 #include <openssl/pkcs12.h>
63 /* Initialise a PKCS12 structure to take data */
65 PKCS12 *PKCS12_init(int mode)
67 PKCS12 *pkcs12;
68 if (!(pkcs12 = PKCS12_new())) {
72 ASN1_INTEGER_set(pkcs12->version, 3);
73 pkcs12->authsafes->type = OBJ_nid2obj(mode);
76 if (!(pkcs12->authsafes->d.data =
88 return pkcs12;
90 if (pkcs12 != NULL) PKCS12_free(pkcs12);