public_key_version Property
Indicates the key version.
Syntax
def get_public_key_version(public_key_index: int) -> int: ...
Default Value
-1
Remarks
Indicates the key version.
The key version refers to the version of the public-key packet format as defined in RFC 4880.
Only two versions are currently allowed here: 3 and 4. It is recommended that all new keys are created with version of 4.
The public_key_index parameter specifies the index of the item in the array. The size of the array is controlled by the public_key_count property.
This property is read-only.