Skip to content

Commit

Permalink
Add proper certs for unit-tests (#18162)
Browse files Browse the repository at this point in the history
  • Loading branch information
kghost authored May 9, 2022
1 parent 04c85c7 commit 44dd01b
Show file tree
Hide file tree
Showing 45 changed files with 1,103 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/credentials/tests/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ static_library("cert_test_vectors") {
"CHIPAttCert_test_vectors.h",
"CHIPCert_test_vectors.cpp",
"CHIPCert_test_vectors.h",
"CHIPCert_unit_test_vectors.cpp",
"CHIPCert_unit_test_vectors.h",
]

cflags = [ "-Wconversion" ]
Expand Down
351 changes: 351 additions & 0 deletions src/credentials/tests/CHIPCert_unit_test_vectors.cpp

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions src/credentials/tests/CHIPCert_unit_test_vectors.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/*
* Copyright (c) 2022 Project CHIP Authors
* All rights reserved.
*
* 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.
*/

#pragma once

#include <lib/support/Span.h>

namespace chip {
namespace TestCerts {

// Cert Hierarchy
//
// RootA RootB
// | |
// +---------+-+-------+ |
// | | | |
// IA_A1 IA_A2 NodeA4 IA_B1
// | | |
// +--+--+ | |
// | | | |
// NodeA1 NodeA2 NodeA3 NodeB1

struct UnitTestCertAsset
{
UnitTestCertAsset(ByteSpan cert, ByteSpan key) : mCert(cert), mKey(key) {}
ByteSpan mCert;
ByteSpan mKey;
};

UnitTestCertAsset GetRootACertAsset();
UnitTestCertAsset GetRootBCertAsset();
UnitTestCertAsset GetIAA1CertAsset();
UnitTestCertAsset GetIAA2CertAsset();
UnitTestCertAsset GetIAB1CertAsset();
UnitTestCertAsset GetNodeA1CertAsset();
UnitTestCertAsset GetNodeA2CertAsset();
UnitTestCertAsset GetNodeA3CertAsset();
UnitTestCertAsset GetNodeA4CertAsset();
UnitTestCertAsset GetNodeB1CertAsset();

} // namespace TestCerts
} // namespace chip
12 changes: 12 additions & 0 deletions src/credentials/tests/certificates/UnitTest_IA_A1.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-----BEGIN CERTIFICATE-----
MIIBvjCCAWWgAwIBAgIILp+IWbUMKiYwCgYIKoZIzj0EAwIwRDEgMB4GCisGAQQB
gqJ8AQQMEENBQ0FDQUNBMDAwMDAwMEExIDAeBgorBgEEAYKifAEFDBBGQUJGQUIw
MDAwMDAwMDBBMB4XDTIyMDUwNjEwMTQwMFoXDTQyMDUwNjEwMTQwMFowIjEgMB4G
CisGAQQBgqJ8AQMMEDBBMEEwQTBBMDAwMDAwQTEwWTATBgcqhkjOPQIBBggqhkjO
PQMBBwNCAAQLkxNvyhvHOGRewICeqgeniZlrVfxlqrEMn/mnbwcVeM8vvfTcBoK7
F9vJHjanLqTHRP7v9TTDRHbatNuiugPvo2MwYTAPBgNVHRMBAf8EBTADAQH/MB0G
A1UdDgQWBBTUZBirTON+acvhE6HpqEpjc5RyEDAfBgNVHSMEGDAWgBQF9IE7B/yy
blbIVjw7EZcf9tGtHzAOBgNVHQ8BAf8EBAMCAQYwCgYIKoZIzj0EAwIDRwAwRAIg
bhDFV4gclraoEvM04VkmbrVgLlA7SVnnHfM4Qpwl7TICIEXaWjIdckcZqaDtkQrR
CK39tOYd0EQG4r7Rq2kwQXEC
-----END CERTIFICATE-----
36 changes: 36 additions & 0 deletions src/credentials/tests/certificates/UnitTest_IA_A1.crt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 3359553765912619558 (0x2e9f8859b50c2a26)
Signature Algorithm: ecdsa-with-SHA256
Issuer: 1.3.6.1.4.1.37244.1.4 = CACACACA0000000A, 1.3.6.1.4.1.37244.1.5 = FABFAB000000000A
Validity
Not Before: May 6 10:14:00 2022 GMT
Not After : May 6 10:14:00 2042 GMT
Subject: 1.3.6.1.4.1.37244.1.3 = 0A0A0A0A000000A1
Subject Public Key Info:
Public Key Algorithm: id-ecPublicKey
Public-Key: (256 bit)
pub:
04:0b:93:13:6f:ca:1b:c7:38:64:5e:c0:80:9e:aa:
07:a7:89:99:6b:55:fc:65:aa:b1:0c:9f:f9:a7:6f:
07:15:78:cf:2f:bd:f4:dc:06:82:bb:17:db:c9:1e:
36:a7:2e:a4:c7:44:fe:ef:f5:34:c3:44:76:da:b4:
db:a2:ba:03:ef
ASN1 OID: prime256v1
NIST CURVE: P-256
X509v3 extensions:
X509v3 Basic Constraints: critical
CA:TRUE
X509v3 Subject Key Identifier:
D4:64:18:AB:4C:E3:7E:69:CB:E1:13:A1:E9:A8:4A:63:73:94:72:10
X509v3 Authority Key Identifier:
keyid:05:F4:81:3B:07:FC:B2:6E:56:C8:56:3C:3B:11:97:1F:F6:D1:AD:1F

X509v3 Key Usage: critical
Certificate Sign, CRL Sign
Signature Algorithm: ecdsa-with-SHA256
30:44:02:20:6e:10:c5:57:88:1c:96:b6:a8:12:f3:34:e1:59:
26:6e:b5:60:2e:50:3b:49:59:e7:1d:f3:38:42:9c:25:ed:32:
02:20:45:da:5a:32:1d:72:47:19:a9:a0:ed:91:0a:d1:08:ad:
fd:b4:e6:1d:d0:44:06:e2:be:d1:ab:69:30:41:71:02
5 changes: 5 additions & 0 deletions src/credentials/tests/certificates/UnitTest_IA_A1.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIFeCVwNGZReml6eeB7bi3XT1RwKwsZ9cODmffUXtIaJVoAoGCCqGSM49
AwEHoUQDQgAEC5MTb8obxzhkXsCAnqoHp4mZa1X8ZaqxDJ/5p28HFXjPL7303AaC
uxfbyR42py6kx0T+7/U0w0R22rTboroD7w==
-----END EC PRIVATE KEY-----
13 changes: 13 additions & 0 deletions src/credentials/tests/certificates/UnitTest_IA_A1.pem.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Private-Key: (256 bit)
priv:
57:82:57:03:46:65:17:a6:97:a7:9e:07:b6:e2:dd:
74:f5:47:02:b0:b1:9f:5c:38:39:9f:7d:45:ed:21:
a2:55
pub:
04:0b:93:13:6f:ca:1b:c7:38:64:5e:c0:80:9e:aa:
07:a7:89:99:6b:55:fc:65:aa:b1:0c:9f:f9:a7:6f:
07:15:78:cf:2f:bd:f4:dc:06:82:bb:17:db:c9:1e:
36:a7:2e:a4:c7:44:fe:ef:f5:34:c3:44:76:da:b4:
db:a2:ba:03:ef
ASN1 OID: prime256v1
NIST CURVE: P-256
12 changes: 12 additions & 0 deletions src/credentials/tests/certificates/UnitTest_IA_A2.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-----BEGIN CERTIFICATE-----
MIIBvzCCAWWgAwIBAgIIEXyc3HIbZKkwCgYIKoZIzj0EAwIwRDEgMB4GCisGAQQB
gqJ8AQQMEENBQ0FDQUNBMDAwMDAwMEExIDAeBgorBgEEAYKifAEFDBBGQUJGQUIw
MDAwMDAwMDBBMB4XDTIyMDUwNjEwMTUwMFoXDTQyMDUwNjEwMTUwMFowIjEgMB4G
CisGAQQBgqJ8AQMMEDBBMEEwQTBBMDAwMDAwQTIwWTATBgcqhkjOPQIBBggqhkjO
PQMBBwNCAARWQphcdWiMfsM5i/QfzqS5ij7QpY0Ulbj1OVdtjK47f6O1J6e0Z6PZ
vzLQrtSRazXEQJ5IVVyhgizsef5l+Ynco2MwYTAPBgNVHRMBAf8EBTADAQH/MB0G
A1UdDgQWBBQPhEz2hHM97GyL6yiVS74bidOnbDAfBgNVHSMEGDAWgBQF9IE7B/yy
blbIVjw7EZcf9tGtHzAOBgNVHQ8BAf8EBAMCAQYwCgYIKoZIzj0EAwIDSAAwRQIh
APq43yzKSJt/f8/vwRultyVIP6DvbWL+A9bNg46GVXNjAiBleBLoDje5izciHZfT
v6BGcUyCzcpJisM39qMAQAFtJg==
-----END CERTIFICATE-----
36 changes: 36 additions & 0 deletions src/credentials/tests/certificates/UnitTest_IA_A2.crt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 1260054466378032297 (0x117c9cdc721b64a9)
Signature Algorithm: ecdsa-with-SHA256
Issuer: 1.3.6.1.4.1.37244.1.4 = CACACACA0000000A, 1.3.6.1.4.1.37244.1.5 = FABFAB000000000A
Validity
Not Before: May 6 10:15:00 2022 GMT
Not After : May 6 10:15:00 2042 GMT
Subject: 1.3.6.1.4.1.37244.1.3 = 0A0A0A0A000000A2
Subject Public Key Info:
Public Key Algorithm: id-ecPublicKey
Public-Key: (256 bit)
pub:
04:56:42:98:5c:75:68:8c:7e:c3:39:8b:f4:1f:ce:
a4:b9:8a:3e:d0:a5:8d:14:95:b8:f5:39:57:6d:8c:
ae:3b:7f:a3:b5:27:a7:b4:67:a3:d9:bf:32:d0:ae:
d4:91:6b:35:c4:40:9e:48:55:5c:a1:82:2c:ec:79:
fe:65:f9:89:dc
ASN1 OID: prime256v1
NIST CURVE: P-256
X509v3 extensions:
X509v3 Basic Constraints: critical
CA:TRUE
X509v3 Subject Key Identifier:
0F:84:4C:F6:84:73:3D:EC:6C:8B:EB:28:95:4B:BE:1B:89:D3:A7:6C
X509v3 Authority Key Identifier:
keyid:05:F4:81:3B:07:FC:B2:6E:56:C8:56:3C:3B:11:97:1F:F6:D1:AD:1F

X509v3 Key Usage: critical
Certificate Sign, CRL Sign
Signature Algorithm: ecdsa-with-SHA256
30:45:02:21:00:fa:b8:df:2c:ca:48:9b:7f:7f:cf:ef:c1:1b:
a5:b7:25:48:3f:a0:ef:6d:62:fe:03:d6:cd:83:8e:86:55:73:
63:02:20:65:78:12:e8:0e:37:b9:8b:37:22:1d:97:d3:bf:a0:
46:71:4c:82:cd:ca:49:8a:c3:37:f6:a3:00:40:01:6d:26
5 changes: 5 additions & 0 deletions src/credentials/tests/certificates/UnitTest_IA_A2.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIP8zFY/6EDVLrMxfwzyFQ3CSL7XY2eoGe6MU6bq7S9FKoAoGCCqGSM49
AwEHoUQDQgAEVkKYXHVojH7DOYv0H86kuYo+0KWNFJW49TlXbYyuO3+jtSentGej
2b8y0K7UkWs1xECeSFVcoYIs7Hn+ZfmJ3A==
-----END EC PRIVATE KEY-----
13 changes: 13 additions & 0 deletions src/credentials/tests/certificates/UnitTest_IA_A2.pem.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Private-Key: (256 bit)
priv:
ff:33:15:8f:fa:10:35:4b:ac:cc:5f:c3:3c:85:43:
70:92:2f:b5:d8:d9:ea:06:7b:a3:14:e9:ba:bb:4b:
d1:4a
pub:
04:56:42:98:5c:75:68:8c:7e:c3:39:8b:f4:1f:ce:
a4:b9:8a:3e:d0:a5:8d:14:95:b8:f5:39:57:6d:8c:
ae:3b:7f:a3:b5:27:a7:b4:67:a3:d9:bf:32:d0:ae:
d4:91:6b:35:c4:40:9e:48:55:5c:a1:82:2c:ec:79:
fe:65:f9:89:dc
ASN1 OID: prime256v1
NIST CURVE: P-256
11 changes: 11 additions & 0 deletions src/credentials/tests/certificates/UnitTest_IA_B1.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-----BEGIN CERTIFICATE-----
MIIBnTCCAUOgAwIBAgIIG7E8ejrKdOIwCgYIKoZIzj0EAwIwIjEgMB4GCisGAQQB
gqJ8AQQMEENBQ0FDQUNBMDAwMDAwMEIwHhcNMjIwNTA2MTAxNDAwWhcNNDIwNTA2
MTAwMDAwWjAiMSAwHgYKKwYBBAGConwBAwwQMEEwQTBBMEEwMDAwMDBCMTBZMBMG
ByqGSM49AgEGCCqGSM49AwEHA0IABB5Buu67CBZY1JF4fBsb6iS0xBQvR4bDdhP7
29wcZanQ0jl7LKCo/i7uzTXA1iacyDSVRMju8+ZhOdrEhCG+HomjYzBhMA8GA1Ud
EwEB/wQFMAMBAf8wHQYDVR0OBBYEFAlDFxCWc2oLyM4nNC5DJLHKmM9aMB8GA1Ud
IwQYMBaAFLmtV5282Vo/NAcXjwQCW0ApEr2pMA4GA1UdDwEB/wQEAwIBBjAKBggq
hkjOPQQDAgNIADBFAiEAthnIgJm/XhfUPewiASwAuTesfmvtDBp7dQkNp7LesVgC
IBy5BGFWpE//MdvkKiKR+YxwzVm53ESeor2Acjd7Cn0r
-----END CERTIFICATE-----
36 changes: 36 additions & 0 deletions src/credentials/tests/certificates/UnitTest_IA_B1.crt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 1995442605571863778 (0x1bb13c7a3aca74e2)
Signature Algorithm: ecdsa-with-SHA256
Issuer: 1.3.6.1.4.1.37244.1.4 = CACACACA0000000B
Validity
Not Before: May 6 10:14:00 2022 GMT
Not After : May 6 10:00:00 2042 GMT
Subject: 1.3.6.1.4.1.37244.1.3 = 0A0A0A0A000000B1
Subject Public Key Info:
Public Key Algorithm: id-ecPublicKey
Public-Key: (256 bit)
pub:
04:1e:41:ba:ee:bb:08:16:58:d4:91:78:7c:1b:1b:
ea:24:b4:c4:14:2f:47:86:c3:76:13:fb:db:dc:1c:
65:a9:d0:d2:39:7b:2c:a0:a8:fe:2e:ee:cd:35:c0:
d6:26:9c:c8:34:95:44:c8:ee:f3:e6:61:39:da:c4:
84:21:be:1e:89
ASN1 OID: prime256v1
NIST CURVE: P-256
X509v3 extensions:
X509v3 Basic Constraints: critical
CA:TRUE
X509v3 Subject Key Identifier:
09:43:17:10:96:73:6A:0B:C8:CE:27:34:2E:43:24:B1:CA:98:CF:5A
X509v3 Authority Key Identifier:
keyid:B9:AD:57:9D:BC:D9:5A:3F:34:07:17:8F:04:02:5B:40:29:12:BD:A9

X509v3 Key Usage: critical
Certificate Sign, CRL Sign
Signature Algorithm: ecdsa-with-SHA256
30:45:02:21:00:b6:19:c8:80:99:bf:5e:17:d4:3d:ec:22:01:
2c:00:b9:37:ac:7e:6b:ed:0c:1a:7b:75:09:0d:a7:b2:de:b1:
58:02:20:1c:b9:04:61:56:a4:4f:ff:31:db:e4:2a:22:91:f9:
8c:70:cd:59:b9:dc:44:9e:a2:bd:80:72:37:7b:0a:7d:2b
5 changes: 5 additions & 0 deletions src/credentials/tests/certificates/UnitTest_IA_B1.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIM0JgIklchH6bF2BLLwOpwCoskBWd5fc5cpWoqRaK+bzoAoGCCqGSM49
AwEHoUQDQgAEHkG67rsIFljUkXh8GxvqJLTEFC9HhsN2E/vb3BxlqdDSOXssoKj+
Lu7NNcDWJpzINJVEyO7z5mE52sSEIb4eiQ==
-----END EC PRIVATE KEY-----
13 changes: 13 additions & 0 deletions src/credentials/tests/certificates/UnitTest_IA_B1.pem.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Private-Key: (256 bit)
priv:
cd:09:80:89:25:72:11:fa:6c:5d:81:2c:bc:0e:a7:
00:a8:b2:40:56:77:97:dc:e5:ca:56:a2:a4:5a:2b:
e6:f3
pub:
04:1e:41:ba:ee:bb:08:16:58:d4:91:78:7c:1b:1b:
ea:24:b4:c4:14:2f:47:86:c3:76:13:fb:db:dc:1c:
65:a9:d0:d2:39:7b:2c:a0:a8:fe:2e:ee:cd:35:c0:
d6:26:9c:c8:34:95:44:c8:ee:f3:e6:61:39:da:c4:
84:21:be:1e:89
ASN1 OID: prime256v1
NIST CURVE: P-256
13 changes: 13 additions & 0 deletions src/credentials/tests/certificates/UnitTest_NodeA1.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
-----BEGIN CERTIFICATE-----
MIIB4DCCAYagAwIBAgIICbqltouEcdgwCgYIKoZIzj0EAwIwIjEgMB4GCisGAQQB
gqJ8AQMMEDBBMEEwQTBBMDAwMDAwQTEwHhcNMjIwNTA2MTAxODAwWhcNNDIwNTA2
MTAxODAwWjBEMSAwHgYKKwYBBAGConwBAQwQMDAwMDAwMDAxMTIyMzM0NDEgMB4G
CisGAQQBgqJ8AQUMEEZBQkZBQjAwMDAwMDAwMEEwWTATBgcqhkjOPQIBBggqhkjO
PQMBBwNCAAQ4m57EnoRIwI80FJw+qUfRSeK79ZOTR1+pFnE6x4HSc/i1KbKPvroe
OifRQmfUDF6nJUtiV30AMDAn2KhPoRGgo4GDMIGAMAwGA1UdEwEB/wQCMAAwHQYD
VR0OBBYEFGmN++1KrE3nOJXGT75eb+7Om/lZMB8GA1UdIwQYMBaAFNRkGKtM435p
y+EToemoSmNzlHIQMA4GA1UdDwEB/wQEAwIHgDAgBgNVHSUBAf8EFjAUBggrBgEF
BQcDAQYIKwYBBQUHAwIwCgYIKoZIzj0EAwIDSAAwRQIhALqewwF6EhqLcv2ax08A
aJihKF1W/IrZT1ZVb2srlB8cAiAa3WZELeXGjq5SwKRTvVCkX7VqlnprwnQ8VIHi
HEoEFA==
-----END CERTIFICATE-----
38 changes: 38 additions & 0 deletions src/credentials/tests/certificates/UnitTest_NodeA1.crt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 701054895452877272 (0x9baa5b68b8471d8)
Signature Algorithm: ecdsa-with-SHA256
Issuer: 1.3.6.1.4.1.37244.1.3 = 0A0A0A0A000000A1
Validity
Not Before: May 6 10:18:00 2022 GMT
Not After : May 6 10:18:00 2042 GMT
Subject: 1.3.6.1.4.1.37244.1.1 = 0000000011223344, 1.3.6.1.4.1.37244.1.5 = FABFAB000000000A
Subject Public Key Info:
Public Key Algorithm: id-ecPublicKey
Public-Key: (256 bit)
pub:
04:38:9b:9e:c4:9e:84:48:c0:8f:34:14:9c:3e:a9:
47:d1:49:e2:bb:f5:93:93:47:5f:a9:16:71:3a:c7:
81:d2:73:f8:b5:29:b2:8f:be:ba:1e:3a:27:d1:42:
67:d4:0c:5e:a7:25:4b:62:57:7d:00:30:30:27:d8:
a8:4f:a1:11:a0
ASN1 OID: prime256v1
NIST CURVE: P-256
X509v3 extensions:
X509v3 Basic Constraints: critical
CA:FALSE
X509v3 Subject Key Identifier:
69:8D:FB:ED:4A:AC:4D:E7:38:95:C6:4F:BE:5E:6F:EE:CE:9B:F9:59
X509v3 Authority Key Identifier:
keyid:D4:64:18:AB:4C:E3:7E:69:CB:E1:13:A1:E9:A8:4A:63:73:94:72:10

X509v3 Key Usage: critical
Digital Signature
X509v3 Extended Key Usage: critical
TLS Web Server Authentication, TLS Web Client Authentication
Signature Algorithm: ecdsa-with-SHA256
30:45:02:21:00:ba:9e:c3:01:7a:12:1a:8b:72:fd:9a:c7:4f:
00:68:98:a1:28:5d:56:fc:8a:d9:4f:56:55:6f:6b:2b:94:1f:
1c:02:20:1a:dd:66:44:2d:e5:c6:8e:ae:52:c0:a4:53:bd:50:
a4:5f:b5:6a:96:7a:6b:c2:74:3c:54:81:e2:1c:4a:04:14
5 changes: 5 additions & 0 deletions src/credentials/tests/certificates/UnitTest_NodeA1.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIOeOpQK9xHU8C4do1DtoF0DKKcRBY6q4Oib6o/FKETD/oAoGCCqGSM49
AwEHoUQDQgAEOJuexJ6ESMCPNBScPqlH0Uniu/WTk0dfqRZxOseB0nP4tSmyj766
Hjon0UJn1AxepyVLYld9ADAwJ9ioT6ERoA==
-----END EC PRIVATE KEY-----
13 changes: 13 additions & 0 deletions src/credentials/tests/certificates/UnitTest_NodeA1.pem.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Private-Key: (256 bit)
priv:
e7:8e:a5:02:bd:c4:75:3c:0b:87:68:d4:3b:68:17:
40:ca:29:c4:41:63:aa:b8:3a:26:fa:a3:f1:4a:11:
30:ff
pub:
04:38:9b:9e:c4:9e:84:48:c0:8f:34:14:9c:3e:a9:
47:d1:49:e2:bb:f5:93:93:47:5f:a9:16:71:3a:c7:
81:d2:73:f8:b5:29:b2:8f:be:ba:1e:3a:27:d1:42:
67:d4:0c:5e:a7:25:4b:62:57:7d:00:30:30:27:d8:
a8:4f:a1:11:a0
ASN1 OID: prime256v1
NIST CURVE: P-256
13 changes: 13 additions & 0 deletions src/credentials/tests/certificates/UnitTest_NodeA2.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
-----BEGIN CERTIFICATE-----
MIIB4TCCAYagAwIBAgIIIayBnZFg9vAwCgYIKoZIzj0EAwIwIjEgMB4GCisGAQQB
gqJ8AQMMEDBBMEEwQTBBMDAwMDAwQTEwHhcNMjIwNTA2MTAxODAwWhcNNDIwNTA2
MTAxODAwWjBEMSAwHgYKKwYBBAGConwBAQwQMDAwMDAwMDAxMjM0NDMyMTEgMB4G
CisGAQQBgqJ8AQUMEEZBQkZBQjAwMDAwMDAwMEEwWTATBgcqhkjOPQIBBggqhkjO
PQMBBwNCAARcGwn8iPYrkfrLhu99eSEJRwbJ2QmKK6k5K/wvV5WW8tobeWJSqcbk
KcZC5yG0mSQPNQSsy4SXOre6gMm4PxnAo4GDMIGAMAwGA1UdEwEB/wQCMAAwHQYD
VR0OBBYEFPsOgoqRbRoPaulyH9YRw8q9b+a6MB8GA1UdIwQYMBaAFNRkGKtM435p
y+EToemoSmNzlHIQMA4GA1UdDwEB/wQEAwIHgDAgBgNVHSUBAf8EFjAUBggrBgEF
BQcDAQYIKwYBBQUHAwIwCgYIKoZIzj0EAwIDSQAwRgIhAP1s1lZraX87O17wNjV4
Li0JzaH1pZZq89xNTdteKmrUAiEAvhyJ3ibp2AGMZWzMZ+yrsaXADZVOChL9AK1O
u6WZ5zc=
-----END CERTIFICATE-----
Loading

0 comments on commit 44dd01b

Please sign in to comment.