selectedSecretKeyVersion (property)
Indicates the key version.
Syntax
- (int)selectedSecretKeyVersion:(int)selectedSecretKeyIndex;
public func selectedSecretKeyVersion(selectedSecretKeyIndex: Int32) throws -> Int32
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 SelectedSecretKeyIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SelectedSecretKeyCount property.
This property is read-only.