windows-nt/Source/XPSP1/NT/ds/security/cryptoapi/pkitrust/common/cryptattr.hxx

47 lines
988 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+-------------------------------------------------------------------------
//
// 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