Fires for each key in the keyring when ListKeys is called.
func onKeyList(userId: String, keyId: String, fingerprint: String, hasSecretKey: Bool, publicKeyAlgorithm: String, publicKeyLength: Int32, curve: String)
UserId holds the current user Id of the key.
The UserId format is:
FirstName LastName (Comment) <Email>Not all values are required when selecting or generating a key, but at least FirstName or Email are required.
KeyId is the hex-encoded, 4-byte or 8-byte Id of the key. It is the same as the last 4 or 8 bytes of the Fingerprint. For instance:
Fingerprint holds the hex-encoded, 20-byte fingerprint of the key. This is in the form:
HasSecretKey returns True if the key contains a secret key.
PublicKeyAlgorithm is the public key algorithm. Possible values are:
PublicKeyLength is the length of the public key. Common values are 512, 1024, and 2048. If the PublicKeyAlgorithm is ECDSA or EdDSA the length of the public key is determined by the Curve. Possible lengths are:
|Curve||Public Key Length (bits)|
Curve is the curve used by the key when PublicKeyAlgorithm is ECDSA or EdDSA. Possible values are:
|secp256r1||ECDSA||NIST curve P-256|
|secp384r1||ECDSA||NIST curve P-384|
|secp521r1||ECDSA||NIST curve P-521|