rnp_key_export_revocation
(PECL rnp >= 0.1.1)
rnp_key_export_revocation — Generate and export primary key revocation signature
説明
rnp_key_export_revocation(
RnpFFI
string
int
array
): string|false
RnpFFI
$ffi
,string
$key_fp
,int
$flags
,array
$options
= ?): string|false
Note: to revoke a key you'll need to import this signature into the keystore or use rnp_key_revoke() function.
パラメータ
ffi
-
The FFI object returned by rnp_ffi_create.
key_fp
-
Key fingerprint of the primary key to be revoked.
flags
-
RNP_KEY_EXPORT_ARMORED
or 0. options
-
An associative array with options.
Key Data type 説明 "hash"
string Set hash algorithm used during signature calculation. "code"
string Code reason for revocation code. Possible values: 'no', 'superseded', 'compromised', 'retired'. If not defined, then value 'no' will be used by default. "reason"
string Textual representation of the reason for revocation.
戻り値
Exported revocation signature on success失敗した場合に false
を返します.
+add a note
User Contributed Notes
There are no user contributed notes for this page.
↑ and ↓ to navigate •
Enter to select •
Esc to close
Press Enter without
selection to search using Google