Here is a list of all the things a particular example does, so you can
select the right example to look at.


GenerateAndWriteKey

- Generating a signing key
- Generating a encryption subkey and combining it with a signing key
- Creating a user ID
- Creating multiple user IDs
- Self signing a userID
- Writing binary keys
- Writing ascii armoured keys


CreateKeyRing

- Reading binary keys
- Reading ascii armoured keys
- Creating keyrings
- Writing/storing keyrings


Encrypt

- Reading an ascii armoured public key
- Encrypt a document to a key
- Write the encrypted document in ascii armoured format


Decrypt

- Reading an ascii armoured secret key
- Reading an ascii armoured message
- Decrypting a message


ClearSign

- Reading a binary secret key
- Generate a signed message
- Write the signed message in cleartext ascii armoured format


KeyProbe

- Fetch a key from a keyserver.
- Write an ascii armoured key.

