|  | Home | Libraries | People | FAQ | More | 
Use a certificate from a memory buffer.
void use_certificate(
    const const_buffer & certificate,
    file_format format,
    boost::system::error_code & ec);
This function is used to load a certificate into the context from a buffer.
The buffer containing the certificate.
The certificate format (ASN.1 or PEM).
Set to indicate what error occurred, if any.
            Calls SSL_CTX_use_certificate or SSL_CTX_use_certificate_ASN1.