mirror of
https://github.com/token2/chromeos_smart_card_connector.git
synced 2026-06-22 14:42:50 -07:00
[example] Add SHA256 tests to example extension
This commit is contained in:
+2
-1
@@ -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;
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user