« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 47 for signed (0.003 sec.)
gnupg_verify — 署名済みテキストを検証する | PHP 8.3 15170
gnupg_verify (PECL gnupg >= 0.1) gnupg_verify — 署名済みテキストを検証する 説明 function gnupg_verify ( resource $identifier , string $signed_text , string $signature , string &$plaintext = ? ): array | false 指定した signed_text を検証し、 ... 署名についての情報を返します。 パラメータ identifier gnupg_init() あるいは gnupg のコールで得られた gnupg ID。 signed_text The signed text. signature 署名。clearsign で署名されたテキストを検証するには、 signature に false を設定します。 pla ... 、この関数は false を返します。 例 例1 手続き型の gnupg_verify() の例 <?php $plaintext = "" ; $res = gnupg_init (); // clearsigned $info = gnupg_verify ( $res , $signed_text , false , $plaintext ); print_r ( $info ); // detached signature $info = gnupg_ ... verify ( $res , $signed_text , $signature ); print_r ( $info ); ?> 例2 オブジェクト指向の gnupg_verify() の例 <?php $plaintext = "" ; $gpg = new g ...
https://man.mtool.work/php/8.3/function.gnupg-verify.html
gnupg_sign — 指定したテキストに署名する | PHP 8.3 10914
gnupg_sign (PECL gnupg >= 0.1) gnupg_sign — 指定したテキストに署名する 説明 function gnupg_sign ( resource $identifier , string $plaintext ): string | false 事前に gnupg_addsignkey で設定したキーを使用して plaintext に署名し、 gnupg_setsign ... _sign() の例 <?php $res = gnupg_init (); gnupg_addsignkey ( $res , "8660281B6051D071D94B5B230549F9DC851566DC" , "test" ); $signed = gnupg_sign ( $res , "just a test" ); echo $signed ; ?> 例2 オブジェクト指向の gnupg_sign() の例 <?php $gpg = new gnupg ( ... ); $gpg -> addsignkey ( "8660281B6051D071D94B5B230549F9DC851566DC" , "test" ); $signed = $gpg -> sign ( "just a test" ); echo $signed ; ?> 他のマニュアルの関連ページ Django signing Linux JM init_module(2) Linu ...
https://man.mtool.work/php/8.3/function.gnupg-sign.html
テキストへの署名 | PHP 8.3 10488
テキストへの署名 この例は、指定したテキストに署名をします。 例1 gnupg での署名の例 (手続き型) <?php // gnupg を初期化します $res = gnupg_init (); // 必須ではありません。Clearsign はデフォルト値です gnupg_setsignmode ( $res , GNUPG_SIG_MODE_ ... フレーズ 'test' で追加します gnupg_addsignkey ( $res , "8660281B6051D071D94B5B230549F9DC851566DC" , "test" ); // 署名します $signed = gnupg_sign ( $res , "just a test" ); echo $signed ; ?> 例2 gnupg での署名の例 (オブジェクト指向) <?php // 新しいクラス $ ... スフレーズ 'test' で追加します $gnupg -> addsignkey ( "8660281B6051D071D94B5B230549F9DC851566DC" , "test" ); // 署名します $signed = $gnupg -> sign ( "just a test" ); echo $signed ; ?> 例3 keylistiterator この拡張モジュールでは、キーリングの内容を繰り返 ...
https://man.mtool.work/php/8.3/gnupg.examples-clearsign.html
rnp_op_sign_cleartext — Perform signing operation on a textual data, return cle... 10047
rnp_op_sign_cleartext (PECL rnp >= 0.1.1) rnp_op_sign_cleartext — Perform signing operation on a textual data, return cleartext signed message 説明 function rnp_op_sign_cleartext ( RnpFFI $ffi , string $data , array $keys_fp , array $option ... s = ? ): string | false パラメータ ffi The FFI object returned by rnp_ffi_create() . data Data to be signed. keys_fp Array with key fingerprints. At least one key must be provided. Keys should be present in ffi . options An associ ... me in seconds since the creation time. 0 value is used to mark signature as non-expiring (default value). 戻り値 Cleartext signed message containing source data with additional headers and ASCII-armored signature on success失敗した場合に false を返しま ...
https://man.mtool.work/php/8.3/function.rnp-op-sign-cleartext.html
pack — データをバイナリ文字列にパックする | PHP 8.3 8953
pack (PHP 4, PHP 5, PHP 7, PHP 8) pack — データをバイナリ文字列にパックする 説明 function pack ( string $format , mixed ...$values ): string 指定された引数を format に基づいて バイナリ文字列にパックします。 この関数のアイデアは Perl からのも ... 式文字 コード 説明 a NUL で埋めた文字列 A 空白で埋めた文字列 h 十六進文字列、下位ニブルが先 H 十六進文字列、上位ニブルが先 c signed char C unsigned char s signed short (常に 16 ビット、マシンのバイトオーダー) S unsigned short (常に 16 ビット、マシンのバイ ... トオーダー) n unsigned short (常に 16 ビット、ビッグエンディアンバイトオーダー) v unsigned short (常に 16 ビット、リトルエンディアンバイトオーダー ... ) i signed integer (サイズおよびバイトオーダーはマシン依存) I unsigned integer (サイズおよびバイトオーダーはマシン依存) l signed long ...
https://man.mtool.work/php/8.3/function.pack.html
QuickHashIntHash::loadFromFile — This factory method creates a hash from a file... 8953
QuickHashIntHash::loadFromFile (PECL quickhash >= Unknown) QuickHashIntHash::loadFromFile — This factory method creates a hash from a file 説明 public static function QuickHashIntHash::loadFromFile ( string $filename , int $options = ? ): Q ... h from a definition file on disk. The file format consists of a signature 'QH\0x11\0' , the number of elements as a 32 bit signed integer in system Endianness, followed by 32 bit signed integers packed together in the Endianness that the system that th ... e code runs on uses. For each hash element there are two 32 bit signed integers stored. The first of each element is the key, and the second is the value belonging to the key. An example could ...
https://man.mtool.work/php/8.3/quickhashinthash.loadfromfile.html
sodium_crypto_sign_open — 署名済みのメッセージが、有効な署名を持っているかを調... 8740
sodium_crypto_sign_open (PHP 7 >= 7.2.0, PHP 8) sodium_crypto_sign_open — 署名済みのメッセージが、有効な署名を持っているかを調べる 説明 function sodium_crypto_sign_open ( string $signed_message , string $public_key ): string | false メッセー ... ジに付加された署名を検証し、メッセージを返します。 パラメータ signed_message sodium_crypto_sign() を使って署名されたメッセージ public_key Ed25519 形式の公開鍵 戻り値 成功時には、オリジナルの署 ...
https://man.mtool.work/php/8.3/function.sodium-crypto-sign-open.html
The EventSslContext class | PHP 8.3 8527
The EventSslContext class (PECL event >= 1.2.6-beta) はじめに Represents SSL_CTX structure. Provides methods and properties to configure the SSL context. クラス概要 final class EventSslContext { /* 定数 */ const int SSLv2_CLIENT_METHOD = 1 ... L_PK = 2 ; const int OPT_PASSPHRASE = 3 ; const int OPT_CA_FILE = 4 ; const int OPT_CA_PATH = 5 ; const int OPT_ALLOW_SELF_SIGNED = 6 ; const int OPT_VERIFY_PEER = 7 ; const int OPT_VERIFY_DEPTH = 8 ; const int OPT_CIPHERS = 9 ; /* プロパティ */ public ... construct() . Represents path where the certificate authority file should be searched for. EventSslContext::OPT_ALLOW_SELF_SIGNED Key for an item of the options' array used in EventSslContext::__construct() . Represents option that allows self-signed c ...
https://man.mtool.work/php/8.3/class.eventsslcontext.html
QuickHashIntHash::loadFromString — This factory method creates a hash from a st... 8086
QuickHashIntHash::loadFromString (PECL quickhash >= Unknown) QuickHashIntHash::loadFromString — This factory method creates a hash from a string 説明 public static function QuickHashIntHash::loadFromString ( string $contents , int $options ... QuickHashIntHash This factory method creates a new hash from a definition in a string. The file format consists of 32 bit signed integers packed together in the Endianness that the system that the code runs on uses. For each element there are two 32 b ... it signed integers stored. The first of each element is the key, and the second is the value belonging to the key. パラメータ conten ...
https://man.mtool.work/php/8.3/quickhashinthash.loadfromstring.html
rnp_op_encrypt — Encrypt message | PHP 8.3 7980
rnp_op_encrypt (PECL rnp >= 0.1.1) rnp_op_encrypt — Encrypt message 説明 function rnp_op_encrypt ( RnpFFI $ffi , string $message , array $recipient_keys_fp , array $options = ? ): string | false パラメータ ffi The FFI object returned by rnp ... . "armor" boolean Enable ASCII-armored output. Disabled by default. "add_signature" boolean Encrypted message will be also signed. "hash" string Set hash algorithm used during signature calculation. "add_signature" option should be set to true "creatio ... . Supported flags: RNP_ENCRYPT_NOWRAP - do not wrap the data in a literal data packet. This would allow to encrypt already signed data. "file_name" string Set the internally stored file name for the data being encrypted. Special value _CONSOLE may be u ...
https://man.mtool.work/php/8.3/function.rnp-op-encrypt.html
PREV 1 2 3 4 5 NEXT