openssl_csr_export_to_file

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Exports a CSR to a file bool openssl_csr_export_to_file ( resource $csr, string $outfilename [, bool $notext = true ] ) openssl_csr_export_to_file() takes the Certificate Signing Request represented by csr and saves it as ascii-armoured text into the file named by outfilename. Parameters: csr openssl_csr_export_to_file() takes the Certif

openssl_csr_export

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Exports a CSR as a string bool openssl_csr_export ( resource $csr, string &$out [, bool $notext = true ] ) openssl_csr_export() takes the Certificate Signing Request represented by csr and stores it as ascii-armoured text into out, which is passed by reference. Parameters: csr openssl_csr_export() takes the Certificate Signing Reques

openssl_csr_get_public_key

(PHP 5 >= 5.2.0, PHP 7) Returns the public key of a CERT resource openssl_csr_get_public_key ( mixed $csr [, bool $use_shortnames = true ] ) This function is currently not documented; only its argument list is available.

openssl_csr_get_subject

(PHP 5 >= 5.2.0, PHP 7) Returns the subject of a CERT array openssl_csr_get_subject ( mixed $csr [, bool $use_shortnames = true ] ) This function is currently not documented; only its argument list is available.

openssl_csr_new

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Generates a CSR mixed openssl_csr_new ( array $dn, resource &$privkey [, array $configargs [, array $extraattribs ]] ) openssl_csr_new() generates a new CSR (Certificate Signing Request) based on the information provided by dn, which represents the Distinguished Name to be used in the certificate. Note: You need to have a valid openssl.cnf installed for this function to operate correct

openssl_csr_sign

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Sign a CSR with another certificate (or itself) and generate a certificate resource openssl_csr_sign ( mixed $csr, mixed $cacert, mixed $priv_key, int $days [, array $configargs [, int $serial = 0 ]] ) openssl_csr_sign() generates an x509 certificate resource from the given CSR. Note: You need to have a valid openssl.cnf installed for this function to operate correctly. See the notes unde

openssl_decrypt

(PHP 5 >= 5.3.0, PHP 7) Decrypts data string openssl_decrypt ( string $data, string $method, string $password [, int $options = 0 [, string $iv = "" ]] ) Takes a raw or base64 encoded string and decrypts it using a given method and key. Parameters: data The data. method The cipher method. password

openssl_dh_compute_key

(PHP 5 >= 5.3.11, PHP 7) Computes shared secret for public value of remote DH key and local DH key string openssl_dh_compute_key ( string $pub_key, resource $dh_key ) Parameters: pub_key Public key dh_key DH key Returns: Returns computed key on success or FALSE on failure.

openssl_digest

(PHP 5 >= 5.3.0, PHP 7) Computes a digest string openssl_digest ( string $data, string $method [, bool $raw_output = false ] ) Computes a digest hash value for the given data using a given method, and returns a raw or binhex encoded string. Parameters: data The data. method The digest method. raw_output

openssl_encrypt

(PHP 5 >= 5.3.0, PHP 7) Encrypts data string openssl_encrypt ( string $data, string $method, string $password [, int $options = 0 [, string $iv = "" ]] ) Encrypts given data with given method and key, returns a raw or base64 encoded string Parameters: data The data. method The cipher method. password