PHP: gnupg_import - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

gnupg_keyinfo gnupg_getprotocol

Last updated: Sat, 27 Jan 2007

view this page in

# gnupg_import

(no version information, might be only in CVS)

gnupg_import -- Imports a key

## Описание

array gnupg_import ( resource identifier, string keydata )

Imports the key `keydata` and returns an array with information about the importprocess.

## Возвращаемые значения

On success, this function returns and info-array about the importprocess. On failure, this function returns `FALSE`.

## Примеры

Пример 1. Procedural gnupg_import() example

`<?php $res = gnupg_init(); $info = gnupg_import($res,$keydata); print_r($info); ?>`

Пример 2. OO gnupg_import() example

`<?php $gpg = new gnupg(); $info = $gpg -> import($keydata); print_r($info); ?>`

add a note User Contributed Notes
gnupg_import
There are no user contributed notes for this page.
gnupg_keyinfo gnupg_getprotocol

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST