Found 9 other functions taking a
tlsv1_credentials
argument:
tlsv1_set_ca_cert - Set trusted CA certificate(s) @cred: TLSv1 credentials from tlsv1_cred_alloc() @cert: File or reference name for X.509 certificate in PEM or DER format @cert_blob: cert as inlined data or %NULL if not used @cert_blob_len: ca_cert_blob length @path: Path to CA certificates (not yet supported) Returns: 0 on success, -1 on failure
tlsv1_set_private_key - Set private key @cred: TLSv1 credentials from tlsv1_cred_alloc() @private_key: File or reference name for the key in PEM or DER format @private_key_passwd: Passphrase for decrypted private key, %NULL if no passphrase is used. @private_key_blob: private_key as inlined data or %NULL if not used @private_key_blob_len: private_key_blob length Returns: 0 on success, -1 on failure
tlsv1_client_set_cred - Set client credentials @conn: TLSv1 client connection data from tlsv1_client_init() @cred: Credentials from tlsv1_cred_alloc() Returns: 0 on success, -1 on failure On success, the client takes ownership of the credentials block and caller must not free it. On failure, caller is responsible for freeing the credential block.
tlsv1_set_dhparams - Set Diffie-Hellman parameters @cred: TLSv1 credentials from tlsv1_cred_alloc() @dh_file: File or reference name for the DH params in PEM or DER format @dh_blob: DH params as inlined data or %NULL if not used @dh_blob_len: dh_blob length Returns: 0 on success, -1 on failure