Function TLSConfiguration_setOwnKey
Source pub unsafe extern "C" fn TLSConfiguration_setOwnKey(
self_: TLSConfiguration,
key: *mut u8,
keyLen: c_int,
keyPassword: *const c_char,
) -> bool
Expand description
Set the own private key from a byte buffer
§Arguments
key - the private key to use
keyLen - the length of the key
password - the password of the key or null if the key is not password protected
§Returns
true, when the key was set, false otherwise (e.g. unknown key format)