Generic Function | Package: socket | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## get-ssl-peer-certificate

Arguments: stream

get-ssl-peer-certificate returns an `x509-certificate` object representing the certificate that the peer supplied. If the peer did not supply a certificate, `nil` is returned. The `x509-certificate` is created the first time this function is called on a stream.

stream must be an SSL client or server stream (such as is created by make-ssl-server-stream and make-ssl-client-stream).

Note that get-ssl-peer-certificate automatically calls ssl-do-handshake if SSL handshake has not already occurred.

See socket.htm.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version