.\" 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::ssl::SSL_get_peer_certificate 3SSL" .TH fr::ssl::SSL_get_peer_certificate 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" SSL_get_peer_certificate \- Obtenir le certificat X509 du pair .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 1 \& #include \& \& X509 *SSL_get_peer_certificate(const SSL *ssl); .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\fBSSL_get_peer_certificate\fR() renvoie un pointeur vers le certificat X509 que le pair a présenté. Si le pair n'a pas présenté de certificat, \s-1NULL\s0 est renvoyé. .SH "NOTES" .IX Header "NOTES" À cause de la définition du protocole, un serveur \s-1TLS\s0 ou \s-1SSL\s0 enverra toujours un certificat, si présent. Un client n'enverra de certificat que s'il lui est explicitement demandé par le serveur (consultez \&\fISSL_CTX_set_verify\fR\|(3)). Si un algorithme de chiffrement anonyme est utilisé, aucun certificat n'est envoyé. .PP Qu'un certificat soit renvoyé n'indique pas de renseignements sur l'état de vérification, utilisez \fISSL_get_verify_result\fR\|(3) pour consulter l'état de vérification. .PP Le compteur de références de l'objet X509 est incrémenté d'un, de tel sorte qu'il ne soit pas détruit lorsqu'une session contenant le certificat du pair est libérée. L'objet X509 doit être explicitement libéré avec \&\fBX509_free\fR(). .SH "VALEURS DE RETOUR" .IX Header "VALEURS DE RETOUR" Les valeurs suivantes peuvent être renvoyées. .IP "\s-1NULL\s0" 4 .IX Item "NULL" Aucun certificat n'a été présenté par le pair ou aucune connexion n'a été établie. .IP "Pointeur vers un certificat X509" 4 .IX Item "Pointeur vers un certificat X509" La valeur de retour pointe vers le certificat présenté par le pair. .SH "VOIR AUSSI" .IX Header "VOIR AUSSI" \&\fIssl\fR\|(3), \fISSL_get_verify_result\fR\|(3), \&\fISSL_CTX_set_verify\fR\|(3) .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.