windows-nt/Source/XPSP1/NT/public/sdk/inc/wdigest.h

70 lines
1.3 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+-----------------------------------------------------------------------
//
// Copyright (c) 2001 Microsoft Corporation
//
// File: WDIGEST.H
//
// Contents: Public WDigest Security Package structures for use
// with APIs from SECURITY.H
//
//
// History: 28Mar01, KDamour Created
//
//------------------------------------------------------------------------
#ifndef __WDIGEST_H__
#define __WDIGEST_H__
#if _MSC_VER > 1000
#pragma once
#endif
// begin_ntsecapi
#ifndef WDIGEST_SP_NAME_A
#define WDIGEST_SP_NAME_A "WDigest"
#define WDIGEST_SP_NAME_W L"WDigest"
#ifdef UNICODE
#define WDIGEST_SP_NAME WDIGEST_SP_NAME_W
#else
#define WDIGEST_SP_NAME WDIGEST_SP_NAME_A
#endif
#endif // WDIGEST_SP_NAME_A
// end_ntsecapi
// begin_ntsecapi
/////////////////////////////////////////////////////////////////////////
//
// Quality of protection parameters for MakeSignature / EncryptMessage
//
/////////////////////////////////////////////////////////////////////////
//
// This flag indicates to EncryptMessage that the message is not to actually
// be encrypted, but a header/trailer are to be produced.
//
#define WDIGEST_WRAP_NO_ENCRYPT 0x80000001
// end_ntsecapi
#endif // __WDIGEST_H__