Add a certificate to a stack of X.509 certificates under flags.
Synopsis
Declared in <openssl/x509.h>
int
X509_add_cert(
stack_st_X509* sk,
X509* cert,
int flags);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
sk |
Destination certificate stack. |
cert |
Certificate to add; must not be NULL. |
flags |
Combination of X509_ADD_FLAG_* controlling reference counting, order, and duplicates. |
Created with MrDocs