3.1.5 PKey objects

The PKey object has currently just one method:

generate_key(type, bits)
Generate a public/private key pair of the type type (one of TYPE_RSA and TYPE_DSA) with the size bits.