.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.29) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{ . if \nF \{ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "fr::crypto::PKCS12_parse 3SSL" .TH fr::crypto::PKCS12_parse 3SSL "2015-12-31" "1.0.2a 1.0.2c" "OpenSSL" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NOM" .IX Header "NOM" PKCS12_parse \- Analyser une structure PKCS#12 .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fB#include \fR .PP int \fBPKCS12_parse\fR(\s-1PKCS12\s0 *\fIp12\fR, const char *\fIpass\fR, \s-1EVP_PKEY\s0 *\fI*clé_privée\fR, X509 *\fI*cert\fR, \s-1STACK_OF\s0(X509) *\fI*ca\fR); .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\fBPKCS12_parse\fR() analyse une structure \fB\s-1PKCS12\s0\fR. .PP \&\fIp12\fR est la structure \fB\s-1PKCS12\s0\fR à analyser. \fIpass\fR est la phrase secrète à utiliser. En cas de succès la clé privée sera écrite dans \fI*clé_privée\fR, le certificat correspondant dans \fI*cert\fR et tous les certificats additionnels dans \fI*ca\fR. .SH "NOTES" .IX Header "NOTES" Les paramètres \fIclé_privée\fR et \fIcert\fR ne peuvent pas être \s-1NULL. \s0\fIca\fR peut être \s-1NULL,\s0 dans ce cas, les certificats additionnels seront supprimés. \fI*ca\fR peut aussi être une \fB\s-1STACK\s0\fR valide, dans ce cas, les certificats additionnels seront ajoutés à \fI*ca\fR. Si \fI*ca\fR est \s-1NULL,\s0 une nouvelle \fB\s-1STACK\s0\fR sera allouée. .PP Les attributs \fBfriendlyName\fR et \fBlocalKeyID\fR (si présents) de chaque certificat seront enregistrés dans les attributs \fBalias\fR et \fBkeyid\fR de la structure \fBX509\fR. .SH "VALEURS DE RETOUR" .IX Header "VALEURS DE RETOUR" \&\fBPKCS12_parse\fR() renvoie \fB1\fR en cas de succès et \fB0\fR en cas d'erreur. .PP L'erreur peut être obtenue à partir de \fIERR_get_error\fR\|(3). .SH "BOGUES" .IX Header "BOGUES" Une seule clé privée unique et son certificat correspondant est renvoyée par cette fonction. Les fichiers PKCS#12 complexes avec plusieurs clés privées ne renverront que la première correspondance. .PP Seuls les attributs \fBfriendlyName\fR et \fBlocalKeyID\fR sont actuellement enregistrés dans les certificats. Les autres attributs sont éliminés. .PP Les attributs ne peuvent pas être enregistrés actuellement dans la structure de clé privée \fB\s-1EVP_PKEY\s0\fR. .SH "VOIR AUSSI" .IX Header "VOIR AUSSI" \&\fId2i_PKCS12\fR\|(3) .SH "HISTORIQUE" .IX Header "HISTORIQUE" \&\fBPKCS12_parse\fR a été ajouté dans la version 0.9.3 d'OpenSSL .SH "TRADUCTION" .IX Header "TRADUCTION" La traduction de cette page de manuel est maintenue par les membres de la liste . Veuillez signaler toute erreur de traduction par un rapport de bogue sur le paquet manpages-fr-extra.