150 lines
3.8 KiB
C
150 lines
3.8 KiB
C
/**
|
|
* WinPR: Windows Portable Runtime
|
|
* Cryptography API (CryptoAPI)
|
|
*
|
|
* Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
|
|
#include <winpr/crypto.h>
|
|
|
|
/**
|
|
* CryptAcquireCertificatePrivateKey
|
|
* CryptBinaryToStringA
|
|
* CryptBinaryToStringW
|
|
* CryptCloseAsyncHandle
|
|
* CryptCreateAsyncHandle
|
|
* CryptCreateKeyIdentifierFromCSP
|
|
* CryptDecodeMessage
|
|
* CryptDecodeObject
|
|
* CryptDecodeObjectEx
|
|
* CryptDecryptAndVerifyMessageSignature
|
|
* CryptDecryptMessage
|
|
* CryptEncodeObject
|
|
* CryptEncodeObjectEx
|
|
* CryptEncryptMessage
|
|
* CryptEnumKeyIdentifierProperties
|
|
* CryptEnumOIDFunction
|
|
* CryptEnumOIDInfo
|
|
* CryptExportPKCS8
|
|
* CryptExportPublicKeyInfo
|
|
* CryptExportPublicKeyInfoEx
|
|
* CryptExportPublicKeyInfoFromBCryptKeyHandle
|
|
* CryptFindCertificateKeyProvInfo
|
|
* CryptFindLocalizedName
|
|
* CryptFindOIDInfo
|
|
* CryptFormatObject
|
|
* CryptFreeOIDFunctionAddress
|
|
* CryptGetAsyncParam
|
|
* CryptGetDefaultOIDDllList
|
|
* CryptGetDefaultOIDFunctionAddress
|
|
* CryptGetKeyIdentifierProperty
|
|
* CryptGetMessageCertificates
|
|
* CryptGetMessageSignerCount
|
|
* CryptGetOIDFunctionAddress
|
|
* CryptGetOIDFunctionValue
|
|
* CryptHashCertificate
|
|
* CryptHashCertificate2
|
|
* CryptHashMessage
|
|
* CryptHashPublicKeyInfo
|
|
* CryptHashToBeSigned
|
|
* CryptImportPKCS8
|
|
* CryptImportPublicKeyInfo
|
|
* CryptImportPublicKeyInfoEx
|
|
* CryptImportPublicKeyInfoEx2
|
|
* CryptInitOIDFunctionSet
|
|
* CryptInstallDefaultContext
|
|
* CryptInstallOIDFunctionAddress
|
|
* CryptLoadSip
|
|
* CryptMemAlloc
|
|
* CryptMemFree
|
|
* CryptMemRealloc
|
|
* CryptMsgCalculateEncodedLength
|
|
* CryptMsgClose
|
|
* CryptMsgControl
|
|
* CryptMsgCountersign
|
|
* CryptMsgCountersignEncoded
|
|
* CryptMsgDuplicate
|
|
* CryptMsgEncodeAndSignCTL
|
|
* CryptMsgGetAndVerifySigner
|
|
* CryptMsgGetParam
|
|
* CryptMsgOpenToDecode
|
|
* CryptMsgOpenToEncode
|
|
* CryptMsgSignCTL
|
|
* CryptMsgUpdate
|
|
* CryptMsgVerifyCountersignatureEncoded
|
|
* CryptMsgVerifyCountersignatureEncodedEx
|
|
* CryptProtectData
|
|
* CryptProtectMemory
|
|
* CryptQueryObject
|
|
* CryptRegisterDefaultOIDFunction
|
|
* CryptRegisterOIDFunction
|
|
* CryptRegisterOIDInfo
|
|
* CryptRetrieveTimeStamp
|
|
* CryptSetAsyncParam
|
|
* CryptSetKeyIdentifierProperty
|
|
* CryptSetOIDFunctionValue
|
|
* CryptSignAndEncodeCertificate
|
|
* CryptSignAndEncryptMessage
|
|
* CryptSignCertificate
|
|
* CryptSignMessage
|
|
* CryptSignMessageWithKey
|
|
* CryptSIPAddProvider
|
|
* CryptSIPCreateIndirectData
|
|
* CryptSIPGetCaps
|
|
* CryptSIPGetSignedDataMsg
|
|
* CryptSIPLoad
|
|
* CryptSIPPutSignedDataMsg
|
|
* CryptSIPRemoveProvider
|
|
* CryptSIPRemoveSignedDataMsg
|
|
* CryptSIPRetrieveSubjectGuid
|
|
* CryptSIPRetrieveSubjectGuidForCatalogFile
|
|
* CryptSIPVerifyIndirectData
|
|
* CryptStringToBinaryA
|
|
* CryptStringToBinaryW
|
|
* CryptUninstallDefaultContext
|
|
* CryptUnprotectData
|
|
* CryptUnprotectMemory
|
|
* CryptUnregisterDefaultOIDFunction
|
|
* CryptUnregisterOIDFunction
|
|
* CryptUnregisterOIDInfo
|
|
* CryptUpdateProtectedState
|
|
* CryptVerifyCertificateSignature
|
|
* CryptVerifyCertificateSignatureEx
|
|
* CryptVerifyDetachedMessageHash
|
|
* CryptVerifyDetachedMessageSignature
|
|
* CryptVerifyMessageHash
|
|
* CryptVerifyMessageSignature
|
|
* CryptVerifyMessageSignatureWithKey
|
|
* CryptVerifyTimeStampSignature
|
|
* DbgInitOSS
|
|
* DbgPrintf
|
|
* PFXExportCertStore
|
|
* PFXExportCertStore2
|
|
* PFXExportCertStoreEx
|
|
* PFXImportCertStore
|
|
* PFXIsPFXBlob
|
|
* PFXVerifyPassword
|
|
*/
|
|
|
|
#ifndef _WIN32
|
|
|
|
|
|
|
|
#endif
|