Barrelfish
|
Functions | |
STACK_OF (X509_NAME) | |
int | SSL_add_file_cert_subjects_to_stack (STACK_OF(X509_NAME)*stack, const char *file) |
int | SSL_add_dir_cert_subjects_to_stack (STACK_OF(X509_NAME)*stack, const char *dir) |
int SSL_add_dir_cert_subjects_to_stack | ( | STACK_OF(X509_NAME)* | stack, |
const char * | dir | ||
) |
Add a directory of certs to a stack.
stack | the stack to append to. |
dir | the directory to append from. All files in this directory will be examined as potential certs. Any that are acceptable to SSL_add_dir_cert_subjects_to_stack() that are not already in the stack will be included. |
stack
. int SSL_add_file_cert_subjects_to_stack | ( | STACK_OF(X509_NAME)* | stack, |
const char * | file | ||
) |
Add a file of certs to a stack.
stack | the stack to add to. |
file | the file to add from. All certs in this file that are not already in the stack will be added. |
stack
. STACK_OF | ( | X509_NAME | ) |
Load CA certs from a file into a ::STACK. Note that it is somewhat misnamed; it doesn't really have anything to do with clients (except that a common use for a stack of CAs is to send it to the client). Actually, it doesn't have much to do with CAs, either, since it will load any old cert.
file | the file containing one or more certs. |