Searched refs:numCerts (Results 1 – 5 of 5) sorted by relevance
96 var numCerts uint16101 !reader.readU16(&numCerts) {105 s.certificates = make([][]byte, int(numCerts))
184 int numCerts = certChain.length; in decodeX509CertificateChain() local185 X509Certificate[] decodedCerts = new X509Certificate[numCerts]; in decodeX509CertificateChain()186 for (int i = 0; i < numCerts; i++) { in decodeX509CertificateChain()
185 int numCerts = certChain.length; in decodeX509CertificateChain() local186 X509Certificate[] decodedCerts = new X509Certificate[numCerts]; in decodeX509CertificateChain()187 for (int i = 0; i < numCerts; i++) { in decodeX509CertificateChain()
1390 NSInteger numCerts = SecTrustGetCertificateCount(secTrust);1391 for (NSInteger i = 0; i < numCerts && !_pinnedCertFound; i++) {
7253 size_t numCerts = static_cast<size_t>(env->GetArrayLength(encodedCertificatesJava)); in NativeCrypto_setLocalCertsAndPrivateKey() local7254 if (numCerts == 0) { in NativeCrypto_setLocalCertsAndPrivateKey()7275 std::vector<bssl::UniquePtr<CRYPTO_BUFFER>> certBufferRefs(numCerts); in NativeCrypto_setLocalCertsAndPrivateKey()7276 std::vector<CRYPTO_BUFFER*> certBuffers(numCerts); in NativeCrypto_setLocalCertsAndPrivateKey()7277 for (size_t i = 0; i < numCerts; ++i) { in NativeCrypto_setLocalCertsAndPrivateKey()7288 if (!SSL_set_chain_and_key(ssl, certBuffers.data(), numCerts, pkey, nullptr)) { in NativeCrypto_setLocalCertsAndPrivateKey()