diff --git a/generated/openssl.php b/generated/openssl.php index a531d83a..ac63c21d 100644 --- a/generated/openssl.php +++ b/generated/openssl.php @@ -289,7 +289,11 @@ function openssl_csr_get_subject($csr, bool $short_names = true): array * openssl_csr_new generates a new CSR * based on the information provided by distinguished_names. * - * @param array $distinguished_names The Distinguished Name or subject fields to be used in the certificate. + * @param array $distinguished_names The Distinguished Name or subject fields to be included in the + * certificate. The distinguished_names is an + * associative array where the keys represent the attribute names of + * Distinguished Names and the values can either be strings (for single + * value) or arrays (if multiple values need to be set). * @param resource $private_key private_key should be set to a private key that * was previously generated by openssl_pkey_new (or * otherwise obtained from the other openssl_pkey family of functions), or @@ -389,12 +393,12 @@ function openssl_csr_get_subject($csr, bool $short_names = true): array * * * @param array $extra_attributes extra_attributes is used to specify additional - * configuration options for the CSR. Both - * distinguished_names and - * extra_attributes are associative arrays, whose keys - * are converted to OIDs and applied to the relevant part of the request. - * @return resource Returns the CSR on success, TRUE if CSR creation is - * successful but signing fails. + * attributes for the CSR. It is an associative arrays + * where the keys are converted to OIDs and applied as + * CSR attributes. + * @return resource Returns the CSR on success, TRUE if + * CSR creation is successful but signing + * fails. * @throws OpensslException * */ @@ -434,7 +438,11 @@ function openssl_csr_new(array $distinguished_names, &$private_key, ?array $opti * options. * @param int $serial An optional the serial number of issued certificate. If not specified * it will default to 0. - * @param $serial_hex + * @param $serial_hex An optional hexadecimal string representing the serial number of the + * issued certificate. If set, it takes precedence over the + * serial parameter value. If not specified or set + * to NULL, the serial parameter value is used + * instead. * @return resource Returns an OpenSSLCertificate on success. * @throws OpensslException *