LispWorks User Guide and Reference Manual > 26 The COMM Package

NextPrevUpTopContentsIndex

set-ssl-ctx-password-callback

Function
Summary

Sets the password for a SSL_CTX .

Package

comm

Signature

set-ssl-ctx-password-callback ssl-ctx &key callback password

Arguments

ssl-ctx

A foreign pointer.

callback

A function designator, or nil .

password

A string, or nil .

Description

The function set-ssl-ctx-password-callback sets the password for a SSL_CTX , either to a callback or a password.

ssl-ctx should be a foreign pointer of type ssl-ctx-pointer.

If callback is non-nil, it must be a function with signature:

callback maximum-length rwflag => result

where maximum-length is an integer, rwflag is a boolean and result is a string. The default value of callback is nil .

If password is non-nil and callback is nil , a callback is installed that simply returns password . The default value of password is nil .

If both callback and password are nil , set-ssl-ctx-password-callback signals an error.

See also

ssl-ctx-pointer


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex