ReactOS 0.4.16-dev-297-gc569aee
|
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wincrypt.h"
#include "wine/debug.h"
Go to the source code of this file.
Functions | |
WINE_DEFAULT_DEBUG_CHANNEL (crypt) | |
HCERTSTORE WINAPI | CryptGetMessageCertificates (DWORD dwMsgAndCertEncodingType, HCRYPTPROV_LEGACY hCryptProv, DWORD dwFlags, const BYTE *pbSignedBlob, DWORD cbSignedBlob) |
LONG WINAPI | CryptGetMessageSignerCount (DWORD dwMsgEncodingType, const BYTE *pbSignedBlob, DWORD cbSignedBlob) |
static CERT_INFO * | CRYPT_GetSignerCertInfoFromMsg (HCRYPTMSG msg, DWORD dwSignerIndex) |
static PCCERT_CONTEXT WINAPI | CRYPT_DefaultGetSignerCertificate (void *pvGetArg, DWORD dwCertEncodingType, PCERT_INFO pSignerId, HCERTSTORE hMsgCertStore) |
static PCCERT_CONTEXT | CRYPT_GetSignerCertificate (HCRYPTMSG msg, PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara, PCERT_INFO certInfo, HCERTSTORE store) |
BOOL WINAPI | CryptVerifyDetachedMessageSignature (PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara, DWORD dwSignerIndex, const BYTE *pbDetachedSignBlob, DWORD cbDetachedSignBlob, DWORD cToBeSigned, const BYTE *rgpbToBeSigned[], DWORD rgcbToBeSigned[], PCCERT_CONTEXT *ppSignerCert) |
BOOL WINAPI | CryptVerifyMessageSignature (PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara, DWORD dwSignerIndex, const BYTE *pbSignedBlob, DWORD cbSignedBlob, BYTE *pbDecoded, DWORD *pcbDecoded, PCCERT_CONTEXT *ppSignerCert) |
BOOL WINAPI | CryptHashMessage (PCRYPT_HASH_MESSAGE_PARA pHashPara, BOOL fDetachedHash, DWORD cToBeHashed, const BYTE *rgpbToBeHashed[], DWORD rgcbToBeHashed[], BYTE *pbHashedBlob, DWORD *pcbHashedBlob, BYTE *pbComputedHash, DWORD *pcbComputedHash) |
BOOL WINAPI | CryptVerifyDetachedMessageHash (PCRYPT_HASH_MESSAGE_PARA pHashPara, BYTE *pbDetachedHashBlob, DWORD cbDetachedHashBlob, DWORD cToBeHashed, const BYTE *rgpbToBeHashed[], DWORD rgcbToBeHashed[], BYTE *pbComputedHash, DWORD *pcbComputedHash) |
BOOL WINAPI | CryptVerifyMessageHash (PCRYPT_HASH_MESSAGE_PARA pHashPara, BYTE *pbHashedBlob, DWORD cbHashedBlob, BYTE *pbToBeHashed, DWORD *pcbToBeHashed, BYTE *pbComputedHash, DWORD *pcbComputedHash) |
BOOL WINAPI | CryptSignMessage (PCRYPT_SIGN_MESSAGE_PARA pSignPara, BOOL fDetachedSignature, DWORD cToBeSigned, const BYTE *rgpbToBeSigned[], DWORD rgcbToBeSigned[], BYTE *pbSignedBlob, DWORD *pcbSignedBlob) |
BOOL WINAPI | CryptEncryptMessage (PCRYPT_ENCRYPT_MESSAGE_PARA pEncryptPara, DWORD cRecipientCert, PCCERT_CONTEXT rgpRecipientCert[], const BYTE *pbToBeEncrypted, DWORD cbToBeEncrypted, BYTE *pbEncryptedBlob, DWORD *pcbEncryptedBlob) |
|
static |
Definition at line 88 of file message.c.
Referenced by CRYPT_GetSignerCertificate().
|
inlinestatic |
Definition at line 95 of file message.c.
Referenced by CryptVerifyDetachedMessageSignature(), and CryptVerifyMessageSignature().
Definition at line 63 of file message.c.
Referenced by CryptVerifyDetachedMessageSignature(), and CryptVerifyMessageSignature().
BOOL WINAPI CryptEncryptMessage | ( | PCRYPT_ENCRYPT_MESSAGE_PARA | pEncryptPara, |
DWORD | cRecipientCert, | ||
PCCERT_CONTEXT | rgpRecipientCert[], | ||
const BYTE * | pbToBeEncrypted, | ||
DWORD | cbToBeEncrypted, | ||
BYTE * | pbEncryptedBlob, | ||
DWORD * | pcbEncryptedBlob | ||
) |
Definition at line 521 of file message.c.
Referenced by test_encrypt_message().
HCERTSTORE WINAPI CryptGetMessageCertificates | ( | DWORD | dwMsgAndCertEncodingType, |
HCRYPTPROV_LEGACY | hCryptProv, | ||
DWORD | dwFlags, | ||
const BYTE * | pbSignedBlob, | ||
DWORD | cbSignedBlob | ||
) |
Definition at line 28 of file message.c.
LONG WINAPI CryptGetMessageSignerCount | ( | DWORD | dwMsgEncodingType, |
const BYTE * | pbSignedBlob, | ||
DWORD | cbSignedBlob | ||
) |
Definition at line 41 of file message.c.
Referenced by test_msg_get_signer_count().
BOOL WINAPI CryptHashMessage | ( | PCRYPT_HASH_MESSAGE_PARA | pHashPara, |
BOOL | fDetachedHash, | ||
DWORD | cToBeHashed, | ||
const BYTE * | rgpbToBeHashed[], | ||
DWORD | rgcbToBeHashed[], | ||
BYTE * | pbHashedBlob, | ||
DWORD * | pcbHashedBlob, | ||
BYTE * | pbComputedHash, | ||
DWORD * | pcbComputedHash | ||
) |
Definition at line 255 of file message.c.
Referenced by test_hash_message().
BOOL WINAPI CryptSignMessage | ( | PCRYPT_SIGN_MESSAGE_PARA | pSignPara, |
BOOL | fDetachedSignature, | ||
DWORD | cToBeSigned, | ||
const BYTE * | rgpbToBeSigned[], | ||
DWORD | rgcbToBeSigned[], | ||
BYTE * | pbSignedBlob, | ||
DWORD * | pcbSignedBlob | ||
) |
Definition at line 406 of file message.c.
Referenced by test_sign_message().
BOOL WINAPI CryptVerifyDetachedMessageHash | ( | PCRYPT_HASH_MESSAGE_PARA | pHashPara, |
BYTE * | pbDetachedHashBlob, | ||
DWORD | cbDetachedHashBlob, | ||
DWORD | cToBeHashed, | ||
const BYTE * | rgpbToBeHashed[], | ||
DWORD | rgcbToBeHashed[], | ||
BYTE * | pbComputedHash, | ||
DWORD * | pcbComputedHash | ||
) |
Definition at line 309 of file message.c.
Referenced by test_verify_detached_message_hash().
BOOL WINAPI CryptVerifyDetachedMessageSignature | ( | PCRYPT_VERIFY_MESSAGE_PARA | pVerifyPara, |
DWORD | dwSignerIndex, | ||
const BYTE * | pbDetachedSignBlob, | ||
DWORD | cbDetachedSignBlob, | ||
DWORD | cToBeSigned, | ||
const BYTE * | rgpbToBeSigned[], | ||
DWORD | rgcbToBeSigned[], | ||
PCCERT_CONTEXT * | ppSignerCert | ||
) |
Definition at line 108 of file message.c.
Referenced by test_verify_detached_message_signature().
BOOL WINAPI CryptVerifyMessageHash | ( | PCRYPT_HASH_MESSAGE_PARA | pHashPara, |
BYTE * | pbHashedBlob, | ||
DWORD | cbHashedBlob, | ||
BYTE * | pbToBeHashed, | ||
DWORD * | pcbToBeHashed, | ||
BYTE * | pbComputedHash, | ||
DWORD * | pcbComputedHash | ||
) |
Definition at line 364 of file message.c.
Referenced by test_verify_message_hash().
BOOL WINAPI CryptVerifyMessageSignature | ( | PCRYPT_VERIFY_MESSAGE_PARA | pVerifyPara, |
DWORD | dwSignerIndex, | ||
const BYTE * | pbSignedBlob, | ||
DWORD | cbSignedBlob, | ||
BYTE * | pbDecoded, | ||
DWORD * | pcbDecoded, | ||
PCCERT_CONTEXT * | ppSignerCert | ||
) |
Definition at line 184 of file message.c.
Referenced by test_verify_message_signature().
WINE_DEFAULT_DEBUG_CHANNEL | ( | crypt | ) |