Generate a new key pair of public and private keys.
This call may block for an indefinite period.
If public_attrs
and/or private_attrs
is a floating reference, it is consumed.
this |
The session to use. |
mech_type |
The mechanism type to use for key generation. |
public_attrs |
Additional attributes for the generated public key. |
private_attrs |
Additional attributes for the generated private key. |
public_key |
location to return the resulting public key |
private_key |
location to return the resulting private key. |
cancellable |
Optional cancellation object, or |
|