Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

46 lines
1.0 KiB

//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1996 - 1999
//
// File: CryptAttr.hxx
//
// History: 31-Mar-1997 pberkman created
//
//--------------------------------------------------------------------------
#ifndef CRYPTATTR_HXX
#define CRYPTATTR_HXX
#include "Stack.hxx"
class CryptAttribute_
{
public:
CryptAttribute_(void);
virtual ~CryptAttribute_(void);
CRYPT_ATTRIBUTE *Get(void);
BOOL Fill(DWORD cbAttributeData, BYTE *pbAttributeData, char *pszObjId);
private:
CRYPT_ATTRIBUTE sAttribute;
};
class CryptAttributes_
{
public:
CryptAttributes_(void);
virtual ~CryptAttributes_(void);
BOOL Add(CryptAttribute_ *pcCryptAttr);
CRYPT_ATTRIBUTES *Get(void);
private:
Stack_ sStack;
};
#endif // CRYPTATTR_HXX