Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically regenerate the files #507

Merged
merged 1 commit into from
Dec 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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