Home
last modified time | relevance | path

Searched refs:pCertificate (Results 1 – 25 of 223) sorted by relevance

123456789

/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/src/network/
H A DTlsChecker.cpp27 bool TlsChecker::checkCertificate(const QSslCertificate& pCertificate, in checkCertificate() argument
31 …ebug() << "Check certificate CN=" << pCertificate.subjectInfo(QSslCertificate::CommonName) << "SN=… in checkCertificate()
32 QString hash = QString::fromLatin1(pCertificate.digest(pAlgorithm).toHex()); in checkCertificate()
47 bool TlsChecker::hasValidCertificateKeyLength(const QSslCertificate& pCertificate) in hasValidCertificateKeyLength() argument
49 if (pCertificate.isNull()) in hasValidCertificateKeyLength()
55 auto keyLength = pCertificate.publicKey().length(); in hasValidCertificateKeyLength()
56 auto keyAlgorithm = pCertificate.publicKey().algorithm(); in hasValidCertificateKeyLength()
102 QString TlsChecker::getCertificateIssuerName(const QSslCertificate& pCertificate) in getCertificateIssuerName() argument
104 const auto& issuerNameList = pCertificate.issuerInfo(QSslCertificate::CommonName); in getCertificateIssuerName()
H A DTlsChecker.h38 static bool checkCertificate(const QSslCertificate& pCertificate,
45 static bool hasValidCertificateKeyLength(const QSslCertificate& pCertificate);
55 static QString getCertificateIssuerName(const QSslCertificate& pCertificate);
/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/src/workflows/base/
H A DCertificateChecker.cpp20 …:CertificateStatus CertificateChecker::checkAndSaveCertificate(const QSslCertificate& pCertificate, in Q_DECLARE_LOGGING_CATEGORY()
26 if (!TlsChecker::hasValidCertificateKeyLength(pCertificate)) in Q_DECLARE_LOGGING_CATEGORY()
37 if (!TlsChecker::checkCertificate(pCertificate, hashAlgo, certHashes)) in Q_DECLARE_LOGGING_CATEGORY()
54 pSaveCertificateFunc(pUrl, pCertificate); in Q_DECLARE_LOGGING_CATEGORY()
H A DCertificateChecker.h45 static CertificateStatus checkAndSaveCertificate(const QSslCertificate& pCertificate,
/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/src/settings/
H A DRemoteServiceSettings.cpp165 void RemoteServiceSettings::addTrustedCertificate(const QSslCertificate& pCertificate) in addTrustedCertificate() argument
168 certs << pCertificate; in addTrustedCertificate()
173 void RemoteServiceSettings::removeTrustedCertificate(const QSslCertificate& pCertificate) in removeTrustedCertificate() argument
176 certs.removeAll(pCertificate); in removeTrustedCertificate()
248 …ettings::RemoteInfo RemoteServiceSettings::getRemoteInfo(const QSslCertificate& pCertificate) const in getRemoteInfo()
250 return getRemoteInfo(generateFingerprint(pCertificate)); in getRemoteInfo()
H A DRemoteServiceSettings.h93 void addTrustedCertificate(const QSslCertificate& pCertificate);
94 void removeTrustedCertificate(const QSslCertificate& pCertificate);
105 [[nodiscard]] RemoteInfo getRemoteInfo(const QSslCertificate& pCertificate) const;
/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/src/workflows/base/states/
H A DStateGetSelfAuthenticationData.cpp59 (const QUrl& pUrl, const QSslCertificate& pCertificate) in checkSslConnectionAndSaveCertificate()
61 context->addCertificateData(pUrl, pCertificate); in checkSslConnectionAndSaveCertificate()
H A DStateGenericSendReceive.cpp197 …lStatus::Code StateGenericSendReceive::checkAndSaveCertificate(const QSslCertificate& pCertificate) in checkAndSaveCertificate() argument
208 …switch (CertificateChecker::checkAndSaveCertificate(pCertificate, c->getTcToken()->getServerAddres… in checkAndSaveCertificate()
H A DStateCheckRefreshAddress.cpp206 (const QUrl& pUrl, const QSslCertificate& pCertificate) in checkSslConnectionAndSaveCertificate()
209 context->addCertificateData(pUrl, pCertificate); in checkSslConnectionAndSaveCertificate()
H A DStateGenericSendReceive.h35 GlobalStatus::Code checkAndSaveCertificate(const QSslCertificate& pCertificate);
/dports/editors/libreoffice/libreoffice-7.2.6.2/xmlsecurity/source/helper/
H A Ddocumentsignaturemanager.cxx333 if (auto pCertificate = dynamic_cast<xmlsecurity::Certificate*>(xCert.get())) in add() local
336 comphelper::Base64::encode(aBuffer, pCertificate->getSHA256Thumbprint()); in add()
380 if (auto pCertificate = dynamic_cast<xmlsecurity::Certificate*>(xCert.get())) in add() local
383 comphelper::Base64::encode(aBuffer, pCertificate->getSHA256Thumbprint()); in add()
386 eAlgorithmID = pCertificate->getSignatureMethodAlgorithm(); in add()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/xmlsecurity/source/helper/
H A Ddocumentsignaturemanager.cxx332 if (auto pCertificate = dynamic_cast<xmlsecurity::Certificate*>(xCert.get())) in add() local
335 comphelper::Base64::encode(aBuffer, pCertificate->getSHA256Thumbprint()); in add()
379 if (auto pCertificate = dynamic_cast<xmlsecurity::Certificate*>(xCert.get())) in add() local
382 comphelper::Base64::encode(aBuffer, pCertificate->getSHA256Thumbprint()); in add()
385 eAlgorithmID = pCertificate->getSignatureMethodAlgorithm(); in add()
/dports/lang/zig/zig-0.9.0/lib/libc/include/any-windows-any/
H A Dschannel.h617 PBYTE pCertificate; member
680 VOID SslFreeCertificate(PX509Certificate pCertificate);
688 typedef VOID (WINAPI *SSL_FREE_CERTIFICATE_FN)(PX509Certificate pCertificate);
/dports/lang/zig-devel/zig-0.9.0/lib/libc/include/any-windows-any/
H A Dschannel.h617 PBYTE pCertificate; member
680 VOID SslFreeCertificate(PX509Certificate pCertificate);
688 typedef VOID (WINAPI *SSL_FREE_CERTIFICATE_FN)(PX509Certificate pCertificate);
/dports/editors/libreoffice/libreoffice-7.2.6.2/svl/source/crypto/
H A Dcryptosign.cxx1992 …CERTCertificate* pCertificate = NSS_CMSSignerInfo_GetSigningCertificate(pCMSSignerInfo, CERT_GetDe… in Verify() local
1993 if (!pCertificate) in Verify()
2000 uno::Sequence<sal_Int8> aDerCert(pCertificate->derCert.len); in Verify()
2001 for (size_t i = 0; i < pCertificate->derCert.len; ++i) in Verify()
2002 aDerCert[i] = pCertificate->derCert.data[i]; in Verify()
2008 …temp.back().X509Subject = OUString(pCertificate->subjectName, PL_strlen(pCertificate->subjectName)… in Verify()
/dports/graphics/py-gdal/gdal-3.3.3/port/
H A Dcpl_http.cpp199 PCCERT_CONTEXT pCertificate = CertEnumCertificatesInStore( pCertStore, nullptr ); in LoadCAPICertificates() local
200 while( pCertificate != nullptr ) in LoadCAPICertificates()
203 const_cast<unsigned char const **>(&pCertificate->pbCertEncoded), in LoadCAPICertificates()
204 pCertificate->cbCertEncoded ); in LoadCAPICertificates()
227 pCertificate = CertEnumCertificatesInStore(pCertStore, pCertificate); in LoadCAPICertificates()
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/port/
H A Dcpl_http.cpp199 PCCERT_CONTEXT pCertificate = CertEnumCertificatesInStore( pCertStore, nullptr ); in LoadCAPICertificates() local
200 while( pCertificate != nullptr ) in LoadCAPICertificates()
203 const_cast<unsigned char const **>(&pCertificate->pbCertEncoded), in LoadCAPICertificates()
204 pCertificate->cbCertEncoded ); in LoadCAPICertificates()
227 pCertificate = CertEnumCertificatesInStore(pCertStore, pCertificate); in LoadCAPICertificates()
/dports/graphics/gdal/gdal-3.3.3/port/
H A Dcpl_http.cpp199 PCCERT_CONTEXT pCertificate = CertEnumCertificatesInStore( pCertStore, nullptr ); in LoadCAPICertificates() local
200 while( pCertificate != nullptr ) in LoadCAPICertificates()
203 const_cast<unsigned char const **>(&pCertificate->pbCertEncoded), in LoadCAPICertificates()
204 pCertificate->cbCertEncoded ); in LoadCAPICertificates()
227 pCertificate = CertEnumCertificatesInStore(pCertStore, pCertificate); in LoadCAPICertificates()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svl/source/crypto/
H A Dcryptosign.cxx2087 …CERTCertificate* pCertificate = NSS_CMSSignerInfo_GetSigningCertificate(pCMSSignerInfo, CERT_GetDe… in Verify() local
2088 if (!pCertificate) in Verify()
2095 uno::Sequence<sal_Int8> aDerCert(pCertificate->derCert.len); in Verify()
2096 for (size_t i = 0; i < pCertificate->derCert.len; ++i) in Verify()
2097 aDerCert[i] = pCertificate->derCert.data[i]; in Verify()
2101 …rInformation.ouSubject = OUString(pCertificate->subjectName, PL_strlen(pCertificate->subjectName),… in Verify()
/dports/net/gamenetworkingsockets/GameNetworkingSockets-1.3.0/include/steam/
H A Disteamnetworkingsockets.h688 …virtual bool SetCertificate( const void *pCertificate, int cbCertificate, SteamNetworkingErrMsg &e…
H A Dsteamnetworkingsockets_flat.h62 …ngSockets_SetCertificate( ISteamNetworkingSockets* self, const void * pCertificate, int cbCertific…
/dports/net/gamenetworkingsockets/GameNetworkingSockets-1.3.0/src/steamnetworkingsockets/clientlib/
H A Dsteamnetworkingsockets_flat.cpp176 …ngSockets_SetCertificate( ISteamNetworkingSockets* self, const void * pCertificate, int cbCertific… in SteamAPI_ISteamNetworkingSockets_SetCertificate() argument
178 return self->SetCertificate( pCertificate,cbCertificate,errMsg ); in SteamAPI_ISteamNetworkingSockets_SetCertificate()
H A Dcsteamnetworkingsockets.h110 …virtual bool SetCertificate( const void *pCertificate, int cbCertificate, SteamNetworkingErrMsg &e…
/dports/editors/libreoffice/libreoffice-7.2.6.2/xmlsecurity/source/xmlsec/nss/
H A Dsecurityenvironment_nssimpl.cxx832 if (auto pCertificate = dynamic_cast<X509Certificate_NssImpl*>(m_xSigningCertificate.get())) in createKeysManager() local
834 SECKEYPrivateKey* pPrivateKey = SECKEY_CopyPrivateKey(pCertificate->getPrivateKey()); in createKeysManager()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/xmlsecurity/source/xmlsec/nss/
H A Dsecurityenvironment_nssimpl.cxx853 if (auto pCertificate = dynamic_cast<X509Certificate_NssImpl*>(m_xSigningCertificate.get())) in createKeysManager() local
855 SECKEYPrivateKey* pPrivateKey = SECKEY_CopyPrivateKey(pCertificate->getPrivateKey()); in createKeysManager()

123456789