signatureSignatureClass (property)
Indicates the signature class.
Syntax
- (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)
public func signatureSignatureClass(signatureIndex: Int32) throws -> PgpreaderSignatureSignatureClass
public enum PgpreaderSignatureSignatureClass : Int32 { case pscDocument = 0 case pscTextDocument = 1 case pscStandalone = 2 case pscUIDGeneric = 3 case pscUIDPersona = 4 case pscUIDCasual = 5 case pscUIDPositive = 6 case pscSubkeyBinding = 7 case pscPublicKeyBinding = 8 case pscDirectKey = 9 case pscKeyRevocation = 10 case pscSubkeyRevocation = 11 case pscCertRevocation = 12 case pscTimestamp = 13 case pscThirdParty = 14 case pscNotSpecified = 15 }
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.