Key Property
The currently selected key.
Syntax
public Key getKey(); public void setKey(Key key);
Remarks
This property holds the currently selected key. It is populated after calling ImportKey or after setting Keyring. This may also be set to directly load an existing key. Both public keys and secret keys are supported.
This property is not available at design time.