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.
42 lines
975 B
42 lines
975 B
//+---------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1992 - 1995.
|
|
//
|
|
// File: sigsys.h
|
|
//
|
|
// Contents:
|
|
//
|
|
// Classes:
|
|
//
|
|
// Functions:
|
|
//
|
|
// History: 09-23-97 jbanes LSA integration stuff.
|
|
// 10-21-96 jbanes CAPI integration.
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#ifndef __SIGSYS_H__
|
|
#define __SIGSYS_H__
|
|
|
|
SP_STATUS
|
|
SPVerifySignature(
|
|
HCRYPTPROV hProv,
|
|
PPUBLICKEY pPublic,
|
|
ALG_ID aiHash,
|
|
PBYTE pbData,
|
|
DWORD cbData,
|
|
PBYTE pbSig,
|
|
DWORD cbSig,
|
|
BOOL fHashData);
|
|
|
|
SP_STATUS
|
|
SignHashUsingCred(
|
|
PSPCredential pCred,
|
|
ALG_ID aiHash,
|
|
PBYTE pbHash,
|
|
DWORD cbHash,
|
|
PBYTE pbSignature,
|
|
PDWORD pcbSignature);
|
|
|
|
#endif /* __SIGSYS_H__ */
|