Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
834dbcea
Commit
834dbcea
authored
Jul 18, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Jul 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wincrypt: Add more missing definitions.
parent
3c293592
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
94 additions
and
5 deletions
+94
-5
wincrypt.h
include/wincrypt.h
+94
-5
No files found.
include/wincrypt.h
View file @
834dbcea
...
...
@@ -3070,9 +3070,11 @@ typedef struct _CMSG_SIGNER_ENCODE_INFO
PCRYPT_ATTRIBUTE
rgAuthAttr
;
DWORD
cUnauthAttr
;
PCRYPT_ATTRIBUTE
rgUnauthAttr
;
#ifdef CMSG_SIGNER_ENCODE_INFO_HAS_CMS_FIELDS
CERT_ID
SignerId
;
CRYPT_ALGORITHM_IDENTIFIER
HashEncryptionAlgorithm
;
void
*
pvHashEncryptionAuxInfo
;
#endif
}
CMSG_SIGNER_ENCODE_INFO
,
*
PCMSG_SIGNER_ENCODE_INFO
;
typedef
struct
_CMSG_SIGNED_ENCODE_INFO
...
...
@@ -3084,18 +3086,105 @@ typedef struct _CMSG_SIGNED_ENCODE_INFO
PCERT_BLOB
rgCertEncoded
;
DWORD
cCrlEncoded
;
PCRL_BLOB
rgCrlEncoded
;
#ifdef CMSG_SIGNED_ENCODE_INFO_HAS_CMS_FIELDS
DWORD
cAttrCertEncoded
;
PCERT_BLOB
rgAttrCertEncoded
;
#endif
}
CMSG_SIGNED_ENCODE_INFO
,
*
PCMSG_SIGNED_ENCODE_INFO
;
typedef
struct
_CMSG_
ENVELOPED
_ENCODE_INFO
typedef
struct
_CMSG_
KEY_TRANS_RECIPIENT
_ENCODE_INFO
{
DWORD
cbSize
;
CRYPT_ALGORITHM_IDENTIFIER
KeyEncryptionAlgorithm
;
void
*
pvKeyEncryptionAuxInfo
;
HCRYPTPROV
hCryptProv
;
CRYPT_ALGORITHM_IDENTIFIER
ContentEncryptionAlgorithm
;
void
*
pvEncryptionAuxInfo
;
DWORD
cRecipients
;
PCERT_INFO
*
rgpRecipientCert
;
CRYPT_BIT_BLOB
RecipientPublicKey
;
CERT_ID
RecipientId
;
}
CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO
,
*
PCMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO
;
typedef
struct
_CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO
{
DWORD
cbSize
;
CRYPT_BIT_BLOB
RecipientPublicKey
;
CERT_ID
RecipientId
;
FILETIME
Date
;
PCRYPT_ATTRIBUTE_TYPE_VALUE
pOtherAttr
;
}
CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO
,
*
PCMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO
;
typedef
struct
_CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO
{
DWORD
cbSize
;
CRYPT_ALGORITHM_IDENTIFIER
KeyEncryptionAlgorithm
;
void
*
pvKeyEncryptionAuxInfo
;
CRYPT_ALGORITHM_IDENTIFIER
KeyWrapAlgorithm
;
void
*
pvKeyWrapAuxInfo
;
HCRYPTPROV
hCryptProv
;
DWORD
dwKeySpec
;
DWORD
dwKeyChoice
;
union
{
PCRYPT_ALGORITHM_IDENTIFIER
pEphemeralAlgorithm
;
PCERT_ID
pSenderId
;
}
DUMMYUNIONNAME
;
CRYPT_DATA_BLOB
UserKeyingMaterial
;
DWORD
cRecipientEncryptedKeys
;
PCMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO
*
rgpRecipientEncryptedKeys
;
}
CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO
,
*
PCMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO
;
#define CMSG_KEY_AGREE_EPHEMERAL_KEY_CHOICE 1
#define CMSG_KEY_AGREE_STATIC_KEY_CHOICE 2
typedef
struct
_CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO
{
DWORD
cbSize
;
CRYPT_ALGORITHM_IDENTIFIER
KeyEncryptionAlgorithm
;
void
*
pvKeyEncryptionAuxInfo
;
HCRYPTPROV
hCryptProv
;
DWORD
dwKeyChoice
;
union
{
HCRYPTKEY
hKeyEncryptionKey
;
void
*
pvKeyEncryptionKey
;
}
DUMMYUNIONNAME
;
CRYPT_DATA_BLOB
KeyId
;
FILETIME
Date
;
PCRYPT_ATTRIBUTE_TYPE_VALUE
pOtherAttr
;
}
CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO
,
*
PCMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO
;
#define CMSG_MAIL_LIST_HANDLE_KEY_CHOICE 1
typedef
struct
_CMSG_RECIPIENT_ENCODE_INFO
{
DWORD
dwRecipientChoice
;
union
{
PCMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO
pKeyTrans
;
PCMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO
pKeyAgree
;
PCMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO
pMailList
;
}
DUMMYUNIONNAME
;
}
CMSG_RECIPIENT_ENCODE_INFO
,
*
PCMSG_RECIPIENT_ENCODE_INFO
;
#define CMSG_KEY_TRANS_RECIPIENT 1
#define CMSG_KEY_AGREE_RECIPIENT 2
#define CMSG_MAIL_LIST_RECIPIENT 3
typedef
struct
_CMSG_ENVELOPED_ENCODE_INFO
{
DWORD
cbSize
;
HCRYPTPROV
hCryptProv
;
CRYPT_ALGORITHM_IDENTIFIER
ContentEncryptionAlgorithm
;
void
*
pvEncryptionAuxInfo
;
DWORD
cRecipients
;
PCERT_INFO
*
rgpRecipientCert
;
#ifdef CMSG_ENVELOPED_ENCODE_INFO_HAS_CMS_FIELDS
PCMSG_RECIPIENT_ENCODE_INFO
rgCmsRecipients
;
DWORD
cCertEncoded
;
PCERT_BLOB
rgCertEncoded
;
DWORD
cCrlEncoded
;
PCRL_BLOB
rgCrlEncoded
;
DWORD
cAttrCertEncoded
;
PCERT_BLOB
rgAttrCertEncoded
;
DWORD
cUnprotectedAttr
;
PCRYPT_ATTRIBUTE
rgUnprotectedAttr
;
#endif
}
CMSG_ENVELOPED_ENCODE_INFO
,
*
PCMSG_ENVELOPED_ENCODE_INFO
;
typedef
struct
_CMSG_SIGNED_AND_ENVELOPED_ENCODE_INFO
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment