]> git.saurik.com Git - apple/security.git/blob - SecurityTests/testclient/attributes.h
Security-57031.10.10.tar.gz
[apple/security.git] / SecurityTests / testclient / attributes.h
1 #include <security_cdsa_client/dlclient.h>
2
3 class Attributes
4 {
5 public:
6 // Meta Attributes.
7 CSSM_DB_ATTR_DECL(RelationID);
8 CSSM_DB_ATTR_DECL(RelationName);
9 CSSM_DB_ATTR_DECL(AttributeID);
10 CSSM_DB_ATTR_DECL(AttributeNameFormat);
11 CSSM_DB_ATTR_DECL(AttributeName);
12 CSSM_DB_ATTR_DECL(AttributeNameID);
13 CSSM_DB_ATTR_DECL(AttributeFormat);
14
15 // Keychain Attributes
16 CSSM_DB_ATTR_DECL(Protected);
17 CSSM_DB_ATTR_DECL(Class);
18 CSSM_DB_ATTR_DECL(CreationDate);
19 CSSM_DB_ATTR_DECL(ModDate);
20 CSSM_DB_ATTR_DECL(Description);
21 CSSM_DB_ATTR_DECL(Comment);
22 CSSM_DB_ATTR_DECL(Creator);
23 CSSM_DB_ATTR_DECL(Type);
24 CSSM_DB_ATTR_DECL(ScrCode);
25 CSSM_DB_ATTR_DECL(Label);
26 CSSM_DB_ATTR_DECL(Invisible);
27 CSSM_DB_ATTR_DECL(Negative);
28 CSSM_DB_ATTR_DECL(Custom);
29 // for Generic Password items:
30 CSSM_DB_ATTR_DECL(Account);
31 CSSM_DB_ATTR_DECL(Service);
32 CSSM_DB_ATTR_DECL(Generic);
33 // for Internet Password items:
34 CSSM_DB_ATTR_DECL(SecDomain);
35 CSSM_DB_ATTR_DECL(Server);
36 CSSM_DB_ATTR_DECL(AuthType);
37 CSSM_DB_ATTR_DECL(Port);
38 CSSM_DB_ATTR_DECL(Path);
39 // for AppleShare Password items:
40 CSSM_DB_ATTR_DECL(Volume);
41 CSSM_DB_ATTR_DECL(Addr);
42 CSSM_DB_ATTR_DECL(Signature);
43 // for AppleShare and Interent Password items:
44 CSSM_DB_ATTR_DECL(ProtocolType);
45
46 // For keys
47 CSSM_DB_ATTR_DECL(KeyClass);
48 CSSM_DB_ATTR_DECL(PrintName);
49 CSSM_DB_ATTR_DECL(Alias);
50 CSSM_DB_ATTR_DECL(Permanent);
51 CSSM_DB_ATTR_DECL(Private);
52 CSSM_DB_ATTR_DECL(Modifiable);
53 //CSSM_DB_ATTR_DECL(Label);
54 CSSM_DB_ATTR_DECL(ApplicationTag);
55 CSSM_DB_ATTR_DECL(KeyCreator);
56 CSSM_DB_ATTR_DECL(KeyType);
57 CSSM_DB_ATTR_DECL(KeySizeInBits);
58 CSSM_DB_ATTR_DECL(EffectiveKeySize);
59 CSSM_DB_ATTR_DECL(StartDate);
60 CSSM_DB_ATTR_DECL(EndDate);
61 CSSM_DB_ATTR_DECL(Sensitive);
62 CSSM_DB_ATTR_DECL(AlwaysSensitive);
63 CSSM_DB_ATTR_DECL(Extractable);
64 CSSM_DB_ATTR_DECL(NeverExtractable);
65 CSSM_DB_ATTR_DECL(Encrypt);
66 CSSM_DB_ATTR_DECL(Decrypt);
67 CSSM_DB_ATTR_DECL(Derive);
68 CSSM_DB_ATTR_DECL(Sign);
69 CSSM_DB_ATTR_DECL(Verify);
70 CSSM_DB_ATTR_DECL(SignRecover);
71 CSSM_DB_ATTR_DECL(VerifyRecover);
72 CSSM_DB_ATTR_DECL(Wrap);
73 CSSM_DB_ATTR_DECL(UnWrap);
74 private:
75 static const CSSM_OID noOID;
76 };