70 lines
2.3 KiB
C
70 lines
2.3 KiB
C
/* wintrust asn functions
|
|
*
|
|
* Copyright 2007 Juan Lang
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
*
|
|
*/
|
|
#include <stdarg.h>
|
|
#define NONAMELESSUNION
|
|
#include "windef.h"
|
|
#include "winbase.h"
|
|
#include "winerror.h"
|
|
#include "wincrypt.h"
|
|
#include "wintrust.h"
|
|
#include "wine/debug.h"
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(cryptasn);
|
|
|
|
BOOL WINAPI WVTAsn1SpcLinkEncode(DWORD dwCertEncodingType,
|
|
LPCSTR lpszStructType, const void *pvStructInfo, BYTE *pbEncoded,
|
|
DWORD *pcbEncoded)
|
|
{
|
|
FIXME("(0x%08x, %s, %p, %p, %p)\n", dwCertEncodingType,
|
|
debugstr_a(lpszStructType), pvStructInfo, pbEncoded,
|
|
pcbEncoded);
|
|
return FALSE;
|
|
}
|
|
|
|
BOOL WINAPI WVTAsn1SpcPeImageDataEncode(DWORD dwCertEncodingType,
|
|
LPCSTR lpszStructType, const void *pvStructInfo, BYTE *pbEncoded,
|
|
DWORD *pcbEncoded)
|
|
{
|
|
FIXME("(0x%08x, %s, %p, %p, %p)\n", dwCertEncodingType,
|
|
debugstr_a(lpszStructType), pvStructInfo, pbEncoded,
|
|
pcbEncoded);
|
|
return FALSE;
|
|
}
|
|
|
|
BOOL WINAPI WVTAsn1SpcLinkDecode(DWORD dwCertEncodingType,
|
|
LPCSTR lpszStructType, const BYTE *pbEncoded, DWORD cbEncoded, DWORD dwFlags,
|
|
void *pvStructInfo, DWORD *pcbStructInfo)
|
|
{
|
|
FIXME("(0x%08x, %s, %p, %d, 0x%08x, %p, %p)\n", dwCertEncodingType,
|
|
debugstr_a(lpszStructType), pbEncoded, cbEncoded, dwFlags,
|
|
pvStructInfo, pcbStructInfo);
|
|
return FALSE;
|
|
}
|
|
|
|
BOOL WINAPI WVTAsn1SpcPeImageDataDecode(DWORD dwCertEncodingType,
|
|
LPCSTR lpszStructType, const BYTE *pbEncoded, DWORD cbEncoded, DWORD dwFlags,
|
|
void *pvStructInfo, DWORD *pcbStructInfo)
|
|
{
|
|
FIXME("(0x%08x, %s, %p, %d, 0x%08x, %p, %p)\n", dwCertEncodingType,
|
|
debugstr_a(lpszStructType), pbEncoded, cbEncoded, dwFlags,
|
|
pvStructInfo, pcbStructInfo);
|
|
return FALSE;
|
|
}
|