/**
* gnutls_x509_crt_set_dn_by_oid - Set the Certificate request subject's distinguished name
- * @crt: should contain a gnutls_x509_crt_t structure
+ * @crt: a certificate of type #gnutls_x509_crt_t
* @oid: holds an Object Identifier in a null terminated string
* @raw_flag: must be 0, or 1 if the data are DER encoded
* @name: a pointer to the name
/**
* gnutls_x509_crt_set_issuer_dn_by_oid - Set the Certificate request issuer's distinguished name
- * @crt: should contain a gnutls_x509_crt_t structure
+ * @crt: a certificate of type #gnutls_x509_crt_t
* @oid: holds an Object Identifier in a null terminated string
* @raw_flag: must be 0, or 1 if the data are DER encoded
* @name: a pointer to the name
/**
* gnutls_x509_crt_set_version - Set the Certificate request version
- * @crt: should contain a gnutls_x509_crt_t structure
+ * @crt: a certificate of type #gnutls_x509_crt_t
* @version: holds the version number. For X.509v1 certificates must be 1.
*
* This function will set the version of the certificate. This must
/**
* gnutls_x509_crt_set_key - This function will associate the Certificate with a key
- * @crt: should contain a gnutls_x509_crt_t structure
+ * @crt: a certificate of type #gnutls_x509_crt_t
* @key: holds a private key
*
* This function will set the public parameters from the given
/**
* gnutls_x509_crt_set_crq - Associate the Certificate with a request
- * @crt: should contain a gnutls_x509_crt_t structure
+ * @crt: a certificate of type #gnutls_x509_crt_t
* @crq: holds a certificate request
*
* This function will set the name and public parameters from the
/**
* gnutls_x509_crt_set_extension_by_oid - Set an arbitrary extension
- * @crt: should contain a gnutls_x509_crt_t structure
+ * @crt: a certificate of type #gnutls_x509_crt_t
* @oid: holds an Object Identified in null terminated string
* @buf: a pointer to a DER encoded data
* @sizeof_buf: holds the size of @buf
/**
* gnutls_x509_crt_set_basic_constraints - Set the basicConstraints extension
- * @crt: should contain a gnutls_x509_crt_t structure
+ * @crt: a certificate of type #gnutls_x509_crt_t
* @ca: true(1) or false(0). Depending on the Certificate authority status.
* @pathLenConstraint: non-negative values indicate maximum length of path,
* and negative values indicate that the pathLenConstraints field should
/**
* gnutls_x509_crt_set_ca_status - Set the basicConstraints extension
- * @crt: should contain a gnutls_x509_crt_t structure
+ * @crt: a certificate of type #gnutls_x509_crt_t
* @ca: true(1) or false(0). Depending on the Certificate authority status.
*
* This function will set the basicConstraints certificate extension.
/**
* gnutls_x509_crt_set_key_usage - Set the keyUsage extension
- * @crt: should contain a gnutls_x509_crt_t structure
+ * @crt: a certificate of type #gnutls_x509_crt_t
* @usage: an ORed sequence of the GNUTLS_KEY_* elements.
*
* This function will set the keyUsage certificate extension.
/**
* gnutls_x509_crt_set_subject_alternative_name - Set the subject Alternative Name
- * @crt: should contain a gnutls_x509_crt_t structure
+ * @crt: a certificate of type #gnutls_x509_crt_t
* @type: is one of the gnutls_x509_subject_alt_name_t enumerations
* @data_string: The data to be set, a zero terminated string
*
/**
* gnutls_x509_crt_set_subject_alt_name - Set the subject Alternative Name
- * @crt: should contain a gnutls_x509_crt_t structure
+ * @crt: a certificate of type #gnutls_x509_crt_t
* @type: is one of the gnutls_x509_subject_alt_name_t enumerations
* @data: The data to be set
* @data_size: The size of data to be set
/**
* gnutls_x509_crt_set_proxy - Set the proxyCertInfo extension
- * @crt: should contain a gnutls_x509_crt_t structure
+ * @crt: a certificate of type #gnutls_x509_crt_t
* @pathLenConstraint: non-negative values indicate maximum length of path,
* and negative values indicate that the pathLenConstraints field should
* not be present.
/**
* gnutls_x509_crt_sign2 - Sign a certificate with a key
- * @crt: should contain a gnutls_x509_crt_t structure
+ * @crt: a certificate of type #gnutls_x509_crt_t
* @issuer: is the certificate of the certificate issuer
* @issuer_key: holds the issuer's private key
* @dig: The message digest to use, %GNUTLS_DIG_SHA1 is a safe choice
/**
* gnutls_x509_crt_sign - Sign a certificate with a key
- * @crt: should contain a gnutls_x509_crt_t structure
+ * @crt: a certificate of type #gnutls_x509_crt_t
* @issuer: is the certificate of the certificate issuer
* @issuer_key: holds the issuer's private key
*
/**
* gnutls_x509_crt_set_activation_time - Set the Certificate's activation time
- * @cert: should contain a gnutls_x509_crt_t structure
+ * @cert: a certificate of type #gnutls_x509_crt_t
* @act_time: The actual time
*
* This function will set the time this Certificate was or will be
/**
* gnutls_x509_crt_set_expiration_time - Set the Certificate's expiration time
- * @cert: should contain a gnutls_x509_crt_t structure
+ * @cert: a certificate of type #gnutls_x509_crt_t
* @exp_time: The actual time
*
* This function will set the time this Certificate will expire.
/**
* gnutls_x509_crt_set_serial - Set the certificate's serial number
- * @cert: should contain a gnutls_x509_crt_t structure
+ * @cert: a certificate of type #gnutls_x509_crt_t
* @serial: The serial number
* @serial_size: Holds the size of the serial field.
*
/**
* gnutls_x509_crt_set_crl_dist_points - Set the CRL dist points
- * @crt: should contain a gnutls_x509_crt_t structure
+ * @crt: a certificate of type #gnutls_x509_crt_t
* @type: is one of the gnutls_x509_subject_alt_name_t enumerations
* @data_string: The data to be set
* @reason_flags: revocation reasons
/**
* gnutls_x509_crt_set_crl_dist_points2 - Set the CRL dist points
- * @crt: should contain a gnutls_x509_crt_t structure
+ * @crt: a certificate of type #gnutls_x509_crt_t
* @type: is one of the gnutls_x509_subject_alt_name_t enumerations
* @data: The data to be set
* @data_size: The data size
/**
* gnutls_x509_crt_cpy_crl_dist_points - Copy the CRL dist points
- * @dst: should contain a gnutls_x509_crt_t structure
+ * @dst: a certificate of type #gnutls_x509_crt_t
* @src: the certificate where the dist points will be copied from
*
* This function will copy the CRL distribution points certificate
/**
* gnutls_x509_crt_set_subject_key_id - Set the certificate's subject key id
- * @cert: should contain a gnutls_x509_crt_t structure
+ * @cert: a certificate of type #gnutls_x509_crt_t
* @id: The key ID
* @id_size: Holds the size of the serial field.
*
/**
* gnutls_x509_crt_set_authority_key_id - Set the certificate authority's key id
- * @cert: should contain a gnutls_x509_crt_t structure
+ * @cert: a certificate of type #gnutls_x509_crt_t
* @id: The key ID
* @id_size: Holds the size of the serial field.
*
/**
* gnutls_x509_crt_set_key_purpose_oid - Sets the Certificate's key purpose OIDs
- * @cert: should contain a gnutls_x509_crt_t structure
+ * @cert: a certificate of type #gnutls_x509_crt_t
* @oid: a pointer to a null terminated string that holds the OID
* @critical: Whether this extension will be critical or not
*