Home
last modified time | relevance | path

Searched refs:oldpass (Results 1 – 3 of 3) sorted by relevance

/openssl/crypto/pkcs12/
H A Dp12_npas.c20 static int newpass_p12(PKCS12 *p12, const char *oldpass, const char *newpass);
21 static int newpass_bags(STACK_OF(PKCS12_SAFEBAG) *bags, const char *oldpass,
24 static int newpass_bag(PKCS12_SAFEBAG *bag, const char *oldpass,
34 int PKCS12_newpass(PKCS12 *p12, const char *oldpass, const char *newpass) in PKCS12_newpass() argument
45 if (!PKCS12_verify_mac(p12, oldpass, -1)) { in PKCS12_newpass()
50 if (!newpass_p12(p12, oldpass, newpass)) { in PKCS12_newpass()
60 static int newpass_p12(PKCS12 *p12, const char *oldpass, const char *newpass) in newpass_p12() argument
82 bags = PKCS12_unpack_p7encdata(p7, oldpass, -1); in newpass_p12()
92 if (!newpass_bags(bags, oldpass, newpass, in newpass_p12()
155 static int newpass_bag(PKCS12_SAFEBAG *bag, const char *oldpass, in newpass_bag() argument
[all …]
/openssl/doc/man3/
H A DPKCS12_newpass.pod11 int PKCS12_newpass(PKCS12 *p12, const char *oldpass, const char *newpass);
17 B<p12> is a pointer to a PKCS12 structure. B<oldpass> is the existing password
20 Each of B<oldpass> and B<newpass> is independently interpreted as a string in
31 string "" for B<oldpass>. Using NULL for B<oldpass> will result in a
34 If the wrong password is used for B<oldpass> then the function will fail,
/openssl/include/openssl/
H A Dpkcs12.h.in338 int PKCS12_newpass(PKCS12 *p12, const char *oldpass, const char *newpass);

Completed in 9 milliseconds