phpday 2027 - Call for Papers

rnp_load_keys

(PECL rnp >= 0.1.1)

rnp_load_keys — Load keys from PHP string

Açıklama

function rnp_load_keys(
    RnpFFI $ffi,
    string $format,
    string $input,
    int $flags
): bool

Note that for G10, the input must be a directory (which must already exist).

Bağımsız Değişkenler

ffi

rnp_ffi_create tarafından döndürülen FFI nesnesi.

format

Veri anahtarının biçimi (GPG, KBX, G10).

input

OpenPGP packets containing key(s) to be loaded. Can be either binary or ASCII armored.

flags

RNP_LOAD_SAVE_* seçeneklerinin açıklamalarına bakılabilir.

Dönen Değerler

Returns true on success başarısızlık durumunda false döner.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top