FreeRDP
cert.c File Reference
#include <winpr/config.h>
#include <winpr/crypto.h>
#include <winpr/crt.h>
#include <winpr/wincrypt.h>
#include "crypto.h"

Functions

HCERTSTORE CertOpenStore (LPCSTR lpszStoreProvider, DWORD dwMsgAndCertEncodingType, HCRYPTPROV_LEGACY hCryptProv, DWORD dwFlags, const void *pvPara)
 
HCERTSTORE CertOpenSystemStoreW (HCRYPTPROV_LEGACY hProv, LPCWSTR szSubsystemProtocol)
 
HCERTSTORE CertOpenSystemStoreA (HCRYPTPROV_LEGACY hProv, LPCSTR szSubsystemProtocol)
 
BOOL CertCloseStore (HCERTSTORE hCertStore, DWORD dwFlags)
 
PCCERT_CONTEXT CertFindCertificateInStore (HCERTSTORE hCertStore, DWORD dwCertEncodingType, DWORD dwFindFlags, DWORD dwFindType, const void *pvFindPara, PCCERT_CONTEXT pPrevCertContext)
 
PCCERT_CONTEXT CertEnumCertificatesInStore (HCERTSTORE hCertStore, PCCERT_CONTEXT pPrevCertContext)
 
DWORD CertGetNameStringW (PCCERT_CONTEXT pCertContext, DWORD dwType, DWORD dwFlags, void *pvTypePara, LPWSTR pszNameString, DWORD cchNameString)
 
DWORD CertGetNameStringA (PCCERT_CONTEXT pCertContext, DWORD dwType, DWORD dwFlags, void *pvTypePara, LPSTR pszNameString, DWORD cchNameString)
 

Function Documentation

◆ CertCloseStore()

