Mercurial > projects > dstep
comparison dstep/security/cssmcspi.d @ 11:07194b026fa4
Added bindings to a couple of frameworks, new license + some other things
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Sat, 01 Aug 2009 15:03:28 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
10:27e00625790b | 11:07194b026fa4 |
---|---|
1 /** | |
2 * Copyright: Copyright (c) 2009 Jacob Carlborg. | |
3 * Authors: Jacob Carlborg | |
4 * Version: Initial created: Jul 22, 2009 | |
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) | |
6 */ | |
7 module dstep.security.cssmcspi; | |
8 | |
9 import dstep.security.cssmconfig; | |
10 import dstep.security.cssmspi; | |
11 import dstep.security.cssmtype; | |
12 | |
13 struct CSSM_SPI_CSP_FUNCS | |
14 { | |
15 uint Event; | |
16 ulong CCHandle; | |
17 CSSM_CONTEXT* Context; | |
18 int Encrypt; | |
19 uint QuerySizeCount; | |
20 CSSM_DATA* DataBufs; | |
21 uint DataBufCount; | |
22 uint DigestAlgorithm; | |
23 CSSM_DATA* ClearBufs; | |
24 uint ClearBufCount; | |
25 CSSM_DATA_PTR CipherBufs; | |
26 uint CipherBufCount; | |
27 CSSM_SIZE* bytesEncrypted; | |
28 CSSM_DATA_PTR RemData; | |
29 CSSM_SIZE* bytesDecrypted; | |
30 CSSM_KEY* Key; | |
31 uint KeyUsage; | |
32 uint KeyAttr; | |
33 CSSM_DATA* KeyLabel; | |
34 CSSM_RESOURCE_CONTROL_CONTEXT* CredAndAclEntry; | |
35 uint PublicKeyUsage; | |
36 uint PublicKeyAttr; | |
37 CSSM_DATA* PublicKeyLabel; | |
38 CSSM_KEY_PTR PublicKey; | |
39 uint PrivateKeyUsage; | |
40 uint PrivateKeyAttr; | |
41 CSSM_DATA* PrivateKeyLabel; | |
42 CSSM_KEY_PTR PrivateKey; | |
43 uint ParamBits; | |
44 CSSM_DATA_PTR Param; | |
45 uint32* NumberOfUpdatedAttibutes; | |
46 CSSM_ACCESS_CREDENTIALS* AccessCred; | |
47 CSSM_DATA* DescriptiveData; | |
48 CSSM_WRAP_KEY_PTR WrappedKey; | |
49 CSSM_KEY_PTR UnwrappedKey; | |
50 CSSM_KEY_PTR KeyPtr; | |
51 uint PassThroughId; | |
52 void* InData; | |
53 CSSM_DATA* LoginName; | |
54 uint TimeAlgorithm; | |
55 CSSM_STRING* SelectionTag; | |
56 uint32* NumberOfAclInfos; | |
57 CSSM_ACL_EDIT* AclEdit; | |
58 } | |
59 |