text: table of contents
  NAME¶
  gnutls_certificate_set_rawpk_key_mem - API function
  SYNOPSIS¶
  #include <gnutls/gnutls.h>);
  ARGUMENTS¶
  - gnutls_certificate_credentials_t cred
  - is a gnutls_certificate_credentials_t type.
  - const gnutls_datum_t* spki
  - contains a raw public key in PKIX.SubjectPublicKeyInfo format.
  - const gnutls_datum_t* pkey
  - contains a raw private key.
  - gnutls_x509_crt_fmt_t format
  - encoding of the keys. DER or PEM.
  - const char* pass
  - an optional password to unlock the private key pkey.
  - unsigned int key_usage
  - An ORed sequence of GNUTLS_KEY_* flags.
  - const char ** names
  - is an array of DNS names belonging to the public-key (NULL if none).
  - unsigned int names_length
  - holds the length of the names list.
  - unsigned int flags
  - an ORed sequence of gnutls_pkcs_encrypt_flags_t. These apply to the private key pkey.
  DESCRIPTION¶
  This function sets a public/private keypair
  On success, GNUTLS_E_SUCCESS (0) is returned, in case the key pair does not match GNUTLS_E_CERTIFICATE_KEY_MISMATCH is returned, in other erroneous cases a different negative error code is returned.
  SINCE¶
  3.6