SignatureValidity Property
Provides the validity status of the signature if the signature has been validated.
Syntax
ANSI (Cross Platform) int GetSignatureValidity(int iSignatureIndex); Unicode (Windows) INT GetSignatureValidity(INT iSignatureIndex);
Possible Values
PSV_VALID(0),
PSV_CORRUPTED(1),
PSV_UNKNOWN_ALGORITHM(2),
PSV_NO_KEY(3),
PSV_UNKNOWN(4)
- (int)signatureValidity:(int)signatureIndex;
Possible Values
PSV_VALID(0),
PSV_CORRUPTED(1),
PSV_UNKNOWN_ALGORITHM(2),
PSV_NO_KEY(3),
PSV_UNKNOWN(4)
#define PID_PGPREADER_SIGNATUREVALIDITY 45 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_PGPReader_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_PGPReader_CheckIndex(void *lpObj, int propid, int arridx);
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 and not available at design time.
Data Type
Integer