manpagez: man pages & more
info gnutls
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.4.2 Extra Interface

This section lists the Scheme procedures exported by the (gnutls extra) module. This module is licenced under the GNU General Public Licence, version 3 or later.

Scheme Procedure: set-certificate-credentials-openpgp-keys! cred pub sec

Use certificate pub and secret key sec in certificate credentials cred.

Scheme Procedure: openpgp-keyring-contains-key-id? keyring id

Return #f if key ID id is in keyring, #f otherwise.

Scheme Procedure: import-openpgp-keyring data format

Import data (a u8vector) according to format and return the imported keyring.

Scheme Procedure: openpgp-certificate-usage key

Return a list of values denoting the key usage of key.

Scheme Procedure: openpgp-certificate-version key

Return the version of the OpenPGP message format (RFC2440) honored by key.

Scheme Procedure: openpgp-certificate-algorithm key

Return two values: the certificate algorithm used by key and the number of bits used.

Scheme Procedure: openpgp-certificate-names key

Return the list of names for key.

Scheme Procedure: openpgp-certificate-name key index

Return the indexth name of key.

Scheme Procedure: openpgp-certificate-fingerprint key

Return a new u8vector denoting the fingerprint of key.

Scheme Procedure: openpgp-certificate-fingerprint! key fpr

Store in fpr (a u8vector) the fingerprint of key. Return the number of bytes stored in fpr.

Scheme Procedure: openpgp-certificate-id! key id

Store the ID (an 8 byte sequence) of certificate key in id (a u8vector).

Scheme Procedure: openpgp-certificate-id key

Return the ID (an 8-element u8vector) of certificate key.

Scheme Procedure: import-openpgp-private-key data format [pass]

Return a new OpenPGP private key object resulting from the import of data (a uniform array) according to format. Optionally, a passphrase may be provided.

Scheme Procedure: import-openpgp-certificate data format

Return a new OpenPGP certificate object resulting from the import of data (a uniform array) according to format.

Scheme Procedure: openpgp-certificate-format->string enumval

Return a string describing enumval, a openpgp-certificate-format value.

Scheme Procedure: openpgp-keyring? obj

Return true if obj is of type openpgp-keyring.

Scheme Procedure: openpgp-private-key? obj

Return true if obj is of type openpgp-private-key.

Scheme Procedure: openpgp-certificate? obj

Return true if obj is of type openpgp-certificate.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.