blob: df7c473d0507bdcfeff1ea81e3119bca89c2948a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#pragma once
// 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.
#define MD_SSL_CERT_HASH ( IIS_MD_SSL_BASE+6 )
#define MD_SSL_CERT_STORE_NAME ( IIS_MD_SSL_BASE+11 )
//#define WIDE(x) WIDE2(x)
//#define WIDE2(x) L ## x
// structs
struct SCA_WEB_SSL_CERTIFICATE
{
WCHAR wzStoreName[65];
BYTE rgbSHA1Hash[CB_CERTIFICATE_HASH];
SCA_WEB_SSL_CERTIFICATE* pNext;
};
// prototypes
HRESULT ScaSslCertificateRead(
__in LPCWSTR wzWebId,
__in WCA_WRAPQUERY_HANDLE hSslCertQuery,
__inout SCA_WEB_SSL_CERTIFICATE** ppswscList
);
HRESULT ScaSslCertificateWriteMetabase(
__in IMSAdminBase* piMetabase,
__in LPCWSTR wzWebBase,
__in SCA_WEB_SSL_CERTIFICATE* pswscList
);
void ScaSslCertificateFreeList(
__in SCA_WEB_SSL_CERTIFICATE* pswscList
);
|