X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=doc%2Fssl.pod;h=46ee443f5753185fb41916a19eff05534ff1ffbe;hp=ab839c055c0ba33508ff6ffa98c5df20b818fb65;hb=5059658219465c2e3e15f45c5ca3a0d251cd5fba;hpb=9f28c57cea35cf6b11beec154184ec387cd9d22c diff --git a/doc/ssl.pod b/doc/ssl.pod index ab839c055c..46ee443f57 100644 --- a/doc/ssl.pod +++ b/doc/ssl.pod @@ -310,7 +310,22 @@ protocol context defined in the B structure. =item long B(SSL_CTX *ctx, RSA *rsa); -=item long B(SSL_CTX *ctx, RSA *(*cb)(void)); +=item SSL_CTX_set_tmp_rsa_callback + +C(SSL_CTX *B, RSA *(*B)(SSL *B, int B, int B));> + +Sets the callback which will be called when a temporary private key is +required. The B> flag will be set if the reason for needing +a temp key is that an export ciphersuite is in use, in which case, +B> will contain the required keylength in bits. Generate a key of +appropriate size (using ???) and return it. + +=item SSL_set_tmp_rsa_callback + +long B(SSL *ssl, RSA *(*cb)(SSL *ssl, int export, int keylength)); + +The same as L<"SSL_CTX_set_tmp_rsa_callback">, except it operates on an SSL +session instead of a context. =item void B(SSL_CTX *ctx, int mode, int (*cb);(void)) @@ -382,6 +397,10 @@ connection defined in the B structure. =item int B(SSL *ssl); +=item int B(STACK *stack, const char *dir); + +=item int B(STACK *stack, const char *file); + =item int B(SSL *ssl, X509 *x); =item char *B(int value);