<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.crypto.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'book.openssl.php',
    1 => 'OpenSSL',
    2 => 'OpenSSL',
  ),
  'up' => 
  array (
    0 => 'refs.crypto.php',
    1 => 'Криптографічні розширення',
  ),
  'prev' => 
  array (
    0 => 'function.mhash-keygen-s2k.php',
    1 => 'mhash_keygen_s2k',
  ),
  'next' => 
  array (
    0 => 'intro.openssl.php',
    1 => 'Вступ',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/openssl/book.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/book.openssl.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="book.openssl" class="book">
 
 <h1 class="title">OpenSSL</h1>
 
 
 
 
 
 







 




 







 


 




 








 




 




 





<ul class="chunklist chunklist_book"><li><a href="intro.openssl.php">Вступ</a></li><li><a href="openssl.setup.php">Встановлення/налаштування</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="openssl.requirements.php">Вимоги</a></li><li><a href="openssl.installation.php">Встановлення</a></li><li><a href="openssl.configuration.php">Налаштування під час виконання</a></li><li><a href="openssl.resources.php">Типи ресурсів</a></li></ul></li><li><a href="openssl.constants.php">Попередньо визначені константи</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="openssl.purpose-check.php">Purpose checking flags</a></li><li><a href="openssl.padding.php">Padding flags for asymmetric encryption</a></li><li><a href="openssl.key-types.php">Key types</a></li><li><a href="openssl.pkcs7.flags.php">PKCS7 Flags/Constants</a></li><li><a href="openssl.cms.flags.php">CMS Flags/Constants</a></li><li><a href="openssl.signature-algos.php">Signature Algorithms</a></li><li><a href="openssl.ciphers.php">Ciphers</a></li><li><a href="openssl.constversion.php">Version constants</a></li><li><a href="openssl.constsni.php">Server Name Indication constants</a></li><li><a href="openssl.constants.other.php">Other Constants</a></li></ul></li><li><a href="openssl.certparams.php">Key/Certificate parameters</a></li><li><a href="openssl.cert.verification.php">Certificate Verification</a></li><li><a href="ref.openssl.php">Функції OpenSSL</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.openssl-cipher-iv-length.php">openssl_cipher_iv_length</a> — Gets the cipher iv length</li><li><a href="function.openssl-cipher-key-length.php">openssl_cipher_key_length</a> — Gets the cipher key length</li><li><a href="function.openssl-cms-decrypt.php">openssl_cms_decrypt</a> — Decrypt a CMS message</li><li><a href="function.openssl-cms-encrypt.php">openssl_cms_encrypt</a> — Encrypt a CMS message</li><li><a href="function.openssl-cms-read.php">openssl_cms_read</a> — Export the CMS file to an array of PEM certificates</li><li><a href="function.openssl-cms-sign.php">openssl_cms_sign</a> — Sign a file</li><li><a href="function.openssl-cms-verify.php">openssl_cms_verify</a> — Verify a CMS signature</li><li><a href="function.openssl-csr-export.php">openssl_csr_export</a> — Exports a CSR as a string</li><li><a href="function.openssl-csr-export-to-file.php">openssl_csr_export_to_file</a> — Exports a CSR to a file</li><li><a href="function.openssl-csr-get-public-key.php">openssl_csr_get_public_key</a> — Returns the public key of a CSR</li><li><a href="function.openssl-csr-get-subject.php">openssl_csr_get_subject</a> — Returns the subject of a CSR</li><li><a href="function.openssl-csr-new.php">openssl_csr_new</a> — Generates a CSR</li><li><a href="function.openssl-csr-sign.php">openssl_csr_sign</a> — Sign a CSR with another certificate (or itself) and generate a certificate</li><li><a href="function.openssl-decrypt.php">openssl_decrypt</a> — Decrypts data</li><li><a href="function.openssl-dh-compute-key.php">openssl_dh_compute_key</a> — Computes shared secret for public value of remote DH public key and local DH key</li><li><a href="function.openssl-digest.php">openssl_digest</a> — Computes a digest</li><li><a href="function.openssl-encrypt.php">openssl_encrypt</a> — Encrypts data</li><li><a href="function.openssl-error-string.php">openssl_error_string</a> — Return openSSL error message</li><li><a href="function.openssl-free-key.php">openssl_free_key</a> — Free key resource</li><li><a href="function.openssl-get-cert-locations.php">openssl_get_cert_locations</a> — Retrieve the available certificate locations</li><li><a href="function.openssl-get-cipher-methods.php">openssl_get_cipher_methods</a> — Gets available cipher methods</li><li><a href="function.openssl-get-curve-names.php">openssl_get_curve_names</a> — Gets list of available curve names for ECC</li><li><a href="function.openssl-get-md-methods.php">openssl_get_md_methods</a> — Gets available digest methods</li><li><a href="function.openssl-get-privatekey.php">openssl_get_privatekey</a> — Псевдонім openssl_pkey_get_private</li><li><a href="function.openssl-get-publickey.php">openssl_get_publickey</a> — Псевдонім openssl_pkey_get_public</li><li><a href="function.openssl-open.php">openssl_open</a> — Open sealed data</li><li><a href="function.openssl-pbkdf2.php">openssl_pbkdf2</a> — Generates a PKCS5 v2 PBKDF2 string</li><li><a href="function.openssl-pkcs12-export.php">openssl_pkcs12_export</a> — Exports a PKCS#12 Compatible Certificate Store File to variable</li><li><a href="function.openssl-pkcs12-export-to-file.php">openssl_pkcs12_export_to_file</a> — Exports a PKCS#12 Compatible Certificate Store File</li><li><a href="function.openssl-pkcs12-read.php">openssl_pkcs12_read</a> — Parse a PKCS#12 Certificate Store into an array</li><li><a href="function.openssl-pkcs7-decrypt.php">openssl_pkcs7_decrypt</a> — Decrypts an S/MIME encrypted message</li><li><a href="function.openssl-pkcs7-encrypt.php">openssl_pkcs7_encrypt</a> — Encrypt an S/MIME message</li><li><a href="function.openssl-pkcs7-read.php">openssl_pkcs7_read</a> — Export the PKCS7 file to an array of PEM certificates</li><li><a href="function.openssl-pkcs7-sign.php">openssl_pkcs7_sign</a> — Sign an S/MIME message</li><li><a href="function.openssl-pkcs7-verify.php">openssl_pkcs7_verify</a> — Verifies the signature of an S/MIME signed message</li><li><a href="function.openssl-pkey-derive.php">openssl_pkey_derive</a> — Computes shared secret for public value of remote and local DH or ECDH key</li><li><a href="function.openssl-pkey-export.php">openssl_pkey_export</a> — Gets an exportable representation of a key into a string</li><li><a href="function.openssl-pkey-export-to-file.php">openssl_pkey_export_to_file</a> — Gets an exportable representation of a key into a file</li><li><a href="function.openssl-pkey-free.php">openssl_pkey_free</a> — Frees a private key</li><li><a href="function.openssl-pkey-get-details.php">openssl_pkey_get_details</a> — Returns an array with the key details</li><li><a href="function.openssl-pkey-get-private.php">openssl_pkey_get_private</a> — Get a private key</li><li><a href="function.openssl-pkey-get-public.php">openssl_pkey_get_public</a> — Extract public key from certificate and prepare it for use</li><li><a href="function.openssl-pkey-new.php">openssl_pkey_new</a> — Generates a new private key</li><li><a href="function.openssl-private-decrypt.php">openssl_private_decrypt</a> — Decrypts data with private key</li><li><a href="function.openssl-private-encrypt.php">openssl_private_encrypt</a> — Encrypts data with private key</li><li><a href="function.openssl-public-decrypt.php">openssl_public_decrypt</a> — Decrypts data with public key</li><li><a href="function.openssl-public-encrypt.php">openssl_public_encrypt</a> — Encrypts data with public key</li><li><a href="function.openssl-random-pseudo-bytes.php">openssl_random_pseudo_bytes</a> — Generate a pseudo-random string of bytes</li><li><a href="function.openssl-seal.php">openssl_seal</a> — Seal (encrypt) data</li><li><a href="function.openssl-sign.php">openssl_sign</a> — Generate signature</li><li><a href="function.openssl-spki-export.php">openssl_spki_export</a> — Exports a valid PEM formatted public key signed public key and challenge</li><li><a href="function.openssl-spki-export-challenge.php">openssl_spki_export_challenge</a> — Exports the challenge associated with a signed public key and challenge</li><li><a href="function.openssl-spki-new.php">openssl_spki_new</a> — Generate a new signed public key and challenge</li><li><a href="function.openssl-spki-verify.php">openssl_spki_verify</a> — Verifies a signed public key and challenge</li><li><a href="function.openssl-verify.php">openssl_verify</a> — Verify signature</li><li><a href="function.openssl-x509-check-private-key.php">openssl_x509_check_private_key</a> — Checks if a private key corresponds to a certificate</li><li><a href="function.openssl-x509-checkpurpose.php">openssl_x509_checkpurpose</a> — Verifies if a certificate can be used for a particular purpose</li><li><a href="function.openssl-x509-export.php">openssl_x509_export</a> — Exports a certificate as a string</li><li><a href="function.openssl-x509-export-to-file.php">openssl_x509_export_to_file</a> — Exports a certificate to file</li><li><a href="function.openssl-x509-fingerprint.php">openssl_x509_fingerprint</a> — Calculates the fingerprint, or digest, of a given X.509 certificate</li><li><a href="function.openssl-x509-free.php">openssl_x509_free</a> — Free certificate resource</li><li><a href="function.openssl-x509-parse.php">openssl_x509_parse</a> — Parse an X509 certificate and return the information as an array</li><li><a href="function.openssl-x509-read.php">openssl_x509_read</a> — Parse an X.509 certificate and return an object for
  it</li><li><a href="function.openssl-x509-verify.php">openssl_x509_verify</a> — Verifies digital signature of x509 certificate against a public key</li></ul></li><li><a href="class.opensslcertificate.php">OpenSSLCertificate</a> — The OpenSSLCertificate class</li><li><a href="class.opensslcertificatesigningrequest.php">OpenSSLCertificateSigningRequest</a> — The OpenSSLCertificateSigningRequest class</li><li><a href="class.opensslasymmetrickey.php">OpenSSLAsymmetricKey</a> — The OpenSSLAsymmetricKey class</li></ul></div><?php manual_footer($setup); ?>