clj-pgp.keyring

This namespace handles interactions with PGP keyrings.

Literal keyring files are directly supported, and key servers and other stores can extend the KeyRing protocol for further extension.

KeyRing

protocol

Protocol for obtaining PGP keys.

members

get-public-key

(get-public-key this id)

Loads a public key by id.

get-secret-key

(get-secret-key this id)

Loads a secret key by id.

list-public-keys

(list-public-keys this)

Enumerates the available public keys.

list-secret-keys

(list-secret-keys this)

Enumerates the available secret keys.

load-public-keyring

(load-public-keyring source)

Loads a public keyring collection from a data source.

load-secret-keyring

(load-secret-keyring source)

Loads a secret keyring collection from a data source.

public-keyring-coll

(public-keyring-coll)(public-keyring-coll keyrings)

Wraps the collection of public keyrings in a PGPPublicKeyRingCollection.

secret-keyring-coll

(secret-keyring-coll)(secret-keyring-coll keyrings)

Wraps the collection of public keyrings in a PGPPublicKeyRingCollection.