SignatureSignatureClass Property
Indicates the signature class.
Syntax
ANSI (Cross Platform) int GetSignatureSignatureClass(int iSignatureIndex); Unicode (Windows) INT GetSignatureSignatureClass(INT iSignatureIndex);
Possible Values
PSC_DOCUMENT(0),
PSC_TEXT_DOCUMENT(1),
PSC_STANDALONE(2),
PSC_UIDGENERIC(3),
PSC_UIDPERSONA(4),
PSC_UIDCASUAL(5),
PSC_UIDPOSITIVE(6),
PSC_SUBKEY_BINDING(7),
PSC_PUBLIC_KEY_BINDING(8),
PSC_DIRECT_KEY(9),
PSC_KEY_REVOCATION(10),
PSC_SUBKEY_REVOCATION(11),
PSC_CERT_REVOCATION(12),
PSC_TIMESTAMP(13),
PSC_THIRD_PARTY(14),
PSC_NOT_SPECIFIED(15)
- (int)signatureSignatureClass:(int)signatureIndex;
Possible Values
PSC_DOCUMENT(0),
PSC_TEXT_DOCUMENT(1),
PSC_STANDALONE(2),
PSC_UIDGENERIC(3),
PSC_UIDPERSONA(4),
PSC_UIDCASUAL(5),
PSC_UIDPOSITIVE(6),
PSC_SUBKEY_BINDING(7),
PSC_PUBLIC_KEY_BINDING(8),
PSC_DIRECT_KEY(9),
PSC_KEY_REVOCATION(10),
PSC_SUBKEY_REVOCATION(11),
PSC_CERT_REVOCATION(12),
PSC_TIMESTAMP(13),
PSC_THIRD_PARTY(14),
PSC_NOT_SPECIFIED(15)
#define PID_PGPREADER_SIGNATURESIGNATURECLASS 37 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
Indicates the signature class.
pscDocument | 0 | Signature over binary file |
pscTextDocument | 1 | Signature over text |
pscStandalone | 2 | A standalone signature |
pscUIDGeneric | 3 | User certification signature |
pscUIDPersona | 4 | User certification signature (persona) |
pscUIDCasual | 5 | User certification signature (casual) |
pscUIDPositive | 6 | User certification signature (positive) |
pscSubkeyBinding | 7 | Subkey binding signature |
pscPublicKeyBinding | 8 | Public key binding signature |
pscDirectKey | 9 | Direct signature over a public key |
pscKeyRevocation | 10 | Key revocation |
pscSubkeyRevocation | 11 | Subkey revocation |
pscCertRevocation | 12 | User revocation |
pscTimestamp | 13 | Timestamp signature |
pscThirdParty | 14 | Third-party signature |
pscNotSpecified | 15 | Signature type not provided |
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