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_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_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_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_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_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_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

mhash

(PHP 4, PHP 5, PHP 7) Computes hash string mhash ( int $hash, string $data [, string $key ] ) mhash() applies a hash function specified by hash to the data. Parameters: hash The hash ID. One of the MHASH_hashname constants. data The user input, as a string. key If specified, the function will return t

mhash_count

(PHP 4, PHP 5, PHP 7) Gets the highest available hash ID int mhash_count ( void ) Gets the highest available hash ID. Returns: Returns the highest available hash ID. Hashes are numbered from 0 to this hash ID. Examples: Traversing all hashes <?php $nr = mhash_count(); for ($i = 0; $i <= $nr; $i++) {     echo sprin

mhash_get_block_size

(PHP 4, PHP 5, PHP 7) Gets the block size of the specified hash int mhash_get_block_size ( int $hash ) Gets the size of a block of the specified hash. Parameters: hash The hash ID. One of the MHASH_hashname constants. Returns: Returns the size in bytes or FALSE, if the hash does not exist. Example