/netbsd-current/crypto/external/bsd/openssl.old/dist/include/openssl/ |
H A D | pkcs12.h | 45 typedef struct PKCS12_st PKCS12; typedef in typeref:struct:PKCS12_st 78 int PKCS12_mac_present(const PKCS12 *p12); 83 const PKCS12 *p12); 128 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes); 129 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(const PKCS12 *p12); 159 PKCS12 *PKCS12_init(int mode); 172 int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, 174 int PKCS12_verify_mac(PKCS12 *p12, const char *pass, int passlen); 175 int PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, 178 int PKCS12_setup_mac(PKCS12 *p1 [all...] |
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/pkcs12/ |
H A D | p12_init.c | 16 /* Initialise a PKCS12 structure to take data */ 18 PKCS12 *PKCS12_init_ex(int mode, OSSL_LIB_CTX *ctx, const char *propq) 20 PKCS12 *pkcs12; 54 PKCS12 *PKCS12_init(int mode)
|
H A D | p12_asn.c | 18 ASN1_SEQUENCE(PKCS12) = { variable 19 ASN1_SIMPLE(PKCS12, version, ASN1_INTEGER), 20 ASN1_SIMPLE(PKCS12, authsafes, PKCS7), 21 ASN1_OPT(PKCS12, mac, PKCS12_MAC_DATA) 22 } ASN1_SEQUENCE_END(PKCS12) 24 IMPLEMENT_ASN1_FUNCTIONS(PKCS12)
|
H A D | p12_utl.c | 227 int i2d_PKCS12_bio(BIO *bp, const PKCS12 *p12) 229 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(PKCS12), bp, p12); 233 int i2d_PKCS12_fp(FILE *fp, const PKCS12 *p12) 235 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(PKCS12), fp, p12); 239 PKCS12 *d2i_PKCS12_bio(BIO *bp, PKCS12 **p12) 241 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(PKCS12), bp, p12); 245 PKCS12 *d2i_PKCS12_fp(FILE *fp, PKCS12 **p12) 247 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(PKCS12), f [all...] |
H A D | p12_mutl.c | 24 int PKCS12_mac_present(const PKCS12 *p12) 33 const PKCS12 *p12) 76 static int pkcs12_gen_mac(PKCS12 *p12, const char *pass, int passlen, 178 int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, 185 int PKCS12_verify_mac(PKCS12 *p12, const char *pass, int passlen) 209 int PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, 242 int PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, int saltlen,
|
H A D | p12_crt.c | 37 PKCS12 *PKCS12_create_ex(const char *pass, const char *name, EVP_PKEY *pkey, 42 PKCS12 *p12 = NULL; 148 PKCS12 *PKCS12_create(const char *pass, const char *name, EVP_PKEY *pkey, X509 *cert, 336 PKCS12 *PKCS12_add_safes_ex(STACK_OF(PKCS7) *safes, int nid_p7, 339 PKCS12 *p12; 356 PKCS12 *PKCS12_add_safes(STACK_OF(PKCS7) *safes, int nid_p7)
|
H A D | p12_kiss.c | 17 static int parse_pk12(PKCS12 *p12, const char *pass, int passlen, 33 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, 44 /* Check for NULL PKCS12 structure */ 136 static int parse_pk12(PKCS12 *p12, const char *pass, int passlen,
|
H A D | p12_npas.c | 20 static int newpass_p12(PKCS12 *p12, const char *oldpass, const char *newpass); 32 int PKCS12_newpass(PKCS12 *p12, const char *oldpass, const char *newpass) 34 /* Check for NULL PKCS12 structure */ 58 static int newpass_p12(PKCS12 *p12, const char *oldpass, const char *newpass)
|
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/pkcs12/ |
H A D | p12_init.c | 15 /* Initialise a PKCS12 structure to take data */ 17 PKCS12 *PKCS12_init(int mode) 19 PKCS12 *pkcs12;
|
H A D | p12_asn.c | 18 ASN1_SEQUENCE(PKCS12) = { variable 19 ASN1_SIMPLE(PKCS12, version, ASN1_INTEGER), 20 ASN1_SIMPLE(PKCS12, authsafes, PKCS7), 21 ASN1_OPT(PKCS12, mac, PKCS12_MAC_DATA) 22 } ASN1_SEQUENCE_END(PKCS12) 24 IMPLEMENT_ASN1_FUNCTIONS(PKCS12)
|
H A D | p12_utl.c | 222 int i2d_PKCS12_bio(BIO *bp, PKCS12 *p12) 224 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(PKCS12), bp, p12); 228 int i2d_PKCS12_fp(FILE *fp, PKCS12 *p12) 230 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(PKCS12), fp, p12); 234 PKCS12 *d2i_PKCS12_bio(BIO *bp, PKCS12 **p12) 236 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(PKCS12), bp, p12); 240 PKCS12 *d2i_PKCS12_fp(FILE *fp, PKCS12 **p12) 242 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(PKCS12), f [all...] |
H A D | p12_mutl.c | 18 int PKCS12_mac_present(const PKCS12 *p12) 27 const PKCS12 *p12) 70 static int pkcs12_gen_mac(PKCS12 *p12, const char *pass, int passlen, 143 int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, 150 int PKCS12_verify_mac(PKCS12 *p12, const char *pass, int passlen) 175 int PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, 206 int PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, int saltlen,
|
H A D | p12_crt.c | 31 PKCS12 *PKCS12_create(const char *pass, const char *name, EVP_PKEY *pkey, X509 *cert, 35 PKCS12 *p12 = NULL; 275 PKCS12 *PKCS12_add_safes(STACK_OF(PKCS7) *safes, int nid_p7) 277 PKCS12 *p12;
|
H A D | p12_add.c | 147 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes) 155 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(const PKCS12 *p12)
|
H A D | p12_kiss.c | 16 static int parse_pk12(PKCS12 *p12, const char *pass, int passlen, 32 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, 43 /* Check for NULL PKCS12 structure */ 131 static int parse_pk12(PKCS12 *p12, const char *pass, int passlen,
|
H A D | p12_npas.c | 20 static int newpass_p12(PKCS12 *p12, const char *oldpass, const char *newpass); 32 int PKCS12_newpass(PKCS12 *p12, const char *oldpass, const char *newpass) 34 /* Check for NULL PKCS12 structure */ 59 static int newpass_p12(PKCS12 *p12, const char *oldpass, const char *newpass)
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/hx509/ |
H A D | test_query.in | 48 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null || exit 1 59 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null || exit 1 65 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null || exit 1 71 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null && exit 1 86 PKCS12:$srcdir/data/test-nopw.p12 >/dev/null 2>/dev/null || exit 1 92 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null || exit 1 98 PKCS12:$srcdir/data/sub-cert.p12 >/dev/null 2>/dev/null && exit 1 105 PKCS12:$srcdir/data/test.p12 > /dev/null || exit 1 112 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null && exit 1
|
H A D | test_nist_pkcs12.in | 66 if ${hxtool} validate $pass PKCS12:$a > /dev/null; then
|
/netbsd-current/crypto/external/bsd/openssl/dist/test/helpers/ |
H A D | pkcs12.c | 39 static int write_p12(PKCS12 *p12, const char *outfile); 41 static PKCS12 *from_bio_p12(BIO *bio, const PKCS12_ENC *mac); 42 static PKCS12 *read_p12(const char *infile, const PKCS12_ENC *mac); 43 static int check_p12_mac(PKCS12 *p12, const PKCS12_ENC *mac); 100 * PKCS12 builder 145 /* Generate the PKCS12 encoding and write to memory bio */ 148 PKCS12 *p12; 193 static int write_p12(PKCS12 *p12, const char *outfile) 209 static PKCS12 *from_bio_p12(BIO *bio, const PKCS12_ENC *mac) 211 PKCS12 *p1 [all...] |
/netbsd-current/crypto/external/bsd/openssl.old/dist/demos/pkcs12/ |
H A D | pkread.c | 18 static char *find_friendly_name(PKCS12 *p12) 54 PKCS12 *p12 = NULL;
|
H A D | pkwrite.c | 23 PKCS12 *p12;
|
/netbsd-current/crypto/external/bsd/openssl/dist/demos/pkcs12/ |
H A D | pkread.c | 18 static char *find_friendly_name(PKCS12 *p12) 54 PKCS12 *p12 = NULL;
|
H A D | pkwrite.c | 23 PKCS12 *p12;
|
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/err/ |
H A D | err_all_legacy.c | 95 IMPLEMENT_LEGACY_ERR_LOAD(PKCS12)
|
/netbsd-current/crypto/external/bsd/openssl.old/dist/apps/ |
H A D | CA.pl.in | 33 my $PKCS12 = "$openssl pkcs12"; 168 $RET = run("$PKCS12 -in $NEWCERT -inkey $NEWKEY"
|