signatureValidity (property)
Provides the validity status of the signature if the signature has been validated.
Syntax
- (int)signatureValidity:(int)signatureIndex;
/* Possible Values */
PSV_VALID(0),
PSV_CORRUPTED(1),
PSV_UNKNOWN_ALGORITHM(2),
PSV_NO_KEY(3),
PSV_UNKNOWN(4)
public func signatureValidity(signatureIndex: Int32) throws -> PgpreaderSignatureValidities
public enum PgpreaderSignatureValidities : Int32 { case psvValid = 0 case psvCorrupted = 1 case psvUnknownAlgorithm = 2 case psvNoKey = 3 case psvUnknown = 4 }
Default Value
0
Remarks
Provides the validity status of the signature if the signature has been validated.
psvValid | 0 | Valid |
psvCorrupted | 1 | Corrupted |
psvUnknownAlgorithm | 2 | Unknown signature algorithm |
psvNoKey | 3 | Signing key not found, cannot verify |
psvUnknown | 4" | Unknown |
The SignatureIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SignatureCount property.
This property is read-only.