aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Iis/ca/scassl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/Iis/ca/scassl.h')
-rw-r--r--src/ext/Iis/ca/scassl.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/ext/Iis/ca/scassl.h b/src/ext/Iis/ca/scassl.h
new file mode 100644
index 00000000..df7c473d
--- /dev/null
+++ b/src/ext/Iis/ca/scassl.h
@@ -0,0 +1,36 @@
1#pragma once
2// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
3
4
5#define MD_SSL_CERT_HASH ( IIS_MD_SSL_BASE+6 )
6#define MD_SSL_CERT_STORE_NAME ( IIS_MD_SSL_BASE+11 )
7//#define WIDE(x) WIDE2(x)
8//#define WIDE2(x) L ## x
9
10
11// structs
12struct SCA_WEB_SSL_CERTIFICATE
13{
14 WCHAR wzStoreName[65];
15 BYTE rgbSHA1Hash[CB_CERTIFICATE_HASH];
16
17 SCA_WEB_SSL_CERTIFICATE* pNext;
18};
19
20
21// prototypes
22HRESULT ScaSslCertificateRead(
23 __in LPCWSTR wzWebId,
24 __in WCA_WRAPQUERY_HANDLE hSslCertQuery,
25 __inout SCA_WEB_SSL_CERTIFICATE** ppswscList
26 );
27
28HRESULT ScaSslCertificateWriteMetabase(
29 __in IMSAdminBase* piMetabase,
30 __in LPCWSTR wzWebBase,
31 __in SCA_WEB_SSL_CERTIFICATE* pswscList
32 );
33
34void ScaSslCertificateFreeList(
35 __in SCA_WEB_SSL_CERTIFICATE* pswscList
36 );