pub unsafe extern "C" fn s2n_cert_chain_and_key_load_public_pem_bytes(
chain_and_key: *mut s2n_cert_chain_and_key,
chain_pem: *mut u8,
chain_pem_len: u32
) -> c_int
Expand description
Associates a public certificate chain with a s2n_cert_chain_and_key
object. It does
NOT set a private key, so the connection will need to be configured to
offload private key operations.
@param chain_and_key The certificate chain and private key handle
@param chain_pem A byte array of a PEM encoded certificate chain.
@param chain_pem_len Size of chain_pem
@returns S2N_SUCCESS on success. S2N_FAILURE on failure