diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-05-21 09:49:58 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2003-05-21 09:49:58 +0000 |
commit | a66cfe68eb3000cf9e7d0e2187a3ecefd7459282 (patch) | |
tree | 815f0efbd55e5b153cffece51cdece94f38df38b /winsup/w32api/include | |
parent | c5a228b4d64a015713e6d7862ef9fac73dd5a13a (diff) | |
download | newlib-a66cfe68eb3000cf9e7d0e2187a3ecefd7459282.zip newlib-a66cfe68eb3000cf9e7d0e2187a3ecefd7459282.tar.gz newlib-a66cfe68eb3000cf9e7d0e2187a3ecefd7459282.tar.bz2 |
* include/wincrypt.h (PLAINTEXTKEYBLOB, OPAQUEKEYBLOB,
PUBLICKEYBLOBEX, SYMMETRICWRAPKEYBLOB) Add defines.
(PP_*): Add defines.
(CryptContextAddRef): Add prototype.
Thanks to: Shura Zam <debil_urod@users.sourceforge.net>
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r-- | winsup/w32api/include/wincrypt.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/winsup/w32api/include/wincrypt.h b/winsup/w32api/include/wincrypt.h index 94e6936..225c37a 100644 --- a/winsup/w32api/include/wincrypt.h +++ b/winsup/w32api/include/wincrypt.h @@ -1,6 +1,6 @@ #ifndef _WINCRYPT_H #define _WINCRYPT_H -#if __GNUC__ >=3 +#if __GNUC__ >= 3 #pragma GCC system_header #endif @@ -94,6 +94,10 @@ extern "C" { #define SIMPLEBLOB 1 #define PUBLICKEYBLOB 6 #define PRIVATEKEYBLOB 7 +#define PLAINTEXTKEYBLOB 8 +#define OPAQUEKEYBLOB 9 +#define PUBLICKEYBLOBEX 10 +#define SYMMETRICWRAPKEYBLOB 11 #define AT_KEYEXCHANGE 1 #define AT_SIGNATURE 2 #define CRYPT_USERDATA 1 @@ -135,6 +139,17 @@ extern "C" { #define PP_NAME 4 #define PP_VERSION 5 #define PP_CONTAINER 6 +#define PP_CHANGE_PASSWORD 7 +#define PP_KEYSET_SEC_DESCR 8 +#define PP_CERTCHAIN 9 +#define PP_KEY_TYPE_SUBTYPE 10 +#define PP_PROVTYPE 16 +#define PP_KEYSTORAGE 17 +#define PP_APPLI_CERT 18 +#define PP_SYM_KEYSIZE 19 +#define PP_SESSION_KEYSIZE 20 +#define PP_UI_PROMPT 21 +#define PP_ENUMALGS_EX 22 #define PP_ENUMMANDROOTS 25 #define PP_ENUMELECTROOTS 26 #define PP_KEYSET_TYPE 27 @@ -563,6 +578,7 @@ PCCERT_CONTEXT WINAPI CertGetIssuerCertificateFromStore(HCERTSTORE,PCCERT_CONTEX PCCERT_CHAIN_CONTEXT WINAPI CertFindChainInStore(HCERTSTORE,DWORD,DWORD,DWORD,const void*,PCCERT_CHAIN_CONTEXT); BOOL WINAPI CryptAcquireContextA(HCRYPTPROV*,LPCSTR,LPCSTR,DWORD,DWORD); BOOL WINAPI CryptAcquireContextW(HCRYPTPROV*,LPCWSTR,LPCWSTR,DWORD,DWORD); +BOOL WINAPI CryptContextAddRef(HCRYPTPROV,DWORD*,DWORD); BOOL WINAPI CryptReleaseContext(HCRYPTPROV,DWORD); BOOL WINAPI CryptGenKey(HCRYPTPROV,ALG_ID,DWORD,HCRYPTKEY*); BOOL WINAPI CryptDeriveKey(HCRYPTPROV,ALG_ID,HCRYPTHASH,DWORD,HCRYPTKEY*); |