secretKeyValid (property)
Indicates the validity status of the key.
Syntax
- (int)secretKeyValid:(int)secretKeyIndex;
/* Possible Values */
PKV_STRICTLY_VALID(0),
PKV_VALID(1),
PKV_INVALID(2),
PKV_FAILURE(3),
PKV_UNKNOWN(4)
public func secretKeyValid(secretKeyIndex: Int32) throws -> PgpkeyringSecretKeyValids
public enum PgpkeyringSecretKeyValids : Int32 { case pkvStrictlyValid = 0 case pkvValid = 1 case pkvInvalid = 2 case pkvFailure = 3 case pkvUnknown = 4 }
Default Value
0
Remarks
Indicates the validity status of the key.
pkvStrictlyValid | 0 | Strictly valid |
pkvValid | 1 | Valid |
pkvInvalid | 2 | Invalid |
pkvFailure | 3 | Generic validation failure |
pkvUnknown | 4 | Validity unknown |
The SecretKeyIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SecretKeyCount property.
This property is read-only.