Module: Miscellaneous
Definition in file ToolkitUtils_logging.cpp.
#include "PKIFdll.h"
#include "components.h"
#include "PKIFErrors.h"
#include "ToolkitUtils.h"
#include "PKIFLog.h"
#include "PKIFCertificatePath.h"
#include "EventLog.h"
#include "OID.h"
#include "AlgorithmIdentifier.h"
#include "PolicyInformation.h"
#include <fstream>
#include <iostream>
#include <sstream>
#include <bitset>
#include <iomanip>
#include <cstring>
Go to the source code of this file.
Functions | |
void | configureLogging () |
defined _DISABLE_ALL_LOGGING | |
void | InitGlobalOIDs () |
void | GetObjectDesc (DWORD subcomponentID, char *numbuf) |
bool | InitPKIF (void) |
long | filesize (FILE *stream) |
void | GetLoggingIndicator (DWORD *value) |
bool | GetLogFile (char *ppszFilename, unsigned long *pnLen) |
bool | GetPathLogFile (char *ppszFilename, unsigned long *pnLen) |
bool | InitLogging () |
void CAC_API | LogString (const char *errorMessage, DWORD subcomponentID, DWORD errorCode, const void *objectPointer, nsCLog::eSeverity threshold, const char *fileName, int lineNumber) |
bool | TerminateLogging () |
bool | InitAudit () |
void | AuditString (int eventType, int eventCat, int eventID, const char *str, DWORD subcomponentID, DWORD errorCode, void *objectPointer) |
bool | TerminateAudit () |
_NO_AUDITFACILITY | |
void CAC_API | AuditPathEvent (PathOp op, bool succeeded, CPKIFCertificatePath &path) |
Variables | |
CAC_API CPKIFOIDPtr | g_md2WithRSAEncryption |
CAC_API CPKIFOIDPtr | g_md5WithRSAEncryption |
CAC_API CPKIFOIDPtr | g_sha1WithRSAEncryption |
CAC_API CPKIFOIDPtr | g_sha224WithRSAEncryption |
CAC_API CPKIFOIDPtr | g_sha256WithRSAEncryption |
CAC_API CPKIFOIDPtr | g_sha384WithRSAEncryption |
CAC_API CPKIFOIDPtr | g_sha512WithRSAEncryption |
CAC_API CPKIFOIDPtr | g_dsaWithSHA1 |
CAC_API CPKIFOIDPtr | g_dsaWithSHA1Alternative |
CAC_API CPKIFOIDPtr | g_dsa |
CAC_API CPKIFOIDPtr | g_rsa |
CAC_API CPKIFOIDPtr | g_ecc |
CAC_API CPKIFOIDPtr | g_ecdsa_sha1 |
CAC_API CPKIFOIDPtr | g_ecdsa_rec |
CAC_API CPKIFOIDPtr | g_ecdsa_params |
CAC_API CPKIFOIDPtr | g_ecdsa_sha224 |
CAC_API CPKIFOIDPtr | g_ecdsa_sha256 |
CAC_API CPKIFOIDPtr | g_ecdsa_sha384 |
CAC_API CPKIFOIDPtr | g_ecdsa_sha512 |
CAC_API CPKIFOIDPtr | g_ecdh_std_sha1kdf |
CAC_API CPKIFOIDPtr | g_ecdh_cofactor_sha1kdf |
CAC_API CPKIFOIDPtr | g_ecmqv_sha1kdf |
CAC_API CPKIFOIDPtr | g_ecdh_std_sha256kdf |
CAC_API CPKIFOIDPtr | g_ecdh_std_sha384kdf |
CAC_API CPKIFOIDPtr | g_sha1 |
CAC_API CPKIFOIDPtr | g_sha224 |
CAC_API CPKIFOIDPtr | g_sha256 |
CAC_API CPKIFOIDPtr | g_sha384 |
CAC_API CPKIFOIDPtr | g_sha512 |
CAC_API CPKIFOIDPtr | g_md5 |
CAC_API CPKIFOIDPtr | g_desCBC |
CAC_API CPKIFOIDPtr | g_tdesCBC |
CAC_API CPKIFOIDPtr | g_tdesECB |
CAC_API CPKIFOIDPtr | g_desECB |
CAC_API CPKIFOIDPtr | g_aes128ECB |
CAC_API CPKIFOIDPtr | g_aes128CBC |
CAC_API CPKIFOIDPtr | g_aes192ECB |
CAC_API CPKIFOIDPtr | g_aes192CBC |
CAC_API CPKIFOIDPtr | g_aes256ECB |
CAC_API CPKIFOIDPtr | g_aes256CBC |
CAC_API CPKIFOIDPtr | g_aes128Wrap |
CAC_API CPKIFOIDPtr | g_aes192Wrap |
CAC_API CPKIFOIDPtr | g_aes256Wrap |
CAC_API CPKIFOIDPtr | g_contentInfo |
CAC_API CPKIFOIDPtr | g_data |
CAC_API CPKIFOIDPtr | g_signedData |
CAC_API CPKIFOIDPtr | g_envelopedData |
CAC_API CPKIFOIDPtr | g_encryptedData |
CAC_API CPKIFOIDPtr | g_contentCollection |
CAC_API CPKIFOIDPtr | g_contentWithAttributes |
CAC_API CPKIFOIDPtr | g_compressedData |
CAC_API CPKIFOIDPtr | g_authenticatedData |
CAC_API CPKIFOIDPtr | g_digestedData |
CAC_API CPKIFOIDPtr | g_authEnvelopedData |
CAC_API CPKIFOIDPtr | g_contentTypeAttribute |
CAC_API CPKIFOIDPtr | g_messageDigestAttribute |
CAC_API CPKIFOIDPtr | g_signingTimeAttribute |
CAC_API CPKIFOIDPtr | g_countersignatureAttribute |
CAC_API CPKIFOIDPtr | g_timestampAttribute |
CAC_API CPKIFOIDPtr | g_archiveTokenAttribute |
CAC_API CPKIFOIDPtr | g_binarySigningTimeAttribute |
CAC_API CPKIFOIDPtr | g_signingCertificateAttribute |
CAC_API CPKIFOIDPtr | g_timestampingEKU |
CAC_API CPKIFOIDPtr | g_ocspSigningEKU |
CAC_API CPKIFOIDPtr | g_anyEKU |
CAC_API CPKIFOIDPtr | g_anyPolicyOID |
CAC_API CPKIFOIDPtr | g_aiaCAIssuer |
CAC_API CPKIFOIDPtr | g_aiaCARepository |
CAC_API CPKIFOIDPtr | g_secp224r1 |
CAC_API CPKIFOIDPtr | g_secp256r1 |
CAC_API CPKIFOIDPtr | g_secp384r1 |
CAC_API CPKIFOIDPtr | g_secp521r1 |
CAC_API CPKIFAlgorithmIdentifierPtr | g_md5AI |
CAC_API CPKIFAlgorithmIdentifierPtr | g_sha1AI |
CAC_API CPKIFAlgorithmIdentifierPtr | g_sha256AI |
CAC_API CPKIFAlgorithmIdentifierPtr | g_sha384AI |
CAC_API CPKIFAlgorithmIdentifierPtr | g_sha512AI |
CAC_API CPKIFPolicyInformationPtr | g_anyPolicy |
CAC_API unsigned char | g_nullParams [] = {0x05,0x00} |
void CAC_API AuditPathEvent | ( | PathOp | op, | |
bool | succeeded, | |||
CPKIFCertificatePath & | path | |||
) |
Interface: External
This function is not used by applications. It is invoked by the CPKIFPathProcessingMediator2 class to audit path processing-related events.
op | [in] PathOp object. |
succeeded | [in] Boolean value. |
path | [in] CPKIFCertificatePath object |
Definition at line 722 of file ToolkitUtils_logging.cpp.
References AuditString, CAT_PKIF_PATH, GetCertInfo(), CPKIFCertificatePath::GetTarget(), PKIF_PATH_OPERATION_FAILED, PKIF_PATH_OPERATION_SUCCEEDED, PO_VALIDATE, and TOOLKIT_PATH_MEDIATOR.
Referenced by CPKIFPathProcessingMediator2::BuildPath(), and CPKIFPathProcessingMediator2::ValidatePath().
void AuditString | ( | int | eventType, | |
int | eventCat, | |||
int | eventID, | |||
const char * | str, | |||
DWORD | subcomponentID, | |||
DWORD | errorCode, | |||
void * | objectPointer | |||
) |
Interface: External
This function is not used by applications. It is invoked internally to generate event log records for notable events.
eventType | [in] Integer value which contains the even type ID. |
eventCat | [in] Integer value which contains the even category ID. |
eventID | [in] Integer value which contains the even ID. |
str | [in] A pointer to a NULL terminated string. |
subcomponentID | [in] DWORD |
errorCode | [in] DWORD |
objectPointer | [in] Pointer to the object that generated the audit event |
Definition at line 658 of file ToolkitUtils_logging.cpp.
References CEventLog::Write().
void configureLogging | ( | ) |
defined _DISABLE_ALL_LOGGING
long filesize | ( | FILE * | stream | ) |
Interface: Subsystem
Helper function that returs the size of a given file
stream | [in] Pointer to a file which size which size will be determined. |
Definition at line 285 of file ToolkitUtils_logging.cpp.
Referenced by InitLogging().
bool GetLogFile | ( | char * | ppszFilename, | |
unsigned long * | pnLen | |||
) |
Interface: Subsystem
Helper function retrives log file location from the registry.
ppszFilename | [out] string indicating the location of the log file |
Definition at line 343 of file ToolkitUtils_logging.cpp.
Referenced by InitLogging().
void GetLoggingIndicator | ( | DWORD * | value | ) |
Interface: Subsystem
Helper function retrives logging indicator from the registry.
Definition at line 304 of file ToolkitUtils_logging.cpp.
Referenced by InitLogging().
void GetObjectDesc | ( | DWORD | subcomponentID, | |
char * | numbuf | |||
) |
Interface: Subsystem
This is a helper function that returns the description that describes from which part of the PKIF message has originated
subcomponentID | [in] Subcomponend id that will be used to identify PKIF part |
numbuf | [out] A NULL terminated string that contains the location description |
Definition at line 59 of file ToolkitUtils_logging.cpp.
References TOOLKIT_APP, TOOLKIT_CRYPTO_CAPI, TOOLKIT_CRYPTO_CAPICRED, TOOLKIT_CRYPTO_CAPIRAW, TOOLKIT_CRYPTO_KEYMATERIAL, TOOLKIT_CRYPTO_MEDIATOR, TOOLKIT_CRYPTO_MISC, TOOLKIT_EXTENSION_MEDIATOR, TOOLKIT_MESSAGE_ASN, TOOLKIT_MESSAGE_ATTR_MEDIATOR, TOOLKIT_MESSAGE_CONTENT_INFO, TOOLKIT_MESSAGE_ENVELOPED_DATA, TOOLKIT_MESSAGE_PARALLEL_HASH, TOOLKIT_MESSAGE_SIGNED_DATA, TOOLKIT_OCSP_ASN, TOOLKIT_OCSP_CHECKER, TOOLKIT_PATH_BASIC_CHECKS, TOOLKIT_PATH_BUILDER, TOOLKIT_PATH_CRL_CHECKER, TOOLKIT_PATH_MEDIATOR, TOOLKIT_PATH_MISC, TOOLKIT_PATH_REV_STATUS_MEDIATOR, TOOLKIT_PATH_VALIDATOR, TOOLKIT_PKIF_DLL, TOOLKIT_SR_CAPICERTUPDATE, TOOLKIT_SR_CAPICRLUPDATE, TOOLKIT_SR_CAPIREPOSITORY, TOOLKIT_SR_CAPITRUSTROOTCRLSTORE, TOOLKIT_SR_CAPITRUSTSTORE, TOOLKIT_SR_CAPIUSERREPOSITORY, TOOLKIT_SR_LDAPREPOSITORY, TOOLKIT_SR_MEDIATOR, TOOLKIT_SR_MISC, TOOLKIT_SR_SIMPLECERTCACHE, TOOLKIT_SR_SIMPLECRLCACHE, TOOLKIT_SR_SIMPLEROOTSTORE, TOOLKIT_TAP_ASN, TOOLKIT_TSP_ASN, TOOLKIT_TSP_TIMESTAMP_VERIFIER, and TOOLKIT_X509_ASN.
Referenced by LogString().
bool GetPathLogFile | ( | char * | ppszFilename, | |
unsigned long * | pnLen | |||
) |
Interface: Subsystem
Helper function retrives path log file location from the registry.
ppszFilename | [out] string indicating the location of the log file |
Definition at line 381 of file ToolkitUtils_logging.cpp.
Referenced by InitLogging().
bool InitAudit | ( | ) |
Interface: Subsystem
This function initializes logging
Definition at line 627 of file ToolkitUtils_logging.cpp.
References CEventLog::AddEventSource().
void InitGlobalOIDs | ( | ) |
Interface: Subsystem
This is a helper function that initializes the global OIDs
Definition at line 888 of file ToolkitUtils_logging.cpp.
References data.
Referenced by InitPKIF().
bool InitLogging | ( | ) |
Interface: Subsystem
This is a helper function that initializes loggin.
The logging functions work as follows. InitLogging is called from DLLMain upon DLL_PROCESS_ATTACH. It retrieves the log file name and logging indicator from the registry. THIS IS THE ONLY TIME THE REGISTRY IS CONSULTED DURING THE LIFE OF PKIF.DLL. LogString is called periodically by the various mediators and other components that perform logging. The components pass one of the LOGGING_xxx macros which is checked by LogString and compared to g_loggingIndicator. TerminateLogging is called from DLLMain upon DLL_PROCESS_DETACH. FILE* g_logFile = NULL;
Definition at line 434 of file ToolkitUtils_logging.cpp.
References AuditString, nsCLog::debug, nsCLog::error, filesize(), GetLogFile(), GetLoggingIndicator(), GetPathLogFile(), nsCLog::info, PKIF_UNEXPECTED_EXCEPTION, PKIF_UTILS, TerminateLogging(), TOOLKIT_PKIF_DLL, and nsCLog::warning.
Referenced by InitPKIF().
bool InitPKIF | ( | void | ) |
Interface: Subsystem
This function initializes global OIDs and PKIF logging
Definition at line 264 of file ToolkitUtils_logging.cpp.
References InitGlobalOIDs(), and InitLogging().
void CAC_API LogString | ( | const char * | errorMessage, | |
DWORD | subcomponentID, | |||
DWORD | errorCode, | |||
const void * | objectPointer, | |||
nsCLog::eSeverity | threshold, | |||
const char * | fileName, | |||
int | lineNumber | |||
) |
Interface: External
This function is not used by applications. It is only used in debug builds of PKIF for internal test purposes.
errorMessage | [in] A NULL terminated string. |
subcomponentID | DWORD |
errorCode | DWORD |
objectPointer | [in] Pointer to the object generating the log record |
threshold | [in] Type of log event |
fileName | [in] A NULL terminated string. |
lineNumber | [in] Integer value indicating the line number where the error occurred. |
Definition at line 536 of file ToolkitUtils_logging.cpp.
References GetErrorCodeString(), GetObjectDesc(), MAX_ERROR_CODE_STRING_SIZE, and TOOLKIT_SUBCOMPONENT_MULTIPLIER.
bool TerminateAudit | ( | ) |
_NO_AUDITFACILITY
Interface: Subsystem
This is a helper function that terminates auditing
Definition at line 711 of file ToolkitUtils_logging.cpp.
bool TerminateLogging | ( | ) |
Interface: Subsystem
This is a helper function that terminates loggin
Definition at line 615 of file ToolkitUtils_logging.cpp.
Referenced by InitLogging().
CAC_API CPKIFOIDPtr g_aes128CBC |
Definition at line 819 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_aes128ECB |
Definition at line 818 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_aes128Wrap |
Definition at line 825 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), CPKIFAlgorithm::init(), UnwrapSymmKey(), and WrapSymmKey().
CAC_API CPKIFOIDPtr g_aes192CBC |
Definition at line 821 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_aes192ECB |
Definition at line 820 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_aes192Wrap |
Definition at line 826 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), CPKIFAlgorithm::init(), UnwrapSymmKey(), and WrapSymmKey().
CAC_API CPKIFOIDPtr g_aes256CBC |
Definition at line 823 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_aes256ECB |
Definition at line 822 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_aes256Wrap |
Definition at line 827 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), CPKIFAlgorithm::init(), UnwrapSymmKey(), and WrapSymmKey().
CAC_API CPKIFOIDPtr g_aiaCAIssuer |
Definition at line 859 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAiaOrSiaRetrieval::GetCertificateSources(), and GetCertsFromIssuerAltName().
CAC_API CPKIFOIDPtr g_aiaCARepository |
Definition at line 860 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAiaOrSiaRetrieval::GetCertificateSources(), and GetCertsFromIssuerAltName().
CAC_API CPKIFOIDPtr g_anyEKU |
Definition at line 856 of file ToolkitUtils_logging.cpp.
Referenced by EKUChecker_OcspSigning(), EKUChecker_Timestamp(), EKUChecker_TimestampTSP(), and CPKIFTimestampVerifier::Verify().
CAC_API CPKIFPolicyInformationPtr g_anyPolicy |
Definition at line 876 of file ToolkitUtils_logging.cpp.
Referenced by CheckPolicies(), RowContainsAnyPolicy(), SomeMatch(), and CPKIFPathValidator2::ValidatePath().
CAC_API CPKIFOIDPtr g_anyPolicyOID |
Definition at line 858 of file ToolkitUtils_logging.cpp.
CAC_API CPKIFOIDPtr g_archiveTokenAttribute |
Definition at line 849 of file ToolkitUtils_logging.cpp.
CAC_API CPKIFOIDPtr g_authenticatedData |
Definition at line 839 of file ToolkitUtils_logging.cpp.
CAC_API CPKIFOIDPtr g_authEnvelopedData |
Definition at line 841 of file ToolkitUtils_logging.cpp.
CAC_API CPKIFOIDPtr g_binarySigningTimeAttribute |
Definition at line 850 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFBinarySigningTimeAttribute::GetOID().
CAC_API CPKIFOIDPtr g_compressedData |
Definition at line 838 of file ToolkitUtils_logging.cpp.
CAC_API CPKIFOIDPtr g_contentCollection |
Definition at line 836 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFContentCollection::CPKIFContentCollection().
CAC_API CPKIFOIDPtr g_contentInfo |
Definition at line 830 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFContentInfo::CPKIFContentInfo().
CAC_API CPKIFOIDPtr g_contentTypeAttribute |
Definition at line 844 of file ToolkitUtils_logging.cpp.
Referenced by AddSignedAttributes(), and CPKIFContentTypeAttribute::GetOID().
CAC_API CPKIFOIDPtr g_contentWithAttributes |
Definition at line 837 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFContentWithAttributes::CPKIFContentWithAttributes().
CAC_API CPKIFOIDPtr g_countersignatureAttribute |
Definition at line 847 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFCountersignatureAttribute::GetOID().
CAC_API CPKIFOIDPtr g_data |
Definition at line 831 of file ToolkitUtils_logging.cpp.
Referenced by AddSignedAttributes(), Countersign(), CPKIFEncapsulatedContentInfo::CPKIFEncapsulatedContentInfo(), and CPKIFEncryptedContentInfo::CPKIFEncryptedContentInfo().
CAC_API CPKIFOIDPtr g_desCBC |
Definition at line 813 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_desECB |
Definition at line 816 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_digestedData |
Definition at line 840 of file ToolkitUtils_logging.cpp.
CAC_API CPKIFOIDPtr g_dsa |
Definition at line 788 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFOCSPRequest::Encode(), CPKIFAlgorithm::GetAlg(), GetAlgClass(), GetOIDString(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_dsaWithSHA1 |
Definition at line 786 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), GetAlgClass(), GetOIDString(), GetSignerInfo(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_dsaWithSHA1Alternative |
Definition at line 787 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), and GetOIDString().
CAC_API CPKIFOIDPtr g_ecc |
Definition at line 790 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), GetAlgClass(), GetOIDString(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_ecdh_cofactor_sha1kdf |
Definition at line 801 of file ToolkitUtils_logging.cpp.
CAC_API CPKIFOIDPtr g_ecdh_std_sha1kdf |
CAC_API CPKIFOIDPtr g_ecdh_std_sha256kdf |
Definition at line 803 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFCryptoPP::DeriveKey(), CPKIFAlgorithm::GetAlg(), CPKIFAlgorithm::init(), and CPKIFCryptoPP::SecretAgree().
CAC_API CPKIFOIDPtr g_ecdh_std_sha384kdf |
Definition at line 804 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFCryptoPP::DeriveKey(), CPKIFAlgorithm::GetAlg(), CPKIFAlgorithm::init(), and CPKIFCryptoPP::SecretAgree().
CAC_API CPKIFOIDPtr g_ecdsa_params |
Definition at line 793 of file ToolkitUtils_logging.cpp.
CAC_API CPKIFOIDPtr g_ecdsa_rec |
Definition at line 792 of file ToolkitUtils_logging.cpp.
CAC_API CPKIFOIDPtr g_ecdsa_sha1 |
Definition at line 791 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), GetAlgClass(), GetOIDString(), GetSignerInfo(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_ecdsa_sha224 |
Definition at line 794 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), GetAlgClass(), GetOIDString(), GetSignerInfo(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_ecdsa_sha256 |
Definition at line 795 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), GetAlgClass(), GetOIDString(), GetSignerInfo(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_ecdsa_sha384 |
Definition at line 796 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), GetAlgClass(), GetOIDString(), GetSignerInfo(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_ecdsa_sha512 |
Definition at line 797 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), GetAlgClass(), GetOIDString(), GetSignerInfo(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_ecmqv_sha1kdf |
Definition at line 802 of file ToolkitUtils_logging.cpp.
Referenced by GetSymmetricKey(), and CPKIFCryptoPP::SecretAgree().
CAC_API CPKIFOIDPtr g_encryptedData |
Definition at line 834 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFEncryptedData::CPKIFEncryptedData().
CAC_API CPKIFOIDPtr g_envelopedData |
Definition at line 833 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFEnvelopedData::CPKIFEnvelopedData().
CAC_API CPKIFOIDPtr g_md2WithRSAEncryption |
Definition at line 779 of file ToolkitUtils_logging.cpp.
Referenced by GetAlgClass(), and GetOIDString().
CAC_API CPKIFOIDPtr g_md5 |
Definition at line 811 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFSCVPCertID::CalculateCertHash(), CPKIFAlgorithm::GetAlg(), and CPKIFAlgorithm::init().
CAC_API CPKIFAlgorithmIdentifierPtr g_md5AI |
CAC_API CPKIFOIDPtr g_md5WithRSAEncryption |
Definition at line 780 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), GetAlgClass(), GetOIDString(), GetSignerInfo(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_messageDigestAttribute |
Definition at line 845 of file ToolkitUtils_logging.cpp.
Referenced by AddSignedAttributes(), CompareHashes(), and CPKIFMessageDigestAttribute::GetOID().
CAC_API unsigned char g_nullParams[] = {0x05,0x00} |
Definition at line 879 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFTSTInfo::Encode(), CPKIFTimeStampRequest::Encode(), CPKIFTBSRequest::Encode(), and CPKIFEvidenceRecord::Encode().
CAC_API CPKIFOIDPtr g_ocspSigningEKU |
CAC_API CPKIFOIDPtr g_rsa |
Definition at line 789 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), GetAlgClass(), GetOIDString(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_secp224r1 |
Definition at line 863 of file ToolkitUtils_logging.cpp.
CAC_API CPKIFOIDPtr g_secp256r1 |
Definition at line 864 of file ToolkitUtils_logging.cpp.
CAC_API CPKIFOIDPtr g_secp384r1 |
Definition at line 865 of file ToolkitUtils_logging.cpp.
CAC_API CPKIFOIDPtr g_secp521r1 |
Definition at line 866 of file ToolkitUtils_logging.cpp.
CAC_API CPKIFOIDPtr g_sha1 |
Definition at line 806 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), GetOIDString(), and CPKIFAlgorithm::init().
CAC_API CPKIFAlgorithmIdentifierPtr g_sha1AI |
Definition at line 872 of file ToolkitUtils_logging.cpp.
Referenced by _CreateComplexOCSPRequest(), _CreateSimpleOCSPRequest(), CPKIFMessageImprint::CPKIFMessageImprint(), CPKIFSignerInfo::CPKIFSignerInfo(), and GetHashAlgAI().
CAC_API CPKIFOIDPtr g_sha1WithRSAEncryption |
Definition at line 781 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFOCSPRequest::Encode(), CPKIFAlgorithm::GetAlg(), GetAlgClass(), GetOIDString(), GetSignerInfo(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_sha224 |
Definition at line 807 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), GetOIDString(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_sha224WithRSAEncryption |
Definition at line 782 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), GetAlgClass(), GetOIDString(), GetSignerInfo(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_sha256 |
Definition at line 808 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFSCVPCertID::CalculateCertHash(), CPKIFAlgorithm::GetAlg(), GetOIDString(), and CPKIFAlgorithm::init().
CAC_API CPKIFAlgorithmIdentifierPtr g_sha256AI |
CAC_API CPKIFOIDPtr g_sha256WithRSAEncryption |
Definition at line 783 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), GetAlgClass(), GetOIDString(), GetSignerInfo(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_sha384 |
Definition at line 809 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFSCVPCertID::CalculateCertHash(), CPKIFAlgorithm::GetAlg(), GetOIDString(), and CPKIFAlgorithm::init().
CAC_API CPKIFAlgorithmIdentifierPtr g_sha384AI |
CAC_API CPKIFOIDPtr g_sha384WithRSAEncryption |
Definition at line 784 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), GetAlgClass(), GetOIDString(), GetSignerInfo(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_sha512 |
Definition at line 810 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFSCVPCertID::CalculateCertHash(), CPKIFAlgorithm::GetAlg(), GetOIDString(), and CPKIFAlgorithm::init().
CAC_API CPKIFAlgorithmIdentifierPtr g_sha512AI |
CAC_API CPKIFOIDPtr g_sha512WithRSAEncryption |
Definition at line 785 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), GetAlgClass(), GetOIDString(), GetSignerInfo(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_signedData |
Definition at line 832 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFScvpPathBuildAndValidate::BuildAndValidatePath(), CPKIFScvpPathBuild::BuildPath(), CPKIFSignedData::CPKIFSignedData(), VerifyResponseSignature(), and IPKIFScvpClient::VerifyValPol().
CAC_API CPKIFOIDPtr g_signingCertificateAttribute |
Definition at line 851 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFSigningCertificateAttribute::GetOID().
CAC_API CPKIFOIDPtr g_signingTimeAttribute |
Definition at line 846 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFSigningTimeAttribute::GetOID().
CAC_API CPKIFOIDPtr g_tdesCBC |
Definition at line 814 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_tdesECB |
Definition at line 815 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFAlgorithm::GetAlg(), and CPKIFAlgorithm::init().
CAC_API CPKIFOIDPtr g_timestampAttribute |
Definition at line 848 of file ToolkitUtils_logging.cpp.
Referenced by CPKIFTimestampAttribute::GetOID().
CAC_API CPKIFOIDPtr g_timestampingEKU |
Definition at line 854 of file ToolkitUtils_logging.cpp.
Referenced by EKUChecker_Timestamp(), EKUChecker_TimestampTSP(), and CPKIFTimestampVerifier::Verify().