BOOL CertCloseStore ( HCERTSTORE  hCertStore,
DWORD  dwFlags 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CertEnumCertificatesInStore()

PCCERT_CONTEXT CertEnumCertificatesInStore ( HCERTSTORE  hCertStore,
PCCERT_CONTEXT  pPrevCertContext 
)
Here is the caller graph for this function:

◆ CertFindCertificateInStore()

PCCERT_CONTEXT CertFindCertificateInStore ( HCERTSTORE  hCertStore,
DWORD  dwCertEncodingType,
DWORD  dwFindFlags,
DWORD  dwFindType,
const void *  pvFindPara,
PCCERT_CONTEXT  pPrevCertContext 
)
Here is the caller graph for this function:

◆ CertGetNameStringA()

DWORD CertGetNameStringA ( PCCERT_CONTEXT  pCertContext,
DWORD  dwType,
DWORD  dwFlags,
void *  pvTypePara,
LPSTR  pszNameString,
DWORD  cchNameString 
)

◆ CertGetNameStringW()

DWORD CertGetNameStringW ( PCCERT_CONTEXT  pCertContext,
DWORD  dwType,
DWORD  dwFlags,
void *  pvTypePara,
LPWSTR  pszNameString,
DWORD  cchNameString 
)

◆ CertOpenStore()

HCERTSTORE CertOpenStore ( LPCSTR  lpszStoreProvider,
DWORD  dwMsgAndCertEncodingType,
HCRYPTPROV_LEGACY  hCryptProv,
DWORD  dwFlags,
const void *  pvPara 
)

WinPR: Windows Portable Runtime Cryptography API (CryptoAPI)

Copyright 2012-2013 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.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. CertOpenStore CertCloseStore CertControlStore CertDuplicateStore CertSaveStore CertRegisterPhysicalStore CertRegisterSystemStore CertAddStoreToCollection CertRemoveStoreFromCollection CertOpenSystemStoreA CertOpenSystemStoreW CertEnumPhysicalStore CertEnumSystemStore CertEnumSystemStoreLocation CertSetStoreProperty CertUnregisterPhysicalStore CertUnregisterSystemStore

CertAddCertificateContextToStore CertAddCertificateLinkToStore CertAddCRLContextToStore CertAddCRLLinkToStore CertAddCTLContextToStore CertAddCTLLinkToStore CertAddEncodedCertificateToStore CertAddEncodedCertificateToSystemStoreA CertAddEncodedCertificateToSystemStoreW CertAddEncodedCRLToStore CertAddEncodedCTLToStore CertAddSerializedElementToStore CertDeleteCertificateFromStore CertDeleteCRLFromStore CertDeleteCTLFromStore CertGetCRLFromStore CertEnumCertificatesInStore CertEnumCRLsInStore CertEnumCTLsInStore CertFindCertificateInStore CertFindChainInStore CertFindCRLInStore CertFindCTLInStore CertGetIssuerCertificateFromStore CertGetStoreProperty CertGetSubjectCertificateFromStore CertSerializeCertificateStoreElement CertSerializeCRLStoreElement CertSerializeCTLStoreElement

CertAddEnhancedKeyUsageIdentifier CertAddRefServerOcspResponse CertAddRefServerOcspResponseContext CertAlgIdToOID CertCloseServerOcspResponse CertCompareCertificate CertCompareCertificateName CertCompareIntegerBlob CertComparePublicKeyInfo CertCreateCertificateChainEngine CertCreateCertificateContext CertCreateContext CertCreateCRLContext CertCreateCTLContext CertCreateCTLEntryFromCertificateContextProperties CertCreateSelfSignCertificate CertDuplicateCertificateChain CertDuplicateCertificateContext CertDuplicateCRLContext CertDuplicateCTLContext CertEnumCertificateContextProperties CertEnumCRLContextProperties CertEnumCTLContextProperties CertEnumSubjectInSortedCTL CertFindAttribute CertFindCertificateInCRL CertFindExtension CertFindRDNAttr CertFindSubjectInCTL CertFindSubjectInSortedCTL CertFreeCertificateChain CertFreeCertificateChainEngine CertFreeCertificateChainList CertFreeCertificateContext CertFreeCRLContext CertFreeCTLContext CertFreeServerOcspResponseContext CertGetCertificateChain CertGetCertificateContextProperty CertGetCRLContextProperty CertGetCTLContextProperty CertGetEnhancedKeyUsage CertGetIntendedKeyUsage CertGetNameStringA CertGetNameStringW CertGetPublicKeyLength CertGetServerOcspResponseContext CertGetValidUsages CertIsRDNAttrsInCertificateName CertIsStrongHashToSign CertIsValidCRLForCertificate CertNameToStrA CertNameToStrW CertOIDToAlgId CertOpenServerOcspResponse CertRDNValueToStrA CertRDNValueToStrW CertRemoveEnhancedKeyUsageIdentifier CertResyncCertificateChainEngine CertRetrieveLogoOrBiometricInfo CertSelectCertificateChains CertSetCertificateContextPropertiesFromCTLEntry CertSetCertificateContextProperty CertSetCRLContextProperty CertSetCTLContextProperty CertSetEnhancedKeyUsage CertStrToNameA CertStrToNameW CertVerifyCertificateChainPolicy CertVerifyCRLRevocation CertVerifyCRLTimeValidity CertVerifyCTLUsage CertVerifyRevocation CertVerifySubjectCertificateContext CertVerifyTimeValidity CertVerifyValidityNesting

Here is the caller graph for this function:

◆ CertOpenSystemStoreA()

HCERTSTORE CertOpenSystemStoreA ( HCRYPTPROV_LEGACY  hProv,
LPCSTR  szSubsystemProtocol 
)
Here is the call graph for this function:

◆ CertOpenSystemStoreW()

HCERTSTORE CertOpenSystemStoreW ( HCRYPTPROV_LEGACY  hProv,
LPCWSTR  szSubsystemProtocol 
)
Here is the call graph for this function:
Here is the caller graph for this function: