Skip to content

Commit

Permalink
Automatically regenerate the files
Browse files Browse the repository at this point in the history
  • Loading branch information
Kharhamel authored and github-actions[bot] committed Dec 22, 2024
1 parent 7ed1d36 commit e7148af
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions generated/openssl.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
*
*/
Expand Down Expand Up @@ -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
*
Expand Down

0 comments on commit e7148af

Please sign in to comment.