PHP.mk документација

rnp_op_verify

Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.

function.rnp-op-verify.php PHP.net прокси Преводот се освежува
Оригинал на PHP.net
Патека function.rnp-op-verify.php Локална патека за оваа страница.
Извор php.net/manual/en Оригиналниот HTML се реупотребува и локално се стилизира.
Режим Прокси + превод во позадина Кодовите, табелите и белешките остануваат читливи во истиот тек.
rnp_op_verify

Референца за `function.rnp-op-verify.php` со подобрена типографија и навигација.

function.rnp-op-verify.php

rnp_op_verify

(PECL rnp >= 0.1.1)

rnp_op_verifyVerify embedded or cleartext signatures

= NULL

rnp_op_verify(RnpFFI $ffi, string $data): array|false

Параметри

ffi
FFI објектот вратен од rnp_ffi_create().
data
Signed data.

Вратени вредности

An associative array with information about verification results or false при неуспех.

Можни индекси на низи за Константа на опција = NULL
"verification_status" string Overall verification result, either "Success" string or appropriate error message. "Success" result is set when at least one signature is valid and successfully verified. Individual verification results for each signature can be checked in the "signatures" array.
"file_name" string File name.
"file_mtime" integer File modification time.
"mode" string Data protection (encryption) mode used in processed message. Currently defined values are "none", "cfb", "cfb-mdc", "aead-ocb", "aead-eax".
"cipher" string Symmetric cipher used for data encryption.
"valid_integrity" boolean true if message integrity protection was used (i.e. MDC or AEAD) and it was validated successfully.
"signatures" array An associative array describing each signature found. See description below.

"signatures" sub-array.

Можни индекси на низи за Константа на опција = NULL
"verification_status" string Signature verification status, either "Success" string or appropriate error message.
"creation_time" integer Signature creation time in seconds since Jan, 1 1970 UTC.
"expiration_time" integer Signature expiration time in seconds since the creation time or 0 if signature never expires.
"hash" string Hash function algorithm used to calculate the signature.
"signing_key" string Fingerprint of the key used for signing. Could be "Not found" if corresponding public key is not loaded to the FFI object.
"signature_type" string Signature type. Currently defined values are: 'binary', 'text', 'standalone', 'certification (generic)', 'certification (persona)', 'certification (casual)', 'certification (positive)', 'subkey binding', 'primary key binding', 'direct', 'key revocation', 'subkey revocation', 'certification revocation', 'timestamp', 'uknown: 0..255'.

Белешки од корисници

Нема белешки од корисници за оваа страница.
На оваа страница

Автоматски outline од активната документација.

Насловите ќе се појават тука по вчитување.

Попрегледно читање

Примерите, changelog табелите и user notes се визуелно издвоени за да не се губат во долгата содржина.

Брз совет Користи го outline-от Скокни директно на главните секции од активната страница.
Извор Оригиналниот линк останува достапен Кога ти треба целосен upstream context, отвори го PHP.net во нов tab.