[example] Add SHA256 tests to example extension

This commit is contained in:
Fabian Sommer
2025-01-16 16:24:13 +01:00
committed by GitHub
parent 3371c041e2
commit d77c3dc86d
2 changed files with 3 additions and 2 deletions
@@ -45,7 +45,8 @@ constexpr uint8_t kFakeCert1Der[] = {1, 2, 3};
constexpr Algorithm kFakeCert1Algorithms[] = {Algorithm::kRsassaPkcs1v15Sha256};
constexpr uint8_t kFakeCert2Der[] = {4};
constexpr Algorithm kFakeCert2Algorithms[] = {Algorithm::kRsassaPkcs1v15Sha512,
Algorithm::kRsassaPkcs1v15Sha1};
Algorithm::kRsassaPkcs1v15Sha1,
Algorithm::kRsassaPssSha256};
ClientCertificateInfo GetFakeCert1() {
ClientCertificateInfo info;
@@ -36,7 +36,7 @@ const FAKE_CERT_1_DER = new Uint8Array([1, 2, 3]);
const FAKE_CERT_1_ALGORITHMS = ['RSASSA_PKCS1_v1_5_SHA256'];
const FAKE_CERT_2_DER = new Uint8Array([4]);
const FAKE_CERT_2_ALGORITHMS =
['RSASSA_PKCS1_v1_5_SHA512', 'RSASSA_PKCS1_v1_5_SHA1'];
['RSASSA_PKCS1_v1_5_SHA512', 'RSASSA_PKCS1_v1_5_SHA1', 'RSASSA_PSS_SHA256'];
/** @type {GSC.IntegrationTestController?} */
let testController;