diff --git a/.gitattributes b/.gitattributes index af5568cf35ee6b..7fe901534f6899 100644 --- a/.gitattributes +++ b/.gitattributes @@ -7,3 +7,5 @@ src/controller/python/chip/clusters/CHIPClusters.py linguist-generated src/controller/python/chip/clusters/Objects.py linguist-generated # Let bat file use CRLF linebreak **/*.bat eol=crlf +# Mark Matter operational certificate/key files as binary +**/*.chip binary diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Cert-Version-V2-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Cert-Version-V2-Cert.der new file mode 100644 index 00000000000000..156b0b16c1c03e Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Cert-Version-V2-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Cert-Version-V2-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Cert-Version-V2-Key.der new file mode 100644 index 00000000000000..28cc8d293ed1dd Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Cert-Version-V2-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-AKID-Length-Invalid-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-AKID-Length-Invalid-Cert.chip new file mode 100644 index 00000000000000..fd81561d2d4332 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-AKID-Length-Invalid-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-AKID-Length-Invalid-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-AKID-Length-Invalid-Cert.der new file mode 100644 index 00000000000000..d7268fc9fe7331 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-AKID-Length-Invalid-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-AKID-Length-Invalid-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-AKID-Length-Invalid-Key.chip new file mode 100644 index 00000000000000..8ca27ae786ba7b --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-AKID-Length-Invalid-Key.chip @@ -0,0 +1 @@ +N�AWS�ψj*r��S�IA�s�� ���F�k�j�{@�E�"pN� �O�^+��2(DU�V��dA�����6��:��H#aM��SvcJ�a޽�QIj \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-AKID-Length-Invalid-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-AKID-Length-Invalid-Key.der new file mode 100644 index 00000000000000..bcdbb8ee6aba17 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-AKID-Length-Invalid-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-AKID-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-AKID-Missing-Cert.chip new file mode 100644 index 00000000000000..bac8cadb99ae44 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-AKID-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-AKID-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-AKID-Missing-Key.chip new file mode 100644 index 00000000000000..a9576c2de0900f Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-AKID-Missing-Key.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-CA-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-CA-Missing-Cert.chip new file mode 100644 index 00000000000000..7ccb8fc809ce4b Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-CA-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-CA-Missing-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-CA-Missing-Cert.der new file mode 100644 index 00000000000000..c8539b6195d8b8 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-CA-Missing-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-CA-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-CA-Missing-Key.chip new file mode 100644 index 00000000000000..a5de11dc35b776 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-CA-Missing-Key.chip @@ -0,0 +1 @@ +(LKy�:������y�&��NK�j���U��J�ݣUq�����>�Q�[lԋ�>�̱����j�y�߼y) ���a���sM��+nF�^t \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-CA-Missing-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-CA-Missing-Key.der new file mode 100644 index 00000000000000..69706a9ed31559 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-CA-Missing-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-CA-Wrong-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-CA-Wrong-Cert.chip new file mode 100644 index 00000000000000..d740d10552b660 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-CA-Wrong-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-CA-Wrong-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-CA-Wrong-Key.chip new file mode 100644 index 00000000000000..519fc284b089bf --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-CA-Wrong-Key.chip @@ -0,0 +1,2 @@ +f���jA8�����A�=s"��;ʥv Dl���:n����ڂR���zĚ��uI4s +����Xܹa6�V��1$"��Sަ�������()�� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-Critical-Missing-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-Critical-Missing-Cert.der new file mode 100644 index 00000000000000..e35ec828f9b035 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-Critical-Missing-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-Critical-Missing-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-Critical-Missing-Key.der new file mode 100644 index 00000000000000..be5f9f23018fbb Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-Critical-Missing-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-Critical-Wrong-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-Critical-Wrong-Cert.der new file mode 100644 index 00000000000000..99dc78e9d3cf2b Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-Critical-Wrong-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-Critical-Wrong-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-Critical-Wrong-Key.der new file mode 100644 index 00000000000000..b34c99b868f08a Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-Critical-Wrong-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-Missing-Cert.chip new file mode 100644 index 00000000000000..1a919d71a47f70 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-Missing-Key.chip new file mode 100644 index 00000000000000..cccf3a7d939f13 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-Missing-Key.chip @@ -0,0 +1 @@ +� R�w�Pqv~�LJ���0-�����M����a8��ց4���J�')�� �-/�,j����A�6}����%�plZ�K�ʤG` ���iRƔ0�� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-PathLen-Presence-Wrong-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-PathLen-Presence-Wrong-Cert.chip new file mode 100644 index 00000000000000..bc098586a83020 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-PathLen-Presence-Wrong-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-PathLen-Presence-Wrong-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-PathLen-Presence-Wrong-Key.chip new file mode 100644 index 00000000000000..6b4c32330a4d3a --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-PathLen-Presence-Wrong-Key.chip @@ -0,0 +1 @@ +,2�!��u��m�hh2p��C� ��U���'q{��0�����i��J9�y,88��Z�8�YlE;�cQ���e�!l��ވ�y���ԍx���w1 \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-PathLen2-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-PathLen2-Cert.chip new file mode 100644 index 00000000000000..a55551f2af0f96 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-PathLen2-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-PathLen2-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-PathLen2-Key.chip new file mode 100644 index 00000000000000..10c4b813b15207 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-Basic-PathLen2-Key.chip @@ -0,0 +1 @@ +@#Y՟aP � �&�:��z�/��Q{a�|�)?���0��i��l�U�B���+L��+� %���נ+��4J^Wą$�iC��+D�>9ǖ� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-Critical-Missing-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-Critical-Missing-Cert.der new file mode 100644 index 00000000000000..5702c8dd8cf2cc Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-Critical-Missing-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-Critical-Missing-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-Critical-Missing-Key.der new file mode 100644 index 00000000000000..38567b9f3280b4 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-Critical-Missing-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-Critical-Wrong-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-Critical-Wrong-Cert.der new file mode 100644 index 00000000000000..0def0f97f2ad61 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-Critical-Wrong-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-Critical-Wrong-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-Critical-Wrong-Key.der new file mode 100644 index 00000000000000..e6d6f26da6b025 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-Critical-Wrong-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-KeyCertSign-Wrong-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-KeyCertSign-Wrong-Cert.chip new file mode 100644 index 00000000000000..17743d3a282653 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-KeyCertSign-Wrong-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-KeyCertSign-Wrong-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-KeyCertSign-Wrong-Key.chip new file mode 100644 index 00000000000000..52dcdd85c8b45a --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-KeyCertSign-Wrong-Key.chip @@ -0,0 +1 @@ +nS����^a^���s��뜅��y�w�$�n���9��v3����$��hZ�i�3�\�k��P��Je�e�@�w�KCJ��`7�V��U��7�" \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-Missing-Cert.chip new file mode 100644 index 00000000000000..1ffa9635eed613 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-Missing-Key.chip new file mode 100644 index 00000000000000..a4d8fe07ee93fc Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-KeyUsage-Missing-Key.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-SKID-Length-Invalid-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-SKID-Length-Invalid-Cert.chip new file mode 100644 index 00000000000000..d3417e13f3d7f5 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-SKID-Length-Invalid-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-SKID-Length-Invalid-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-SKID-Length-Invalid-Cert.der new file mode 100644 index 00000000000000..b7c4080e9fdac6 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-SKID-Length-Invalid-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-SKID-Length-Invalid-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-SKID-Length-Invalid-Key.chip new file mode 100644 index 00000000000000..e61bd1cdac720f --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-SKID-Length-Invalid-Key.chip @@ -0,0 +1 @@ +�D������R��+Ͻ�*��f�G�>�������:�< e�g�T���2����+��w��C0Gq�6�D��qB�a���{�7c��h=UHꤱ� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-SKID-Length-Invalid-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-SKID-Length-Invalid-Key.der new file mode 100644 index 00000000000000..854295d62c1a8f Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-SKID-Length-Invalid-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-SKID-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-SKID-Missing-Cert.chip new file mode 100644 index 00000000000000..fa0bb835164cd7 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-SKID-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-SKID-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-SKID-Missing-Key.chip new file mode 100644 index 00000000000000..8f8e1305e16607 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Ext-SKID-Missing-Key.chip @@ -0,0 +1 @@ +��T��8:�]���Ul����YI�lAv���G����5}J��Q���f������0��N�ڽ(b-����s$�$ 6���ЫÛ�P���:r \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Issuer-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Issuer-Missing-Cert.chip new file mode 100644 index 00000000000000..3ab543066316f9 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Issuer-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Issuer-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Issuer-Missing-Key.chip new file mode 100644 index 00000000000000..59c4e6b64035cd --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Issuer-Missing-Key.chip @@ -0,0 +1,2 @@ +Ņ��ߗ��$g�32et��_r��B�� ~�z�E8 |�% 뎨����m� +�{1}����{iϯ32!�>�xì���}� ��%k�8��De \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Oversized-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Oversized-Cert.chip new file mode 100644 index 00000000000000..713f0aca87db8a Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Oversized-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Oversized-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Oversized-Cert.der new file mode 100644 index 00000000000000..b1bd197aba8b9b Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Oversized-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Oversized-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Oversized-Key.chip new file mode 100644 index 00000000000000..c2e0b69827fd2b --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Oversized-Key.chip @@ -0,0 +1 @@ +��9��cæf;A&���?�L�DlE�=�_�!TU&������y +�^ \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Serial-Number-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Serial-Number-Missing-Cert.chip new file mode 100644 index 00000000000000..277e2552c3e964 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Serial-Number-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Serial-Number-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Serial-Number-Missing-Key.chip new file mode 100644 index 00000000000000..56754d6e31a618 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Serial-Number-Missing-Key.chip @@ -0,0 +1 @@ +�t#��ؑj:����@SA<0Cd�KCNn �_�c� ����c�8М�4٩%�V%{��M�d�(*laÑֽ�m��Z�]��}��\vk��Z�& \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Algo-ECDSA-With-SHA1-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Algo-ECDSA-With-SHA1-Cert.chip new file mode 100644 index 00000000000000..413a2ad8c498e4 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Algo-ECDSA-With-SHA1-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Algo-ECDSA-With-SHA1-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Algo-ECDSA-With-SHA1-Cert.der new file mode 100644 index 00000000000000..82d1c77a6f0a20 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Algo-ECDSA-With-SHA1-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Algo-ECDSA-With-SHA1-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Algo-ECDSA-With-SHA1-Key.chip new file mode 100644 index 00000000000000..5c7e84c3aac384 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Algo-ECDSA-With-SHA1-Key.chip @@ -0,0 +1,2 @@ +_���H�pnU ~P��m%B�4�M +����z/] /m��N��ij5i{���q��J��xS �Є�ہ�4N���w}t����B ��CK4���<��N \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Algo-ECDSA-With-SHA1-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Algo-ECDSA-With-SHA1-Key.der new file mode 100644 index 00000000000000..db2d4663e1d033 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Algo-ECDSA-With-SHA1-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Curve-Secp256k1-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Curve-Secp256k1-Cert.chip new file mode 100644 index 00000000000000..f049b99d74a2c4 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Curve-Secp256k1-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Curve-Secp256k1-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Curve-Secp256k1-Cert.der new file mode 100644 index 00000000000000..1c3c24b5924258 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Curve-Secp256k1-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Curve-Secp256k1-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Curve-Secp256k1-Key.chip new file mode 100644 index 00000000000000..b0c42c14788b93 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Curve-Secp256k1-Key.chip @@ -0,0 +1 @@ +��ؚ��x� 6_��9Q��m"(������(2`/ �Q�V�mH���MA(�4��ⳫS�N.��F�I T���������}��C�sUz��x� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Curve-Secp256k1-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Curve-Secp256k1-Key.der new file mode 100644 index 00000000000000..6f6c82475ab2ab Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Sig-Curve-Secp256k1-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Signature-Wrong-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Signature-Wrong-Cert.chip new file mode 100644 index 00000000000000..0ce1b4a48ca498 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Signature-Wrong-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Signature-Wrong-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Signature-Wrong-Key.chip new file mode 100644 index 00000000000000..40931bd3a79e1d --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Signature-Wrong-Key.chip @@ -0,0 +1,2 @@ +�XkK"�`0g�Vn ��QH� +��0;���4@� cC�>݄�� ��ݑ�Z{LT#p�a�p��O�6�Ip�z���2�'�tj��1/<����� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-CAT-Invalid-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-CAT-Invalid-Cert.chip new file mode 100644 index 00000000000000..3ccafff87fc6bb Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-CAT-Invalid-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-CAT-Invalid-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-CAT-Invalid-Cert.der new file mode 100644 index 00000000000000..92d498a5c11e24 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-CAT-Invalid-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-CAT-Invalid-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-CAT-Invalid-Key.chip new file mode 100644 index 00000000000000..2bacdecd4dc4b3 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-CAT-Invalid-Key.chip @@ -0,0 +1,2 @@ +l��{8, q(k�l'Q�9��f�;+�!CML�5L +xd����x�A�L���CF�v�.���g�w'Q.U�c�2N�Y%n�1g"`E��gp�@�7�@5 \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-CAT-Invalid-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-CAT-Invalid-Key.der new file mode 100644 index 00000000000000..5b9ef4ca506861 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-CAT-Invalid-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-CAT-Twice-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-CAT-Twice-Cert.chip new file mode 100644 index 00000000000000..d42b100e2d6941 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-CAT-Twice-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-CAT-Twice-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-CAT-Twice-Key.chip new file mode 100644 index 00000000000000..0cb3f76c24f91b Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-CAT-Twice-Key.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-FabricId-Invalid-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-FabricId-Invalid-Cert.chip new file mode 100644 index 00000000000000..e14712408e95d1 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-FabricId-Invalid-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-FabricId-Invalid-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-FabricId-Invalid-Cert.der new file mode 100644 index 00000000000000..a7381d88824365 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-FabricId-Invalid-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-FabricId-Invalid-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-FabricId-Invalid-Key.chip new file mode 100644 index 00000000000000..b22c2043ad026b --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-FabricId-Invalid-Key.chip @@ -0,0 +1 @@ +��)e/���ϑ`�H���m�T܇a_���4~ٴ�ܺ+�� 5�<�,�J)C���3: ���Q2}��a���?P�5yI�^!c8���+�V�i��F� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-FabricId-Invalid-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-FabricId-Invalid-Key.der new file mode 100644 index 00000000000000..47160ac0196299 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-FabricId-Invalid-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-FabricId-Twice-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-FabricId-Twice-Cert.chip new file mode 100644 index 00000000000000..3a877803873b90 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-FabricId-Twice-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-FabricId-Twice-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-FabricId-Twice-Key.chip new file mode 100644 index 00000000000000..9bb786586a1587 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-FabricId-Twice-Key.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-MatterId-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-MatterId-Missing-Cert.chip new file mode 100644 index 00000000000000..00f9710304ba43 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-MatterId-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-MatterId-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-MatterId-Missing-Key.chip new file mode 100644 index 00000000000000..5d2b1c66d7bb4a --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-MatterId-Missing-Key.chip @@ -0,0 +1,2 @@ +ZU%���#r{n��/{'N��P��t̅1��p �Ĉp�<�j�Ɇ=+h�S��c?�����^�r�� ��g +D)�w!0�L��*h{�\b�� �G�u� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-MatterId-Twice-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-MatterId-Twice-Cert.chip new file mode 100644 index 00000000000000..75af369aaeef2a Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-MatterId-Twice-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-MatterId-Twice-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-MatterId-Twice-Key.chip new file mode 100644 index 00000000000000..9bc995b9364b72 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-MatterId-Twice-Key.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-Missing-Cert.chip new file mode 100644 index 00000000000000..72a19c0a34495b Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-Missing-Key.chip new file mode 100644 index 00000000000000..0685851bb50b9c --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Subject-Missing-Key.chip @@ -0,0 +1 @@ +�e�rF�c+���^�1��O��� m�5��� k�D4Ҍ�nq��3?������V����npTZ�&F@�yh|�7T���#}��eQ� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-After-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-After-Missing-Cert.chip new file mode 100644 index 00000000000000..bdacc7f20f25c8 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-After-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-After-Missing-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-After-Missing-Cert.der new file mode 100644 index 00000000000000..7e8062bec12933 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-After-Missing-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-After-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-After-Missing-Key.chip new file mode 100644 index 00000000000000..e327f6371d32ef --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-After-Missing-Key.chip @@ -0,0 +1 @@ + �ϯ��@��H/:RO����rt���ب|�~M�D~.c^��>S�x}�7wBF�f&�E ��j��ʌ߬#�H|gT�F+�an�2J�C�4_D b-� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-After-Missing-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-After-Missing-Key.der new file mode 100644 index 00000000000000..4db8862e35aedc Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-After-Missing-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-Before-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-Before-Missing-Cert.chip new file mode 100644 index 00000000000000..a99a2660b5e050 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-Before-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-Before-Missing-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-Before-Missing-Cert.der new file mode 100644 index 00000000000000..e46e566cd52360 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-Before-Missing-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-Before-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-Before-Missing-Key.chip new file mode 100644 index 00000000000000..838930ffbf7171 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-Before-Missing-Key.chip @@ -0,0 +1 @@ +gL5�B|�@�S�y_�V�a�ND��iq|0��c{�kq����΄n>F�c�%'f�C�oT�C^���S�o���+m~��oCfT��u�\ \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-Before-Missing-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-Before-Missing-Key.der new file mode 100644 index 00000000000000..d80a57add7eddc Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Not-Before-Missing-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Wrong-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Wrong-Cert.chip new file mode 100644 index 00000000000000..cbc5c442598dd6 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Wrong-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Wrong-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Wrong-Cert.der new file mode 100644 index 00000000000000..31719de1ee2418 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Wrong-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Wrong-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Wrong-Key.chip new file mode 100644 index 00000000000000..e896a4619bf04e Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Wrong-Key.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Wrong-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Wrong-Key.der new file mode 100644 index 00000000000000..a8b939a29585b3 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-ICAC-Validity-Wrong-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Cert-Version-V2-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Cert-Version-V2-Cert.der new file mode 100644 index 00000000000000..678fc06778fd9f Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Cert-Version-V2-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Cert-Version-V2-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Cert-Version-V2-Key.der new file mode 100644 index 00000000000000..7e2603377562b8 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Cert-Version-V2-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-AKID-Length-Invalid-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-AKID-Length-Invalid-Cert.chip new file mode 100644 index 00000000000000..683e3c4ee65e9d Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-AKID-Length-Invalid-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-AKID-Length-Invalid-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-AKID-Length-Invalid-Cert.der new file mode 100644 index 00000000000000..9f8bf27aa0284c Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-AKID-Length-Invalid-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-AKID-Length-Invalid-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-AKID-Length-Invalid-Key.chip new file mode 100644 index 00000000000000..e71c0cb4fb6b65 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-AKID-Length-Invalid-Key.chip @@ -0,0 +1,2 @@ +F_{�d,25�Ɉ_M�6.C�'#��լ]�������9[q�}I�Z+��!b$q�Ƚ�o(��H�1�����0~����x� +�A�p���2�D�� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-AKID-Length-Invalid-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-AKID-Length-Invalid-Key.der new file mode 100644 index 00000000000000..ef10af5ffd29c8 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-AKID-Length-Invalid-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-AKID-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-AKID-Missing-Cert.chip new file mode 100644 index 00000000000000..f9d1e4ce662d3c Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-AKID-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-AKID-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-AKID-Missing-Key.chip new file mode 100644 index 00000000000000..43a0f06e514aad --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-AKID-Missing-Key.chip @@ -0,0 +1,2 @@ +ب��+x$5�q�H�a���r4-S���ee@� +��(4qa\����QS�����⬆�ȡ�O�/Ҍ+ϥ�UhO���;�� R�M��� ��V� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-CA-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-CA-Missing-Cert.chip new file mode 100644 index 00000000000000..0dceec5cc8139a Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-CA-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-CA-Missing-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-CA-Missing-Cert.der new file mode 100644 index 00000000000000..ba428a3db4d994 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-CA-Missing-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-CA-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-CA-Missing-Key.chip new file mode 100644 index 00000000000000..ffe6900247423e --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-CA-Missing-Key.chip @@ -0,0 +1,2 @@ +�������2�$��a|���W +��)8{ �V��T�u`�ڊ�m�}sG3⧖�5��"'a ���ݡ��W��;����m7X��J�c��u�Z�> \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-CA-Missing-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-CA-Missing-Key.der new file mode 100644 index 00000000000000..f1c1602cdd7c10 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-CA-Missing-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-CA-Wrong-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-CA-Wrong-Cert.chip new file mode 100644 index 00000000000000..f8a7f31eb864ef Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-CA-Wrong-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-CA-Wrong-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-CA-Wrong-Key.chip new file mode 100644 index 00000000000000..6bc1b7c9b2999d --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-CA-Wrong-Key.chip @@ -0,0 +1 @@ +�u�:Ɲ���|����փ��*���� �}�X3�u�������r��G��_�ʸ# �ID(��J��'���Iȯ��0���~GK�v�߹} � \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-Critical-Missing-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-Critical-Missing-Cert.der new file mode 100644 index 00000000000000..361f621901cd0c Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-Critical-Missing-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-Critical-Missing-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-Critical-Missing-Key.der new file mode 100644 index 00000000000000..cfe4918e7cf368 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-Critical-Missing-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-Critical-Wrong-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-Critical-Wrong-Cert.der new file mode 100644 index 00000000000000..a29779078f922e Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-Critical-Wrong-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-Critical-Wrong-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-Critical-Wrong-Key.der new file mode 100644 index 00000000000000..e38bcd0c19a59d Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-Critical-Wrong-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-Missing-Cert.chip new file mode 100644 index 00000000000000..69bd1bce614bd8 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-Missing-Key.chip new file mode 100644 index 00000000000000..ee6d988569059b --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-Missing-Key.chip @@ -0,0 +1 @@ +hdUN�v�t�HQ0&L�����1�������(�P>��ͨY>k!Q�3�)uz�[��/[���,������l���h�k@�2Y�K��S��܀�Y \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-PathLen-Presence-Wrong-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-PathLen-Presence-Wrong-Cert.chip new file mode 100644 index 00000000000000..d5387e839e7a4d Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-PathLen-Presence-Wrong-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-PathLen-Presence-Wrong-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-PathLen-Presence-Wrong-Cert.der new file mode 100644 index 00000000000000..6ca096b6a9c785 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-PathLen-Presence-Wrong-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-PathLen-Presence-Wrong-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-PathLen-Presence-Wrong-Key.chip new file mode 100644 index 00000000000000..d29cd462c257bc --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-PathLen-Presence-Wrong-Key.chip @@ -0,0 +1 @@ +���}|��0��gH�t��=��?H����� _*��\�^�w:"�vB{~��0�*��A�j5�����i��+C�\/Tq>=E�Q�?�##�R���� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-PathLen-Presence-Wrong-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-PathLen-Presence-Wrong-Key.der new file mode 100644 index 00000000000000..5d8819ec6f67b1 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-PathLen-Presence-Wrong-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-PathLen2-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-PathLen2-Cert.chip new file mode 100644 index 00000000000000..2ca39d7f2f0fb6 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-PathLen2-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-PathLen2-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-PathLen2-Key.chip new file mode 100644 index 00000000000000..648f1d062541cb --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-Basic-PathLen2-Key.chip @@ -0,0 +1,2 @@ +������i�JĂ9���cY�H���$;'���Q[= +b7�����\�A���$O4� Gr�#l�N��g͂�J�����O�N3��-�l��2 \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-Critical-Missing-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-Critical-Missing-Cert.der new file mode 100644 index 00000000000000..54d8df9ba3db78 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-Critical-Missing-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-Critical-Missing-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-Critical-Missing-Key.der new file mode 100644 index 00000000000000..9f2d3ca8ced404 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-Critical-Missing-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-Critical-Wrong-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-Critical-Wrong-Cert.der new file mode 100644 index 00000000000000..5017cc1f8af839 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-Critical-Wrong-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-Critical-Wrong-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-Critical-Wrong-Key.der new file mode 100644 index 00000000000000..32118c6bbc5357 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-Critical-Wrong-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-KeyCertSign-Wrong-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-KeyCertSign-Wrong-Cert.chip new file mode 100644 index 00000000000000..b0efb5d8387278 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-KeyCertSign-Wrong-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-KeyCertSign-Wrong-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-KeyCertSign-Wrong-Key.chip new file mode 100644 index 00000000000000..6d65ea75571bdd --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-KeyCertSign-Wrong-Key.chip @@ -0,0 +1,2 @@ +�ހ���}����B��e�gm��� �����D;L��j=k,��,U1�(��P� �\s���Rg��1��_A ��S,O�1D��K}�^ +Q��#�I \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-Missing-Cert.chip new file mode 100644 index 00000000000000..ff07c1500ed059 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-Missing-Key.chip new file mode 100644 index 00000000000000..d3253abb7e5ba7 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-KeyUsage-Missing-Key.chip @@ -0,0 +1 @@ +�.�nѲlul�]{��k�fb��'�R�I��%kX�}b �Zȱ���S�P�3!n�z^���������j�SnJ�g{E� �${1a�oQ�鼐g \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-SKID-Length-Invalid-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-SKID-Length-Invalid-Cert.chip new file mode 100644 index 00000000000000..0e93c50bf18f3d Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-SKID-Length-Invalid-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-SKID-Length-Invalid-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-SKID-Length-Invalid-Cert.der new file mode 100644 index 00000000000000..db46e489ad15d9 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-SKID-Length-Invalid-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-SKID-Length-Invalid-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-SKID-Length-Invalid-Key.chip new file mode 100644 index 00000000000000..c368e01f5b919b --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-SKID-Length-Invalid-Key.chip @@ -0,0 +1 @@ +����I)o�0���r�Rae:��둏M�e���I���@����Z�Ȅi�'+ ��M!lg�M}���J4�qF#0pI)`Q�<%�����T��"X \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-SKID-Length-Invalid-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-SKID-Length-Invalid-Key.der new file mode 100644 index 00000000000000..2a342cda09e3f1 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-SKID-Length-Invalid-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-SKID-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-SKID-Missing-Cert.chip new file mode 100644 index 00000000000000..b7939205f20c67 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-SKID-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-SKID-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-SKID-Missing-Key.chip new file mode 100644 index 00000000000000..cb49243dd1883b --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Ext-SKID-Missing-Key.chip @@ -0,0 +1,2 @@ +��W}S�)@�r�lG�x���t�r�9��v�k�ʓ���Z;>�X�V�Іd��d��Qe�=��5�Y�����r +Z�cq�n'tD�����! \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Issuer-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Issuer-Missing-Cert.chip new file mode 100644 index 00000000000000..1c09635478ed6c Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Issuer-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Issuer-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Issuer-Missing-Key.chip new file mode 100644 index 00000000000000..1ddbd1bdba6c68 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Issuer-Missing-Key.chip @@ -0,0 +1,3 @@ +��B����� +� zA;B�9�� ��'5b�4ĵ��O�@k< ZTK��3�c�7_ +�Yh����#{Y�Z��0du�ߊd�Ӝ�Zah�B�QNT \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Oversized-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Oversized-Cert.chip new file mode 100644 index 00000000000000..e73f82cf94e8bb Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Oversized-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Oversized-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Oversized-Cert.der new file mode 100644 index 00000000000000..7946c671b74be8 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Oversized-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Oversized-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Oversized-Key.chip new file mode 100644 index 00000000000000..ce19d63e532a7c --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Oversized-Key.chip @@ -0,0 +1 @@ +0.�e������kҰ�-�B�}(x!0��b��o_ QH@dܥA������B�o8Vi�{�mi,|�v�F|w�Z��;�Tw֪o=���t�~|۷" \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Oversized-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Oversized-Key.der new file mode 100644 index 00000000000000..5209ec8dedd492 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Oversized-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-PublicKey-Wrong-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-PublicKey-Wrong-Cert.chip new file mode 100644 index 00000000000000..a3da6793d07d25 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-PublicKey-Wrong-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-PublicKey-Wrong-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-PublicKey-Wrong-Key.chip new file mode 100644 index 00000000000000..951d17cebad5ec Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-PublicKey-Wrong-Key.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Serial-Number-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Serial-Number-Missing-Cert.chip new file mode 100644 index 00000000000000..5050a9b3d2444a Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Serial-Number-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Serial-Number-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Serial-Number-Missing-Key.chip new file mode 100644 index 00000000000000..3f2cb2a2f3095f --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Serial-Number-Missing-Key.chip @@ -0,0 +1 @@ +�B�� �ŎDW�?�;�^%4[Ë��wF��UZ��PPrƭu����r�s�"��֒���Z��ݐm��`ߝ����x��1?�0��뢶�\ \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Algo-ECDSA-With-SHA1-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Algo-ECDSA-With-SHA1-Cert.chip new file mode 100644 index 00000000000000..1878d928f4f4ee Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Algo-ECDSA-With-SHA1-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Algo-ECDSA-With-SHA1-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Algo-ECDSA-With-SHA1-Cert.der new file mode 100644 index 00000000000000..ee2596f5ee8a70 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Algo-ECDSA-With-SHA1-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Algo-ECDSA-With-SHA1-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Algo-ECDSA-With-SHA1-Key.chip new file mode 100644 index 00000000000000..1076bdc678e256 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Algo-ECDSA-With-SHA1-Key.chip @@ -0,0 +1 @@ +�1����s�� w�����52�c�q�JF�v�R{�p\�PDB��D W�Pzj����7��#�5��hT�Ȳ���v��H�V��//�9}p�@� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Algo-ECDSA-With-SHA1-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Algo-ECDSA-With-SHA1-Key.der new file mode 100644 index 00000000000000..3ce302fe792061 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Algo-ECDSA-With-SHA1-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Curve-Secp256k1-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Curve-Secp256k1-Cert.chip new file mode 100644 index 00000000000000..d1df822de187fa Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Curve-Secp256k1-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Curve-Secp256k1-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Curve-Secp256k1-Cert.der new file mode 100644 index 00000000000000..98a88067f571bb Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Curve-Secp256k1-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Curve-Secp256k1-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Curve-Secp256k1-Key.chip new file mode 100644 index 00000000000000..a3ca935098464f --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Curve-Secp256k1-Key.chip @@ -0,0 +1 @@ +q ��5Uv���;��o��'�vF�� �`��j\�Spͥ�zD�R�.�Z���FVdq��:]��U��s���m�G&�b�J�o܋�(�� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Curve-Secp256k1-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Curve-Secp256k1-Key.der new file mode 100644 index 00000000000000..da4845988079cc Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Sig-Curve-Secp256k1-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Signature-Wrong-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Signature-Wrong-Cert.chip new file mode 100644 index 00000000000000..5a0205cc208043 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Signature-Wrong-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Signature-Wrong-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Signature-Wrong-Key.chip new file mode 100644 index 00000000000000..ff94cd5f0e6b06 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Signature-Wrong-Key.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-CAT-Invalid-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-CAT-Invalid-Cert.chip new file mode 100644 index 00000000000000..42756bfe0fc562 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-CAT-Invalid-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-CAT-Invalid-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-CAT-Invalid-Cert.der new file mode 100644 index 00000000000000..f29c26d64a2604 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-CAT-Invalid-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-CAT-Invalid-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-CAT-Invalid-Key.chip new file mode 100644 index 00000000000000..4c697c6ec0eb64 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-CAT-Invalid-Key.chip @@ -0,0 +1 @@ +�*Om2�L:�Y���_;�NWaM]B�c�^��q�ݙ\>xO�:��M-O<��DųB�|+B�찬��ƳM��[$D�;��v��i�b��4��� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-CAT-Invalid-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-CAT-Invalid-Key.der new file mode 100644 index 00000000000000..cf480303ad61a2 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-CAT-Invalid-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-CAT-Twice-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-CAT-Twice-Cert.chip new file mode 100644 index 00000000000000..e225a8dbe842db Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-CAT-Twice-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-CAT-Twice-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-CAT-Twice-Key.chip new file mode 100644 index 00000000000000..1ffcdfeb29ce52 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-CAT-Twice-Key.chip @@ -0,0 +1,2 @@ +]򗚰���0���k~��E�dz�e� �n�$p�c�^E��?,Mm�� +bsLJ;l�T�/����ݖM"SG���'�1IS8ّ��H �c��� � \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Invalid-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Invalid-Cert.chip new file mode 100644 index 00000000000000..a6f477efc1eb55 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Invalid-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Invalid-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Invalid-Cert.der new file mode 100644 index 00000000000000..a29d345ef82802 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Invalid-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Invalid-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Invalid-Key.chip new file mode 100644 index 00000000000000..0736f6c71c13ae --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Invalid-Key.chip @@ -0,0 +1,2 @@ +�S�Ϡ�Xg���� �-��>�[�"D��=�� +LL5�wĨ���w3qH�vۗK���uw�2}�II��@L��6b���~�3+ҁ�cc�v��3 \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Invalid-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Invalid-Key.der new file mode 100644 index 00000000000000..db7a596effe891 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Invalid-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Missing-Cert.chip new file mode 100644 index 00000000000000..829b685443a729 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Missing-Key.chip new file mode 100644 index 00000000000000..5430cd3cd6213c --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Missing-Key.chip @@ -0,0 +1 @@ +2橭�?;��Ƣ�^踇�F/A�� �}��|�2_0�;�i{%U$����7x���S��8�v�{$6ý�.�!�&_���`�[۞��+7:'z�ۺ \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Twice-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Twice-Cert.chip new file mode 100644 index 00000000000000..7acf2999671cde Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Twice-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Twice-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Twice-Key.chip new file mode 100644 index 00000000000000..9a490fa231a943 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-FabricId-Twice-Key.chip @@ -0,0 +1 @@ +������]�d���3�x]`��FE�_�3 9��=�R�>Z��q���3��\��=�$1���}K4'a�����0�֕%�������m�g \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-MatterId-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-MatterId-Missing-Cert.chip new file mode 100644 index 00000000000000..6a261888f1337d Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-MatterId-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-MatterId-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-MatterId-Missing-Key.chip new file mode 100644 index 00000000000000..09f7d0e50f331a --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-MatterId-Missing-Key.chip @@ -0,0 +1,3 @@ +U*o�D�y�(Y�Y�m�C�S\��K%��v��7 +Ň>��ܲ�;��É�������%v��Z5� +5�6�YE���.���ɂ��?-j�3�o'�M�� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-MatterId-Twice-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-MatterId-Twice-Cert.chip new file mode 100644 index 00000000000000..2b3fcb89624487 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-MatterId-Twice-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-MatterId-Twice-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-MatterId-Twice-Key.chip new file mode 100644 index 00000000000000..9869446bde1d62 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-MatterId-Twice-Key.chip @@ -0,0 +1 @@ +oG�x:4��~�;�=B{9ӪP�x�V.���w��ז��ˍ��� N!*1�;n�����`�8ؿ��?;�|�'�.hl� ��kI����Kh��� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-Missing-Cert.chip new file mode 100644 index 00000000000000..c78d94a590f898 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-Missing-Key.chip new file mode 100644 index 00000000000000..08adf01bfa9645 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-Missing-Key.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-NodeId-Invalid-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-NodeId-Invalid-Cert.chip new file mode 100644 index 00000000000000..07c8941e78177b Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-NodeId-Invalid-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-NodeId-Invalid-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-NodeId-Invalid-Cert.der new file mode 100644 index 00000000000000..8cc4b9868e5a3d Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-NodeId-Invalid-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-NodeId-Invalid-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-NodeId-Invalid-Key.chip new file mode 100644 index 00000000000000..561d1bb41a4a64 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-NodeId-Invalid-Key.chip @@ -0,0 +1 @@ +��2�AIy��L�����\Ʋ��N����o6��I�R]?'%����P�M#��X<��4ܒ�wr5bX�"kU"�70 ����!V�{octH3�@`BH� � \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-NodeId-Invalid-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-NodeId-Invalid-Key.der new file mode 100644 index 00000000000000..37537447df6d2b Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Subject-NodeId-Invalid-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-After-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-After-Missing-Cert.chip new file mode 100644 index 00000000000000..587624afb69c85 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-After-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-After-Missing-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-After-Missing-Cert.der new file mode 100644 index 00000000000000..40900a33646200 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-After-Missing-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-After-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-After-Missing-Key.chip new file mode 100644 index 00000000000000..8629f9c1061d6e Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-After-Missing-Key.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-After-Missing-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-After-Missing-Key.der new file mode 100644 index 00000000000000..40ba900f068451 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-After-Missing-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-Before-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-Before-Missing-Cert.chip new file mode 100644 index 00000000000000..d8e9766be920e6 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-Before-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-Before-Missing-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-Before-Missing-Cert.der new file mode 100644 index 00000000000000..a055aa8bb75c78 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-Before-Missing-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-Before-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-Before-Missing-Key.chip new file mode 100644 index 00000000000000..824092d058596a --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-Before-Missing-Key.chip @@ -0,0 +1,2 @@ +���%�M�Q��Md{�p��Z� +�\c�v�����!��,t�����|D�5L��i��F��L�ga.͞$)Xg٨�:q�G�g`w���sח���T� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-Before-Missing-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-Before-Missing-Key.der new file mode 100644 index 00000000000000..2f9ece56543f25 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Not-Before-Missing-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Wrong-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Wrong-Cert.chip new file mode 100644 index 00000000000000..d77aff072909a1 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Wrong-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Wrong-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Wrong-Cert.der new file mode 100644 index 00000000000000..2a92019f3e9f0f Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Wrong-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Wrong-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Wrong-Key.chip new file mode 100644 index 00000000000000..3abac78a7eb283 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Wrong-Key.chip @@ -0,0 +1 @@ +z$��� �<�6���P'lk�4W�K%���A��9M]�ٿr|�� `#��dZ�Ɯ-W Ő5vQd\讑��#AT�R{�p!�axH`� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Wrong-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Wrong-Key.der new file mode 100644 index 00000000000000..10a02a1ba6e05e Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-NOC-Validity-Wrong-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Cert-Version-V2-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Cert-Version-V2-Cert.der new file mode 100644 index 00000000000000..f8b51871ef02da Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Cert-Version-V2-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Cert-Version-V2-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Cert-Version-V2-Key.der new file mode 100644 index 00000000000000..91b52c782bbe8b Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Cert-Version-V2-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-AKID-Length-Invalid-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-AKID-Length-Invalid-Cert.chip new file mode 100644 index 00000000000000..9ed58215a0cd4e Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-AKID-Length-Invalid-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-AKID-Length-Invalid-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-AKID-Length-Invalid-Cert.der new file mode 100644 index 00000000000000..259d15978aa225 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-AKID-Length-Invalid-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-AKID-Length-Invalid-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-AKID-Length-Invalid-Key.chip new file mode 100644 index 00000000000000..668bd01f4bf1d6 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-AKID-Length-Invalid-Key.chip @@ -0,0 +1 @@ +��N���*�I�V _ �Хz!���FnN~2�/ tEp�,������!ϩa���d��-|�0�� 4%r<39Я~�_�K�!�LvQ ��8��o \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-AKID-Length-Invalid-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-AKID-Length-Invalid-Key.der new file mode 100644 index 00000000000000..6515b58e2a4f57 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-AKID-Length-Invalid-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-AKID-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-AKID-Missing-Cert.chip new file mode 100644 index 00000000000000..54bb227064b9bf Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-AKID-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-AKID-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-AKID-Missing-Key.chip new file mode 100644 index 00000000000000..238c2faadcf0dd Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-AKID-Missing-Key.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-CA-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-CA-Missing-Cert.chip new file mode 100644 index 00000000000000..5f3615a9eb0760 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-CA-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-CA-Missing-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-CA-Missing-Cert.der new file mode 100644 index 00000000000000..cedf0e6da1f6e0 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-CA-Missing-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-CA-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-CA-Missing-Key.chip new file mode 100644 index 00000000000000..db698e051f82ec --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-CA-Missing-Key.chip @@ -0,0 +1,3 @@ +��8�0� +�K'8�����W{��_�� q��Y���1� өe���5j���Csb!"���EuZq�p�=dKÃ��=L�R��J����?h�Q� +� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-CA-Missing-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-CA-Missing-Key.der new file mode 100644 index 00000000000000..061d73a52b1e43 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-CA-Missing-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-CA-Wrong-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-CA-Wrong-Cert.chip new file mode 100644 index 00000000000000..c78066b9f8d9f1 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-CA-Wrong-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-CA-Wrong-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-CA-Wrong-Key.chip new file mode 100644 index 00000000000000..9dfff23d29de97 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-CA-Wrong-Key.chip @@ -0,0 +1 @@ +O|�&��� �/�(+���7���g���}�ڪm���P��N���i/|�Uu��s�q>�4NC%����-0��/�7����w��s� j��� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-Critical-Missing-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-Critical-Missing-Cert.der new file mode 100644 index 00000000000000..fb4928fe420519 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-Critical-Missing-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-Critical-Missing-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-Critical-Missing-Key.der new file mode 100644 index 00000000000000..2601d74d434287 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-Critical-Missing-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-Critical-Wrong-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-Critical-Wrong-Cert.der new file mode 100644 index 00000000000000..a2cb3859bb00ef Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-Critical-Wrong-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-Critical-Wrong-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-Critical-Wrong-Key.der new file mode 100644 index 00000000000000..8b0cde3d002d35 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-Critical-Wrong-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-Missing-Cert.chip new file mode 100644 index 00000000000000..b46d7a9a0ab980 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-Missing-Key.chip new file mode 100644 index 00000000000000..8966445c725393 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-Missing-Key.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-PathLen-Presence-Wrong-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-PathLen-Presence-Wrong-Cert.chip new file mode 100644 index 00000000000000..b7bc836c642531 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-PathLen-Presence-Wrong-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-PathLen-Presence-Wrong-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-PathLen-Presence-Wrong-Key.chip new file mode 100644 index 00000000000000..4a2ddf8e73634c --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Ext-Basic-PathLen-Presence-Wrong-Key.chip @@ -0,0 +1 @@ + {{A�"'�:�À�/��9��Ĩ�**w]���8�H���< \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Oversized-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Oversized-Cert.chip new file mode 100644 index 00000000000000..d2cab3b21fdfc4 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Oversized-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Oversized-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Oversized-Cert.der new file mode 100644 index 00000000000000..26b563f5e81781 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Oversized-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Oversized-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Oversized-Key.chip new file mode 100644 index 00000000000000..ab7b738ed963bc --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Oversized-Key.chip @@ -0,0 +1,2 @@ + +�=�gEߌ:�G�{��S�/��*?\P�l�@m�2����$z���kB�`J��)A�wK�E7�~���E��wݜ86�^�p?߰j���ϭ� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Oversized-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Oversized-Key.der new file mode 100644 index 00000000000000..05281310f95fed Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Oversized-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-PublicKey-Wrong-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-PublicKey-Wrong-Cert.chip new file mode 100644 index 00000000000000..bd64ff101bb878 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-PublicKey-Wrong-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-PublicKey-Wrong-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-PublicKey-Wrong-Key.chip new file mode 100644 index 00000000000000..2f4706b00bed75 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-PublicKey-Wrong-Key.chip @@ -0,0 +1,2 @@ +�a���'��gw��S��d�8I��S�yK +_7���xh�����3��M?*����hR3�qP�A������Ec �H[��9## ��~ \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Serial-Number-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Serial-Number-Missing-Cert.chip new file mode 100644 index 00000000000000..917e77d0be7e91 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Serial-Number-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Serial-Number-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Serial-Number-Missing-Key.chip new file mode 100644 index 00000000000000..03655ea613dc46 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Serial-Number-Missing-Key.chip @@ -0,0 +1,2 @@ +�Z�e �� ]�j ��Ȓ̕ɿ��'��!�Z� +nC��ў�z��Z ��T{G� �)���Ul�׊q� *`�}�*����� �t�W���h�g! \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Algo-ECDSA-With-SHA1-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Algo-ECDSA-With-SHA1-Cert.chip new file mode 100644 index 00000000000000..72b56a11c523c4 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Algo-ECDSA-With-SHA1-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Algo-ECDSA-With-SHA1-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Algo-ECDSA-With-SHA1-Cert.der new file mode 100644 index 00000000000000..86b7cc46c47c84 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Algo-ECDSA-With-SHA1-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Algo-ECDSA-With-SHA1-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Algo-ECDSA-With-SHA1-Key.chip new file mode 100644 index 00000000000000..b56185a7350d4f --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Algo-ECDSA-With-SHA1-Key.chip @@ -0,0 +1 @@ +�O�Z8Lǡ����D�7hq�Q�q�t�S�t�b^<���Ff�d���O�3����h��E$܇���.m��р_k�Sm�����\������� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Algo-ECDSA-With-SHA1-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Algo-ECDSA-With-SHA1-Key.der new file mode 100644 index 00000000000000..90fda44ea72e48 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Algo-ECDSA-With-SHA1-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Curve-Secp256k1-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Curve-Secp256k1-Cert.chip new file mode 100644 index 00000000000000..8437e1b034b67b Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Curve-Secp256k1-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Curve-Secp256k1-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Curve-Secp256k1-Cert.der new file mode 100644 index 00000000000000..ac23adbb763597 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Curve-Secp256k1-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Curve-Secp256k1-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Curve-Secp256k1-Key.chip new file mode 100644 index 00000000000000..be3870774fe0ff --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Curve-Secp256k1-Key.chip @@ -0,0 +1 @@ +�{ΥW�|T�rʐ�~�2�|[^��cF+���_����'�!�*5;�>\�4�ߍ h`�r�+�r� �7?��# OWBu����e�L� `�^���� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Curve-Secp256k1-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Curve-Secp256k1-Key.der new file mode 100644 index 00000000000000..c1ab2f77d006f6 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Sig-Curve-Secp256k1-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Signature-Wrong-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Signature-Wrong-Cert.chip new file mode 100644 index 00000000000000..00904fdb5e44b5 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Signature-Wrong-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Signature-Wrong-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Signature-Wrong-Key.chip new file mode 100644 index 00000000000000..517950d28d12d0 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Signature-Wrong-Key.chip @@ -0,0 +1 @@ +Qrs���&a�*��4�R�\T��Մw�}��i�L��R��=�9X�KRŵ� +޺Vg⺫&���&Yr�-�,̄�xjkk=��~�]j \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-FabricId-Invalid-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-FabricId-Invalid-Key.der new file mode 100644 index 00000000000000..0db40c3dbd7bb9 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-FabricId-Invalid-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-FabricId-Twice-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-FabricId-Twice-Cert.chip new file mode 100644 index 00000000000000..69d98468fb32c8 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-FabricId-Twice-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-FabricId-Twice-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-FabricId-Twice-Key.chip new file mode 100644 index 00000000000000..02417d66f3eb37 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-FabricId-Twice-Key.chip @@ -0,0 +1 @@ +_X#]�t�b�-��K�p�ݓs款�=P�g��:W�i�j�1ޞ�7�?����$��j+��bIw�ۈf�f��4��@e��gmd�]-"�E6� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-MatterId-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-MatterId-Missing-Cert.chip new file mode 100644 index 00000000000000..d770bcb5fece2e --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-MatterId-Missing-Cert.chip @@ -0,0 +1,3 @@ +0,j�c) `�$7&�'&n��L7$$0 Am�C,"�X�w�j�#���Op�9>��� +��J���"�� �u��3��YJ8����:wD����ì�7 +5)$`0�%���]�g�R4������0�%���]�g�R4������0 @�g���[+~o�-�Z?!�=����H�RݸsТyi�n��Vߌ+R��8F7HDs?b�ݺ�>�\ \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-MatterId-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-MatterId-Missing-Key.chip new file mode 100644 index 00000000000000..8b163a485d8ebc --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-MatterId-Missing-Key.chip @@ -0,0 +1,2 @@ +m�C,"�X�w�j�#���Op�9>��� +��J���"�� �u��3��YJ8����:wD����ì�����^ ����'k�������A:S�v��L�8z \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-MatterId-Twice-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-MatterId-Twice-Cert.chip new file mode 100644 index 00000000000000..15265de7018c54 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-MatterId-Twice-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-MatterId-Twice-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-MatterId-Twice-Key.chip new file mode 100644 index 00000000000000..4a891f5c97d02d Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-MatterId-Twice-Key.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-Missing-Cert.chip new file mode 100644 index 00000000000000..237b270d89faa6 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-Missing-Key.chip new file mode 100644 index 00000000000000..0153104c199909 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Subject-Missing-Key.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-After-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-After-Missing-Cert.chip new file mode 100644 index 00000000000000..1ca1eac0feb959 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-After-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-After-Missing-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-After-Missing-Cert.der new file mode 100644 index 00000000000000..d5633e6c794888 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-After-Missing-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-After-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-After-Missing-Key.chip new file mode 100644 index 00000000000000..836a0a0bc7d79c --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-After-Missing-Key.chip @@ -0,0 +1 @@ + ;�>:��+�M�����Z�#*=Xh*�D �;��6�IYa]((3G��d)M ����~V��zɐ%V��$��HI����X�5)���8(�l��� \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-After-Missing-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-After-Missing-Key.der new file mode 100644 index 00000000000000..244a9c0a745c90 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-After-Missing-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-Before-Missing-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-Before-Missing-Cert.chip new file mode 100644 index 00000000000000..7b1bd17613736c Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-Before-Missing-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-Before-Missing-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-Before-Missing-Cert.der new file mode 100644 index 00000000000000..47a818b5b04697 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-Before-Missing-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-Before-Missing-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-Before-Missing-Key.chip new file mode 100644 index 00000000000000..1d81dce671ce4b Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-Before-Missing-Key.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-Before-Missing-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-Before-Missing-Key.der new file mode 100644 index 00000000000000..3bcbbf95a51fc0 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Not-Before-Missing-Key.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Wrong-Cert.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Wrong-Cert.chip new file mode 100644 index 00000000000000..c8798b5cab90cd Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Wrong-Cert.chip differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Wrong-Cert.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Wrong-Cert.der new file mode 100644 index 00000000000000..2574264b6b2183 Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Wrong-Cert.der differ diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Wrong-Key.chip b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Wrong-Key.chip new file mode 100644 index 00000000000000..1190826b869a96 --- /dev/null +++ b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Wrong-Key.chip @@ -0,0 +1 @@ +~�ɐM�<�E)ž�NQ}=���0^{���'�A�̌2��*g���2~*��!9懽�����ڌ�ߌ����+�����F�YQ���������IP \ No newline at end of file diff --git a/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Wrong-Key.der b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Wrong-Key.der new file mode 100644 index 00000000000000..7f68c417a5b1ab Binary files /dev/null and b/credentials/test/operational-certificates-error-cases/Chip-Test-RCAC-Validity-Wrong-Key.der differ diff --git a/credentials/test/operational-certificates/Chip-Test-ICA02-Cert.chip-b64 b/credentials/test/operational-certificates/Chip-Test-ICA02-Cert.chip-b64 new file mode 100644 index 00000000000000..a0a08986ba8fca --- /dev/null +++ b/credentials/test/operational-certificates/Chip-Test-ICA02-Cert.chip-b64 @@ -0,0 +1 @@ +FTABCBzFj7/ulkVKJAIBNwMnFAIAAADKysrKJxUdAAAAAACw+hgmBO8XGycmBW61uUw3BicTBAAAAMrKysonFR0AAAAAALD6GCQHASQIATAJQQT6n9KMt2p37w45MNWeQSvRjrIO/9UZfvRxOTeTkDeKSAQySBicxKl0F3V+Dnt2cjTZywPcdSiamXS+Pfdhp1a+Nwo1ASkBJAIAGCQCYDAEFOHnbmd3hR3XdBa93TXsPBN8RyncMAUUYr65ZxyRw1XIbwb6bAiAFFHhoOoYMAtAb/pzwEJsnKst5iB26+JLXnniu5jyFKtu6PBDfFV950PHU9rn3fOwJ8LxPiPOOjq51DT8fqFbudZ3w2yci1UVQhg= \ No newline at end of file diff --git a/credentials/test/operational-certificates/Chip-Test-ICA02-Cert.pem b/credentials/test/operational-certificates/Chip-Test-ICA02-Cert.pem new file mode 100644 index 00000000000000..580add40e36a42 --- /dev/null +++ b/credentials/test/operational-certificates/Chip-Test-ICA02-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIIHMWPv+6WRUowCgYIKoZIzj0EAwIwRDEgMB4GCisGAQQB +gqJ8AQQMEENBQ0FDQUNBMDAwMDAwMDIxIDAeBgorBgEEAYKifAEFDBBGQUIwMDAw +MDAwMDAwMDFEMB4XDTIwMTAxNTE0MjM0M1oXDTQwMTAxNTE0MjM0MlowRDEgMB4G +CisGAQQBgqJ8AQMMEENBQ0FDQUNBMDAwMDAwMDQxIDAeBgorBgEEAYKifAEFDBBG +QUIwMDAwMDAwMDAwMDFEMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE+p/SjLdq +d+8OOTDVnkEr0Y6yDv/VGX70cTk3k5A3ikgEMkgYnMSpdBd1fg57dnI02csD3HUo +mpl0vj33YadWvqNmMGQwEgYDVR0TAQH/BAgwBgEB/wIBADAOBgNVHQ8BAf8EBAMC +AQYwHQYDVR0OBBYEFOHnbmd3hR3XdBa93TXsPBN8RyncMB8GA1UdIwQYMBaAFGK+ +uWcckcNVyG8G+mwIgBRR4aDqMAoGCCqGSM49BAMCA0gAMEUCIG/6c8BCbJyrLeYg +duviS1554ruY8hSrbujwQ3xVfedDAiEAx1Pa593zsCfC8T4jzjo6udQ0/H6hW7nW +d8NsnItVFUI= +-----END CERTIFICATE----- diff --git a/credentials/test/operational-certificates/Chip-Test-ICA02-Key.pem b/credentials/test/operational-certificates/Chip-Test-ICA02-Key.pem new file mode 100644 index 00000000000000..3398bc00408702 --- /dev/null +++ b/credentials/test/operational-certificates/Chip-Test-ICA02-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEILp2etVZ4xX7pwGY3Y/JdiCDBZT6Xrta8JD1jv8bnWCloAoGCCqGSM49 +AwEHoUQDQgAE+p/SjLdqd+8OOTDVnkEr0Y6yDv/VGX70cTk3k5A3ikgEMkgYnMSp +dBd1fg57dnI02csD3HUompl0vj33YadWvg== +-----END EC PRIVATE KEY----- diff --git a/credentials/test/operational-certificates/Chip-Test-Root01-Cert.chip-b64 b/credentials/test/operational-certificates/Chip-Test-Root01-Cert.chip-b64 new file mode 100644 index 00000000000000..fc2c2da67afddf --- /dev/null +++ b/credentials/test/operational-certificates/Chip-Test-Root01-Cert.chip-b64 @@ -0,0 +1 @@ +FTABCFNMRYJzYjUUJAIBNwMnFAEAAADKysrKGCYE7xcbJyYFbrW5TDcGJxQBAAAAysrKyhgkBwEkCAEwCUEEO4hGDsloel0PO0s7E/zSmcL21QUdAD7knJkkz5j094DrIP03yNNYNH9fh9CMMhPlQK8RurkTfkk1TwxbY0PeYzcKNQEpARgkAmAwBBTMEwivgs/uUF6yO1e/6GoxFmVTXzAFFMwTCK+Cz+5QXrI7V7/oajEWZVNfGDALQPfwCSaQSU5GyLHFy9GlCF4eZdQ2D5jpbE6OSV3F4hbQv6I9j1dHDYn92vA/BGSwro4flW1vZ6MRJDhYJGiXgKkY \ No newline at end of file diff --git a/credentials/test/operational-certificates/Chip-Test-Root01-Cert.pem b/credentials/test/operational-certificates/Chip-Test-Root01-Cert.pem new file mode 100644 index 00000000000000..699825c354e9b0 --- /dev/null +++ b/credentials/test/operational-certificates/Chip-Test-Root01-Cert.pem @@ -0,0 +1,11 @@ +-----BEGIN CERTIFICATE----- +MIIBnjCCAUOgAwIBAgIIU0xFgnNiNRQwCgYIKoZIzj0EAwIwIjEgMB4GCisGAQQB +gqJ8AQQMEENBQ0FDQUNBMDAwMDAwMDEwHhcNMjAxMDE1MTQyMzQzWhcNNDAxMDE1 +MTQyMzQyWjAiMSAwHgYKKwYBBAGConwBBAwQQ0FDQUNBQ0EwMDAwMDAwMTBZMBMG +ByqGSM49AgEGCCqGSM49AwEHA0IABDuIRg7JaHpdDztLOxP80pnC9tUFHQA+5JyZ +JM+Y9PeA6yD9N8jTWDR/X4fQjDIT5UCvEbq5E35JNU8MW2ND3mOjYzBhMA8GA1Ud +EwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTMEwivgs/uUF6y +O1e/6GoxFmVTXzAfBgNVHSMEGDAWgBTMEwivgs/uUF6yO1e/6GoxFmVTXzAKBggq +hkjOPQQDAgNJADBGAiEA9/AJJpBJTkbIscXL0aUIXh5l1DYPmOlsTo5JXcXiFtAC +IQC/oj2PV0cNif3a8D8EZLCujh+VbW9noxEkOFgkaJeAqQ== +-----END CERTIFICATE----- diff --git a/credentials/test/operational-certificates/Chip-Test-Root01-Key.pem b/credentials/test/operational-certificates/Chip-Test-Root01-Key.pem new file mode 100644 index 00000000000000..d02b37cff067de --- /dev/null +++ b/credentials/test/operational-certificates/Chip-Test-Root01-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIPzd/ZESsw0kD2rm3ieiAp57tudDd+O3l1120j3jw2gUoAoGCCqGSM49 +AwEHoUQDQgAEO4hGDsloel0PO0s7E/zSmcL21QUdAD7knJkkz5j094DrIP03yNNY +NH9fh9CMMhPlQK8RurkTfkk1TwxbY0PeYw== +-----END EC PRIVATE KEY----- diff --git a/src/credentials/CHIPCert.cpp b/src/credentials/CHIPCert.cpp index c2a4ba424af2a7..57a97537f34c92 100644 --- a/src/credentials/CHIPCert.cpp +++ b/src/credentials/CHIPCert.cpp @@ -875,11 +875,11 @@ CHIP_ERROR ChipDN::DecodeFromTLV(TLVReader & reader) ReturnErrorOnFailure(reader.Get(chipAttr)); if (attrOID == chip::ASN1::kOID_AttributeType_MatterNodeId) { - VerifyOrReturnError(IsOperationalNodeId(attrOID), CHIP_ERROR_WRONG_NODE_ID); + VerifyOrReturnError(IsOperationalNodeId(chipAttr), CHIP_ERROR_WRONG_NODE_ID); } else if (attrOID == chip::ASN1::kOID_AttributeType_MatterFabricId) { - VerifyOrReturnError(IsValidFabricId(attrOID), CHIP_ERROR_INVALID_ARGUMENT); + VerifyOrReturnError(IsValidFabricId(chipAttr), CHIP_ERROR_INVALID_ARGUMENT); } ReturnErrorOnFailure(AddAttribute(attrOID, chipAttr)); } diff --git a/src/credentials/CHIPCertFromX509.cpp b/src/credentials/CHIPCertFromX509.cpp index dc8e315b3abd45..f6bb3aa0847726 100644 --- a/src/credentials/CHIPCertFromX509.cpp +++ b/src/credentials/CHIPCertFromX509.cpp @@ -61,25 +61,25 @@ static CHIP_ERROR ConvertValidity(ASN1Reader & reader, TLVWriter & writer) { CHIP_ERROR err; ASN1UniversalTime asn1Time; - uint32_t chipEpochTime; + uint32_t chipEpochTimeNotBefore; + uint32_t chipEpochTimeNotAfter; ASN1_PARSE_ENTER_SEQUENCE { ASN1_PARSE_TIME(asn1Time); - - err = ASN1ToChipEpochTime(asn1Time, chipEpochTime); - SuccessOrExit(err); - - err = writer.Put(ContextTag(kTag_NotBefore), chipEpochTime); - SuccessOrExit(err); + ReturnErrorOnFailure(ASN1ToChipEpochTime(asn1Time, chipEpochTimeNotBefore)); ASN1_PARSE_TIME(asn1Time); + ReturnErrorOnFailure(ASN1ToChipEpochTime(asn1Time, chipEpochTimeNotAfter)); - err = ASN1ToChipEpochTime(asn1Time, chipEpochTime); - SuccessOrExit(err); + // Perform this check if NotAfter value is different from Never-Expire value. + if (chipEpochTimeNotAfter != kNullCertTime) + { + VerifyOrReturnError(chipEpochTimeNotBefore < chipEpochTimeNotAfter, ASN1_ERROR_INVALID_ENCODING); + } - err = writer.Put(ContextTag(kTag_NotAfter), chipEpochTime); - SuccessOrExit(err); + ReturnErrorOnFailure(writer.Put(ContextTag(kTag_NotBefore), chipEpochTimeNotBefore)); + ReturnErrorOnFailure(writer.Put(ContextTag(kTag_NotAfter), chipEpochTimeNotAfter)); } ASN1_EXIT_SEQUENCE; diff --git a/src/credentials/CHIPCertToX509.cpp b/src/credentials/CHIPCertToX509.cpp index db8b41ea95670c..44632ecde0003a 100644 --- a/src/credentials/CHIPCertToX509.cpp +++ b/src/credentials/CHIPCertToX509.cpp @@ -73,6 +73,12 @@ static CHIP_ERROR DecodeConvertValidity(TLVReader & reader, ASN1Writer & writer, ReturnErrorOnFailure(reader.Get(certData.mNotAfterTime)); ReturnErrorOnFailure(ChipEpochToASN1Time(certData.mNotAfterTime, asn1Time)); ASN1_ENCODE_TIME(asn1Time); + + // Perform this check if NotAfter value is different from Never-Expire value. + if (certData.mNotAfterTime != kNullCertTime) + { + VerifyOrReturnError(certData.mNotBeforeTime < certData.mNotAfterTime, CHIP_ERROR_UNSUPPORTED_CERT_FORMAT); + } } ASN1_END_SEQUENCE; diff --git a/src/credentials/tests/CHIPCert_error_test_vectors.cpp b/src/credentials/tests/CHIPCert_error_test_vectors.cpp index c1b44945a0c33d..aed0b271195416 100644 --- a/src/credentials/tests/CHIPCert_error_test_vectors.cpp +++ b/src/credentials/tests/CHIPCert_error_test_vectors.cpp @@ -20,67 +20,2832 @@ namespace chip { namespace TestCerts { -const uint8_t kTestErrorCert_NOC_0001_InvCATVerZero_Cert_Array[275] = { - 0x15, 0x30, 0x01, 0x08, 0x3b, 0x75, 0x5b, 0xc1, 0x54, 0xbe, 0x8b, 0x60, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x03, - 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, - 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0xee, 0xee, 0xde, 0xde, 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xb0, 0xfa, 0x26, 0x16, 0x00, 0x00, 0xcd, 0xab, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xff, - 0x23, 0x5d, 0x91, 0xf3, 0x3c, 0x04, 0x7f, 0x82, 0xf0, 0x2c, 0x86, 0x70, 0xbb, 0xd2, 0xb4, 0x34, 0x42, 0x44, 0x6b, 0xc2, - 0xb8, 0x38, 0x6a, 0x36, 0x90, 0x92, 0x36, 0xed, 0x5b, 0x4e, 0x63, 0x81, 0xe6, 0x6b, 0x30, 0x0f, 0x45, 0x75, 0xab, 0x88, - 0xba, 0xcb, 0xad, 0x4e, 0x5f, 0xfe, 0x7e, 0x83, 0x5f, 0xb3, 0xf1, 0xb3, 0x3a, 0x5d, 0xa7, 0x83, 0xf5, 0x07, 0x0e, 0xcf, - 0x91, 0xfb, 0x2b, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, 0x02, 0x04, 0x01, 0x18, - 0x30, 0x04, 0x14, 0x1b, 0xc5, 0xf6, 0x12, 0xf9, 0x6a, 0x92, 0xa1, 0x14, 0xbf, 0x2c, 0x77, 0x2f, 0x13, 0xcd, 0xd7, 0x14, - 0x2f, 0x14, 0xc8, 0x30, 0x05, 0x14, 0x34, 0x3d, 0xbd, 0x99, 0xff, 0xaf, 0xb3, 0x1e, 0xeb, 0x4f, 0x81, 0x4f, 0x6f, 0x9a, - 0x14, 0x74, 0xf1, 0xd4, 0x4f, 0xeb, 0x18, 0x30, 0x0b, 0x40, 0xb9, 0x80, 0xee, 0x56, 0xf7, 0x61, 0xd6, 0x85, 0xf8, 0x55, - 0x1a, 0x57, 0x07, 0xc1, 0x25, 0xbd, 0x6a, 0xc7, 0x80, 0x46, 0x85, 0x5b, 0x80, 0x28, 0x2e, 0x35, 0xf0, 0x60, 0x72, 0x68, - 0xf5, 0xe7, 0xd9, 0x9f, 0x3e, 0x27, 0xef, 0x29, 0x8b, 0xbf, 0x73, 0x05, 0xa2, 0x56, 0x73, 0x6e, 0xac, 0x8c, 0xd9, 0xf2, - 0xca, 0x59, 0x6e, 0xb1, 0x75, 0xf5, 0x74, 0xa9, 0x2e, 0x27, 0x1b, 0x7a, 0xba, 0x20, 0x18, -}; -const uint8_t kTestErrorCert_NOC_0001_InvCATVerZero_PublicKey_Array[65] = { - 0x04, 0xff, 0x23, 0x5d, 0x91, 0xf3, 0x3c, 0x04, 0x7f, 0x82, 0xf0, 0x2c, 0x86, 0x70, 0xbb, 0xd2, 0xb4, - 0x34, 0x42, 0x44, 0x6b, 0xc2, 0xb8, 0x38, 0x6a, 0x36, 0x90, 0x92, 0x36, 0xed, 0x5b, 0x4e, 0x63, 0x81, - 0xe6, 0x6b, 0x30, 0x0f, 0x45, 0x75, 0xab, 0x88, 0xba, 0xcb, 0xad, 0x4e, 0x5f, 0xfe, 0x7e, 0x83, 0x5f, - 0xb3, 0xf1, 0xb3, 0x3a, 0x5d, 0xa7, 0x83, 0xf5, 0x07, 0x0e, 0xcf, 0x91, 0xfb, 0x2b, -}; -const uint8_t kTestErrorCert_NOC_0001_InvCATVerZero_PrivateKey_Array[32] = { - 0x95, 0xa3, 0xa7, 0x23, 0x79, 0x8a, 0xf7, 0x44, 0x17, 0xe2, 0xa5, 0xa4, 0x4d, 0x18, 0xb5, 0x32, - 0x3e, 0x24, 0x83, 0x60, 0xcf, 0xdc, 0x5a, 0x13, 0xd1, 0xa8, 0xb4, 0x0a, 0x65, 0xe4, 0x0f, 0xbc, +const ByteSpan gTestCert_X509ToChip_ErrorCases[50] = { + ByteSpan(sChipTest_NOC_Oversized_Cert_DER), + ByteSpan(sChipTest_ICAC_Oversized_Cert_DER), + ByteSpan(sChipTest_RCAC_Oversized_Cert_DER), + ByteSpan(sChipTest_NOC_Cert_Version_V2_Cert_DER), + ByteSpan(sChipTest_ICAC_Cert_Version_V2_Cert_DER), + ByteSpan(sChipTest_RCAC_Cert_Version_V2_Cert_DER), + ByteSpan(sChipTest_NOC_Sig_Algo_ECDSA_With_SHA1_Cert_DER), + ByteSpan(sChipTest_ICAC_Sig_Algo_ECDSA_With_SHA1_Cert_DER), + ByteSpan(sChipTest_RCAC_Sig_Algo_ECDSA_With_SHA1_Cert_DER), + ByteSpan(sChipTest_NOC_Validity_Not_Before_Missing_Cert_DER), + ByteSpan(sChipTest_ICAC_Validity_Not_Before_Missing_Cert_DER), + ByteSpan(sChipTest_RCAC_Validity_Not_Before_Missing_Cert_DER), + ByteSpan(sChipTest_NOC_Validity_Not_After_Missing_Cert_DER), + ByteSpan(sChipTest_ICAC_Validity_Not_After_Missing_Cert_DER), + ByteSpan(sChipTest_RCAC_Validity_Not_After_Missing_Cert_DER), + ByteSpan(sChipTest_NOC_Validity_Wrong_Cert_DER), + ByteSpan(sChipTest_ICAC_Validity_Wrong_Cert_DER), + ByteSpan(sChipTest_RCAC_Validity_Wrong_Cert_DER), + ByteSpan(sChipTest_NOC_Subject_NodeId_Invalid_Cert_DER), + ByteSpan(sChipTest_NOC_Subject_FabricId_Invalid_Cert_DER), + ByteSpan(sChipTest_ICAC_Subject_FabricId_Invalid_Cert_DER), + ByteSpan(sChipTest_RCAC_Subject_FabricId_Invalid_Cert_DER), + ByteSpan(sChipTest_NOC_Subject_CAT_Invalid_Cert_DER), + ByteSpan(sChipTest_ICAC_Subject_CAT_Invalid_Cert_DER), + ByteSpan(sChipTest_RCAC_Subject_CAT_Invalid_Cert_DER), + ByteSpan(sChipTest_NOC_Sig_Curve_Secp256k1_Cert_DER), + ByteSpan(sChipTest_ICAC_Sig_Curve_Secp256k1_Cert_DER), + ByteSpan(sChipTest_RCAC_Sig_Curve_Secp256k1_Cert_DER), + ByteSpan(sChipTest_NOC_Ext_Basic_Critical_Missing_Cert_DER), + ByteSpan(sChipTest_ICAC_Ext_Basic_Critical_Missing_Cert_DER), + ByteSpan(sChipTest_RCAC_Ext_Basic_Critical_Missing_Cert_DER), + ByteSpan(sChipTest_NOC_Ext_Basic_Critical_Wrong_Cert_DER), + ByteSpan(sChipTest_ICAC_Ext_Basic_Critical_Wrong_Cert_DER), + ByteSpan(sChipTest_RCAC_Ext_Basic_Critical_Wrong_Cert_DER), + ByteSpan(sChipTest_NOC_Ext_Basic_CA_Missing_Cert_DER), + ByteSpan(sChipTest_ICAC_Ext_Basic_CA_Missing_Cert_DER), + ByteSpan(sChipTest_RCAC_Ext_Basic_CA_Missing_Cert_DER), + ByteSpan(sChipTest_NOC_Ext_Basic_PathLen_Presence_Wrong_Cert_DER), + ByteSpan(sChipTest_NOC_Ext_KeyUsage_Critical_Missing_Cert_DER), + ByteSpan(sChipTest_ICAC_Ext_KeyUsage_Critical_Missing_Cert_DER), + ByteSpan(sChipTest_RCAC_Ext_KeyUsage_Critical_Missing_Cert_DER), + ByteSpan(sChipTest_NOC_Ext_KeyUsage_Critical_Wrong_Cert_DER), + ByteSpan(sChipTest_ICAC_Ext_KeyUsage_Critical_Wrong_Cert_DER), + ByteSpan(sChipTest_RCAC_Ext_KeyUsage_Critical_Wrong_Cert_DER), + ByteSpan(sChipTest_NOC_Ext_AKID_Length_Invalid_Cert_DER), + ByteSpan(sChipTest_ICAC_Ext_AKID_Length_Invalid_Cert_DER), + ByteSpan(sChipTest_RCAC_Ext_AKID_Length_Invalid_Cert_DER), + ByteSpan(sChipTest_NOC_Ext_SKID_Length_Invalid_Cert_DER), + ByteSpan(sChipTest_ICAC_Ext_SKID_Length_Invalid_Cert_DER), + ByteSpan(sChipTest_RCAC_Ext_SKID_Length_Invalid_Cert_DER), +}; + +const ByteSpan gTestCert_ChipToX509_ErrorCases[43] = { + ByteSpan(sChipTest_NOC_Oversized_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Oversized_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Oversized_Cert_CHIP), + ByteSpan(sChipTest_NOC_Serial_Number_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Serial_Number_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Serial_Number_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Sig_Algo_ECDSA_With_SHA1_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Sig_Algo_ECDSA_With_SHA1_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Sig_Algo_ECDSA_With_SHA1_Cert_CHIP), + ByteSpan(sChipTest_NOC_Issuer_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Issuer_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Issuer_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Validity_Not_Before_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Validity_Not_Before_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Validity_Not_Before_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Validity_Not_After_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Validity_Not_After_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Validity_Not_After_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Validity_Wrong_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Validity_Wrong_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Validity_Wrong_Cert_CHIP), + ByteSpan(sChipTest_NOC_Subject_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Subject_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Subject_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Subject_NodeId_Invalid_Cert_CHIP), + ByteSpan(sChipTest_NOC_Subject_FabricId_Invalid_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Subject_FabricId_Invalid_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Subject_FabricId_Invalid_Cert_CHIP), + ByteSpan(sChipTest_NOC_Subject_CAT_Invalid_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Subject_CAT_Invalid_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Subject_CAT_Invalid_Cert_CHIP), + ByteSpan(sChipTest_NOC_Sig_Curve_Secp256k1_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Sig_Curve_Secp256k1_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Sig_Curve_Secp256k1_Cert_CHIP), + ByteSpan(sChipTest_NOC_Ext_Basic_CA_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Ext_Basic_CA_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Ext_Basic_CA_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Ext_AKID_Length_Invalid_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Ext_AKID_Length_Invalid_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Ext_AKID_Length_Invalid_Cert_CHIP), + ByteSpan(sChipTest_NOC_Ext_SKID_Length_Invalid_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Ext_SKID_Length_Invalid_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Ext_SKID_Length_Invalid_Cert_CHIP), }; -ByteSpan kTestErrorCert_NOC_0001_InvCATVerZero_Cert = ByteSpan(kTestErrorCert_NOC_0001_InvCATVerZero_Cert_Array); -ByteSpan kTestErrorCert_NOC_0001_InvCATVerZero_PrivateKey = ByteSpan(kTestErrorCert_NOC_0001_InvCATVerZero_PrivateKey_Array); -ByteSpan kTestErrorCert_NOC_0001_InvCATVerZero_PublicKey = ByteSpan(kTestErrorCert_NOC_0001_InvCATVerZero_PublicKey_Array); +const ByteSpan gTestCert_ChipCertLoad_ErrorCases[40] = { + ByteSpan(sChipTest_NOC_Serial_Number_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Serial_Number_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Serial_Number_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Sig_Algo_ECDSA_With_SHA1_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Sig_Algo_ECDSA_With_SHA1_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Sig_Algo_ECDSA_With_SHA1_Cert_CHIP), + ByteSpan(sChipTest_NOC_Issuer_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Issuer_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Issuer_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Validity_Not_Before_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Validity_Not_Before_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Validity_Not_Before_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Validity_Not_After_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Validity_Not_After_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Validity_Not_After_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Validity_Wrong_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Validity_Wrong_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Validity_Wrong_Cert_CHIP), + ByteSpan(sChipTest_NOC_Subject_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Subject_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Subject_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Subject_NodeId_Invalid_Cert_CHIP), + ByteSpan(sChipTest_NOC_Subject_FabricId_Invalid_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Subject_FabricId_Invalid_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Subject_FabricId_Invalid_Cert_CHIP), + ByteSpan(sChipTest_NOC_Subject_CAT_Invalid_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Subject_CAT_Invalid_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Subject_CAT_Invalid_Cert_CHIP), + ByteSpan(sChipTest_NOC_Sig_Curve_Secp256k1_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Sig_Curve_Secp256k1_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Sig_Curve_Secp256k1_Cert_CHIP), + ByteSpan(sChipTest_NOC_Ext_Basic_CA_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Ext_Basic_CA_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Ext_Basic_CA_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Ext_AKID_Length_Invalid_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Ext_AKID_Length_Invalid_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Ext_AKID_Length_Invalid_Cert_CHIP), + ByteSpan(sChipTest_NOC_Ext_SKID_Length_Invalid_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Ext_SKID_Length_Invalid_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Ext_SKID_Length_Invalid_Cert_CHIP), +}; + +const ByteSpan gTestCert_ValidateChipRCAC_ErrorCases[84] = { + ByteSpan(sChipTest_NOC_Oversized_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Oversized_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Oversized_Cert_CHIP), + ByteSpan(sChipTest_NOC_Serial_Number_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Serial_Number_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Serial_Number_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Sig_Algo_ECDSA_With_SHA1_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Sig_Algo_ECDSA_With_SHA1_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Sig_Algo_ECDSA_With_SHA1_Cert_CHIP), + ByteSpan(sChipTest_NOC_Issuer_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Issuer_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Issuer_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Validity_Not_Before_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Validity_Not_Before_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Validity_Not_Before_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Validity_Not_After_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Validity_Not_After_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Validity_Not_After_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Validity_Wrong_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Validity_Wrong_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Validity_Wrong_Cert_CHIP), + ByteSpan(sChipTest_NOC_Subject_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Subject_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Subject_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Subject_MatterId_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Subject_MatterId_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Subject_MatterId_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Subject_MatterId_Twice_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Subject_MatterId_Twice_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Subject_MatterId_Twice_Cert_CHIP), + ByteSpan(sChipTest_NOC_Subject_FabricId_Invalid_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Subject_FabricId_Invalid_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Subject_FabricId_Invalid_Cert_CHIP), + ByteSpan(sChipTest_NOC_Subject_FabricId_Twice_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Subject_FabricId_Twice_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Subject_FabricId_Twice_Cert_CHIP), + ByteSpan(sChipTest_NOC_Subject_CAT_Invalid_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Subject_CAT_Invalid_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Subject_CAT_Invalid_Cert_CHIP), + ByteSpan(sChipTest_NOC_Subject_CAT_Twice_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Subject_CAT_Twice_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Subject_CAT_Twice_Cert_CHIP), + ByteSpan(sChipTest_NOC_Sig_Curve_Secp256k1_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Sig_Curve_Secp256k1_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Sig_Curve_Secp256k1_Cert_CHIP), + ByteSpan(sChipTest_NOC_PublicKey_Wrong_Cert_CHIP), + ByteSpan(sChipTest_ICAC_PublicKey_Wrong_Cert_CHIP), + ByteSpan(sChipTest_RCAC_PublicKey_Wrong_Cert_CHIP), + ByteSpan(sChipTest_NOC_Ext_Basic_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Ext_Basic_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Ext_Basic_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Ext_Basic_CA_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Ext_Basic_CA_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Ext_Basic_CA_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Ext_Basic_CA_Wrong_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Ext_Basic_CA_Wrong_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Ext_Basic_CA_Wrong_Cert_CHIP), + ByteSpan(sChipTest_NOC_Ext_Basic_PathLen_Presence_Wrong_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Ext_Basic_PathLen_Presence_Wrong_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Ext_Basic_PathLen_Presence_Wrong_Cert_CHIP), + ByteSpan(sChipTest_NOC_Ext_Basic_PathLen2_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Ext_Basic_PathLen2_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Ext_Basic_PathLen2_Cert_CHIP), + ByteSpan(sChipTest_NOC_Ext_KeyUsage_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Ext_KeyUsage_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Ext_KeyUsage_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Ext_KeyUsage_KeyCertSign_Wrong_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Ext_KeyUsage_KeyCertSign_Wrong_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Ext_KeyUsage_KeyCertSign_Wrong_Cert_CHIP), + ByteSpan(sChipTest_NOC_Ext_AKID_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Ext_AKID_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Ext_AKID_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Ext_AKID_Length_Invalid_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Ext_AKID_Length_Invalid_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Ext_AKID_Length_Invalid_Cert_CHIP), + ByteSpan(sChipTest_NOC_Ext_SKID_Missing_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Ext_SKID_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Ext_SKID_Missing_Cert_CHIP), + ByteSpan(sChipTest_NOC_Ext_SKID_Length_Invalid_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Ext_SKID_Length_Invalid_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Ext_SKID_Length_Invalid_Cert_CHIP), + ByteSpan(sChipTest_NOC_Signature_Wrong_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Signature_Wrong_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Signature_Wrong_Cert_CHIP), +}; -const uint8_t kTestErrorCert_NOC_0002_InvCATMulVers_Cert_Array[287] = { - 0x15, 0x30, 0x01, 0x08, 0x32, 0xf6, 0xd3, 0x7c, 0xfa, 0xd4, 0x71, 0xe2, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x03, 0x00, - 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, - 0x26, 0x16, 0x04, 0x00, 0xcd, 0xab, 0x26, 0x16, 0x10, 0x00, 0x22, 0x22, 0x26, 0x16, 0x02, 0x00, 0xcd, 0xab, 0x27, 0x11, 0x02, - 0x00, 0xee, 0xee, 0xde, 0xde, 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, - 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x0e, 0x40, 0x23, 0x8b, 0xf6, 0x6e, 0xb5, 0x26, 0x01, 0xc4, 0xac, 0x57, 0x97, 0xdd, - 0xc3, 0x9a, 0x1a, 0x01, 0x85, 0xf4, 0x38, 0x34, 0x0d, 0xd5, 0x00, 0x5b, 0x8e, 0x23, 0x26, 0x18, 0x47, 0x3c, 0x47, 0x71, 0xb6, - 0x05, 0xe2, 0xab, 0x73, 0xd7, 0x95, 0xbf, 0xfc, 0x55, 0xdf, 0x31, 0x51, 0x40, 0xb0, 0xdd, 0x16, 0x47, 0x58, 0xca, 0xfd, 0x3c, - 0x65, 0x00, 0xa9, 0x0a, 0x9a, 0x85, 0xec, 0x72, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, - 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0x19, 0xf2, 0x66, 0x00, 0x88, 0xac, 0x5a, 0xf5, 0xd0, 0xac, 0xa3, 0xf8, 0xac, 0xec, - 0xb8, 0x6e, 0x3f, 0xe2, 0x77, 0x4f, 0x30, 0x05, 0x14, 0x34, 0x3d, 0xbd, 0x99, 0xff, 0xaf, 0xb3, 0x1e, 0xeb, 0x4f, 0x81, 0x4f, - 0x6f, 0x9a, 0x14, 0x74, 0xf1, 0xd4, 0x4f, 0xeb, 0x18, 0x30, 0x0b, 0x40, 0xba, 0xa7, 0xaf, 0x18, 0x14, 0x52, 0xe6, 0x06, 0x2d, - 0xd1, 0x0a, 0x9a, 0x6d, 0xd0, 0x5d, 0xdb, 0xc2, 0x2c, 0xd3, 0x17, 0x94, 0x75, 0x9e, 0x1c, 0x2b, 0x57, 0x4e, 0xbb, 0xd6, 0xa4, - 0x58, 0x52, 0x5a, 0x80, 0x60, 0xf2, 0x43, 0x21, 0x4b, 0xba, 0x9d, 0xd2, 0xc9, 0x2a, 0x3b, 0xe6, 0xab, 0x22, 0xe9, 0xe2, 0x29, - 0xc2, 0x13, 0xac, 0xf0, 0xf2, 0x4e, 0x6c, 0x63, 0xea, 0xfa, 0xb8, 0xaa, 0xc3, 0x18, -}; -const uint8_t kTestErrorCert_NOC_0002_InvCATMulVers_PublicKey_Array[65] = { - 0x04, 0x0e, 0x40, 0x23, 0x8b, 0xf6, 0x6e, 0xb5, 0x26, 0x01, 0xc4, 0xac, 0x57, 0x97, 0xdd, 0xc3, 0x9a, - 0x1a, 0x01, 0x85, 0xf4, 0x38, 0x34, 0x0d, 0xd5, 0x00, 0x5b, 0x8e, 0x23, 0x26, 0x18, 0x47, 0x3c, 0x47, - 0x71, 0xb6, 0x05, 0xe2, 0xab, 0x73, 0xd7, 0x95, 0xbf, 0xfc, 0x55, 0xdf, 0x31, 0x51, 0x40, 0xb0, 0xdd, - 0x16, 0x47, 0x58, 0xca, 0xfd, 0x3c, 0x65, 0x00, 0xa9, 0x0a, 0x9a, 0x85, 0xec, 0x72, -}; -const uint8_t kTestErrorCert_NOC_0002_InvCATMulVers_PrivateKey_Array[32] = { - 0x06, 0x1b, 0x1e, 0xfd, 0xac, 0x86, 0x9b, 0xec, 0xd3, 0x82, 0xc9, 0x8e, 0x63, 0x63, 0x2a, 0x35, - 0xc2, 0xef, 0x2a, 0x8e, 0x2d, 0xb1, 0x7b, 0x72, 0x55, 0x8c, 0x1c, 0xc7, 0x83, 0x8e, 0xaa, 0xee, +const ByteSpan gTestCert_GetCertType_ErrorCases[12] = { + ByteSpan(sChipTest_NOC_Subject_MatterId_Missing_Cert_CHIP), ByteSpan(sChipTest_ICAC_Subject_MatterId_Missing_Cert_CHIP), + ByteSpan(sChipTest_RCAC_Subject_MatterId_Missing_Cert_CHIP), ByteSpan(sChipTest_NOC_Subject_MatterId_Twice_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Subject_MatterId_Twice_Cert_CHIP), ByteSpan(sChipTest_RCAC_Subject_MatterId_Twice_Cert_CHIP), + ByteSpan(sChipTest_NOC_Subject_FabricId_Missing_Cert_CHIP), ByteSpan(sChipTest_NOC_Subject_FabricId_Twice_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Subject_FabricId_Twice_Cert_CHIP), ByteSpan(sChipTest_RCAC_Subject_FabricId_Twice_Cert_CHIP), + ByteSpan(sChipTest_ICAC_Subject_CAT_Twice_Cert_CHIP), ByteSpan(sChipTest_RCAC_Subject_CAT_Twice_Cert_CHIP), }; -ByteSpan kTestErrorCert_NOC_0002_InvCATMulVers_Cert = ByteSpan(kTestErrorCert_NOC_0002_InvCATMulVers_Cert_Array); -ByteSpan kTestErrorCert_NOC_0002_InvCATMulVers_PrivateKey = ByteSpan(kTestErrorCert_NOC_0002_InvCATMulVers_PrivateKey_Array); -ByteSpan kTestErrorCert_NOC_0002_InvCATMulVers_PublicKey = ByteSpan(kTestErrorCert_NOC_0002_InvCATMulVers_PublicKey_Array); +const uint8_t sChipTest_NOC_Oversized_Cert_DER[744] = { + 0x30, 0x82, 0x02, 0xe4, 0x30, 0x82, 0x02, 0x8b, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x03, 0x2b, 0x62, 0x5a, 0x6f, 0x49, + 0x0f, 0xe1, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, + 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, + 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x82, 0x01, 0x25, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, + 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x01, 0x0c, 0x10, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x30, + 0x30, 0x30, 0x31, 0x30, 0x30, 0x30, 0x31, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, + 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x31, + 0x49, 0x30, 0x47, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, 0x6d, 0x65, + 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, + 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, 0x73, 0x65, 0x31, 0x49, 0x30, 0x47, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, + 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, + 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, + 0x73, 0x65, 0x31, 0x49, 0x30, 0x47, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, + 0x61, 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, 0x73, 0x65, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0xe5, + 0xe0, 0x90, 0xc1, 0xbf, 0xc1, 0x31, 0x88, 0x41, 0x09, 0xd5, 0xb4, 0x13, 0x82, 0x51, 0xca, 0x72, 0x43, 0x40, 0x0c, 0x0c, 0xc4, + 0xac, 0x28, 0x97, 0xe3, 0x75, 0x1a, 0xfc, 0x1c, 0x01, 0xe0, 0x6e, 0x69, 0x03, 0x0e, 0x3c, 0x9c, 0xc2, 0x57, 0xa8, 0xe0, 0x64, + 0x72, 0x17, 0xdf, 0xed, 0xb8, 0x25, 0xb3, 0x75, 0xc5, 0x9c, 0xb7, 0xc6, 0x25, 0x19, 0x19, 0x19, 0x9b, 0xbf, 0x2a, 0xdf, 0x98, + 0xa3, 0x81, 0x83, 0x30, 0x81, 0x80, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x02, 0x30, 0x00, 0x30, + 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x20, 0x06, 0x03, 0x55, 0x1d, + 0x25, 0x01, 0x01, 0xff, 0x04, 0x16, 0x30, 0x14, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x02, 0x06, 0x08, 0x2b, + 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0x48, 0x56, 0xd7, + 0x15, 0x29, 0xe9, 0xb2, 0xb5, 0x39, 0xeb, 0x9f, 0x24, 0x7b, 0x82, 0x0a, 0xc6, 0xe9, 0x62, 0x70, 0x43, 0x30, 0x1f, 0x06, 0x03, + 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, + 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, + 0x47, 0x00, 0x30, 0x44, 0x02, 0x20, 0x77, 0x67, 0xf9, 0xb6, 0x8d, 0xd1, 0x87, 0x11, 0x03, 0x93, 0x13, 0x56, 0x45, 0x23, 0xc2, + 0xe4, 0xd9, 0xc0, 0xa0, 0xdc, 0x05, 0x72, 0x92, 0x6a, 0x29, 0x47, 0x2e, 0xa1, 0x9f, 0x24, 0xa8, 0x9e, 0x02, 0x20, 0x2f, 0x40, + 0x62, 0x18, 0x94, 0xfc, 0x47, 0x82, 0xca, 0x18, 0xdf, 0xc2, 0x8d, 0xd8, 0x61, 0xba, 0x6a, 0x4a, 0x2b, 0xa7, 0x9f, 0x66, 0x0d, + 0xb1, 0x00, 0x15, 0x0d, 0xb0, 0xc1, 0xa0, 0xa7, 0x1a, +}; +const uint8_t sChipTest_ICAC_Oversized_Cert_DER[678] = { + 0x30, 0x82, 0x02, 0xa2, 0x30, 0x82, 0x02, 0x48, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x29, 0x09, 0x70, 0x4f, 0xea, 0xbd, + 0x5a, 0xfd, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x82, + 0x01, 0x25, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, + 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x31, 0x49, 0x30, 0x47, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x40, 0x43, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x44, 0x4e, 0x20, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, 0x73, 0x65, 0x31, 0x49, + 0x30, 0x47, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x20, + 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, + 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, 0x73, 0x65, 0x31, 0x49, 0x30, 0x47, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x40, + 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x44, + 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, 0x73, + 0x65, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, + 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0xf2, 0xc9, 0xcc, 0xc7, 0x69, 0x32, 0xad, 0x47, 0x5b, 0xdc, 0x0c, 0x67, 0x75, 0x3a, + 0x8e, 0xf5, 0x8e, 0x00, 0xbd, 0x89, 0x0f, 0xaa, 0x24, 0xed, 0x21, 0x69, 0x57, 0xc1, 0x6d, 0x79, 0xc8, 0xbb, 0x2d, 0x26, 0x9c, + 0x6b, 0x69, 0x53, 0x96, 0xf8, 0x90, 0xae, 0x34, 0x76, 0x8f, 0x05, 0xbc, 0x2d, 0x31, 0xbf, 0x3b, 0xb3, 0xee, 0x32, 0x1e, 0xb9, + 0x78, 0x3d, 0xcf, 0x84, 0xc1, 0x9f, 0xdf, 0x4b, 0xa3, 0x63, 0x30, 0x61, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, + 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, + 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0xbe, 0x7d, 0x90, 0x4c, 0x18, 0xbe, 0x33, + 0x5d, 0x46, 0x18, 0xdf, 0x44, 0x97, 0x7b, 0x2a, 0xcd, 0x35, 0xf8, 0x45, 0x06, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, + 0x18, 0x30, 0x16, 0x80, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, + 0x16, 0x65, 0x53, 0x5f, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, + 0x02, 0x20, 0x7d, 0xcd, 0x4d, 0xc2, 0xf1, 0xc8, 0x2f, 0x47, 0xfe, 0xa3, 0xb9, 0xfc, 0xd7, 0xa5, 0x12, 0xb0, 0xdf, 0x58, 0xb8, + 0xb5, 0x17, 0xd9, 0xc0, 0xa6, 0xda, 0x3b, 0xc2, 0x01, 0xbc, 0x5b, 0xbd, 0xf5, 0x02, 0x21, 0x00, 0xe4, 0x61, 0x6f, 0xd6, 0xc2, + 0xf1, 0xa2, 0x48, 0xb6, 0xa6, 0x34, 0x7f, 0x6e, 0x07, 0x3d, 0x2a, 0x6d, 0x7f, 0x0d, 0x41, 0xff, 0x9d, 0x08, 0x22, 0x6b, 0x55, + 0xf9, 0x55, 0x19, 0x27, 0x1d, 0x5a, +}; +const uint8_t sChipTest_RCAC_Oversized_Cert_DER[871] = { + 0x30, 0x82, 0x03, 0x63, 0x30, 0x82, 0x03, 0x09, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x5c, 0x9f, 0xab, 0x78, 0x4b, 0x2b, + 0x96, 0x98, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x82, 0x01, 0x03, 0x31, 0x20, 0x30, + 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x31, 0x49, 0x30, 0x47, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x40, + 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x44, + 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, 0x73, + 0x65, 0x31, 0x49, 0x30, 0x47, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, + 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, 0x73, 0x65, 0x31, 0x49, 0x30, 0x47, 0x06, 0x03, 0x55, 0x04, + 0x03, 0x0c, 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x20, 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, + 0x63, 0x61, 0x73, 0x65, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, + 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x82, 0x01, 0x03, 0x31, 0x20, + 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x31, 0x49, 0x30, 0x47, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, + 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, + 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, + 0x73, 0x65, 0x31, 0x49, 0x30, 0x47, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, + 0x61, 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, 0x73, 0x65, 0x31, 0x49, 0x30, 0x47, 0x06, 0x03, 0x55, + 0x04, 0x03, 0x0c, 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x20, 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, + 0x74, 0x63, 0x61, 0x73, 0x65, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x40, 0xa4, 0x2e, 0x3d, 0xcf, 0x28, 0xf9, 0xb2, 0x40, 0xb5, + 0x10, 0xd9, 0x38, 0x67, 0x15, 0xf3, 0x9a, 0x23, 0x16, 0x1e, 0x9a, 0x17, 0xeb, 0xe4, 0x96, 0xea, 0x40, 0xcf, 0xaa, 0xe5, 0x02, + 0x1c, 0x03, 0xe8, 0xaf, 0x65, 0x58, 0x20, 0xf1, 0x9e, 0xd2, 0x39, 0xf2, 0x7f, 0xc4, 0xdf, 0x63, 0x08, 0xb4, 0x2e, 0xc3, 0x13, + 0x86, 0x7a, 0x3f, 0x2e, 0xce, 0x50, 0xc5, 0x72, 0x91, 0x8c, 0x4b, 0x1d, 0xa3, 0x63, 0x30, 0x61, 0x30, 0x0f, 0x06, 0x03, 0x55, + 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, + 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0x7a, 0x02, 0x97, + 0xf3, 0x6e, 0x9a, 0x9f, 0xa5, 0x71, 0x31, 0x30, 0x27, 0x33, 0x32, 0x06, 0x45, 0x2b, 0x0b, 0x01, 0x82, 0x30, 0x1f, 0x06, 0x03, + 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0x7a, 0x02, 0x97, 0xf3, 0x6e, 0x9a, 0x9f, 0xa5, 0x71, 0x31, 0x30, 0x27, + 0x33, 0x32, 0x06, 0x45, 0x2b, 0x0b, 0x01, 0x82, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, + 0x48, 0x00, 0x30, 0x45, 0x02, 0x20, 0x68, 0x0f, 0xac, 0x96, 0xc8, 0xd5, 0x6f, 0x64, 0x93, 0x70, 0x09, 0x28, 0xe4, 0x2d, 0x3a, + 0xb2, 0x69, 0xed, 0xb3, 0xea, 0x4e, 0x1f, 0xbd, 0x01, 0x93, 0xe7, 0x34, 0xa2, 0xe9, 0xc9, 0x71, 0xbc, 0x02, 0x21, 0x00, 0xce, + 0x3a, 0x24, 0x86, 0x84, 0x86, 0xeb, 0xd9, 0xe1, 0xf8, 0x30, 0x00, 0x01, 0x7b, 0x4f, 0xe7, 0xac, 0x7b, 0xe0, 0x36, 0x25, 0x5e, + 0xe2, 0xd6, 0x8a, 0xa2, 0x66, 0xa1, 0xe2, 0x0a, 0x16, 0xe6, +}; +const uint8_t sChipTest_NOC_Cert_Version_V2_Cert_DER[519] = { + 0x30, 0x82, 0x02, 0x03, 0x30, 0x82, 0x01, 0xa8, 0xa0, 0x03, 0x02, 0x01, 0x01, 0x02, 0x08, 0x76, 0xe7, 0x4a, 0xc0, 0xd7, 0x71, + 0xa1, 0x53, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, + 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, + 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x01, 0x0c, 0x10, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x30, 0x30, 0x30, + 0x31, 0x30, 0x30, 0x30, 0x31, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, + 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, + 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, + 0x42, 0x00, 0x04, 0xb3, 0xbc, 0x48, 0xdb, 0x31, 0x3b, 0x71, 0x05, 0x94, 0xec, 0x01, 0xf7, 0x04, 0x41, 0x9b, 0x6e, 0x94, 0xb7, + 0x15, 0xae, 0x5e, 0xfa, 0x05, 0xfd, 0x3e, 0xb4, 0xbc, 0xc2, 0x22, 0x84, 0x45, 0xdd, 0x8f, 0xdf, 0x3e, 0x94, 0xa1, 0x3a, 0x73, + 0x96, 0x81, 0x6c, 0x4e, 0x3c, 0x6c, 0x6a, 0x63, 0xdd, 0x06, 0x91, 0x18, 0x54, 0x38, 0xa1, 0x44, 0x7c, 0x53, 0x8a, 0x43, 0xa7, + 0xc1, 0x81, 0x80, 0x0f, 0xa3, 0x81, 0x83, 0x30, 0x81, 0x80, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, + 0x02, 0x30, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x20, + 0x06, 0x03, 0x55, 0x1d, 0x25, 0x01, 0x01, 0xff, 0x04, 0x16, 0x30, 0x14, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, + 0x02, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, + 0x14, 0x9a, 0xe6, 0x23, 0xfa, 0x78, 0xe4, 0xc0, 0xb7, 0x55, 0x13, 0x75, 0x79, 0xba, 0x89, 0x8c, 0xb9, 0x93, 0xf9, 0xb0, 0x1c, + 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, + 0x74, 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, + 0x04, 0x03, 0x02, 0x03, 0x49, 0x00, 0x30, 0x46, 0x02, 0x21, 0x00, 0xf1, 0x37, 0xc0, 0x6d, 0xe8, 0xbc, 0xfa, 0x3d, 0x3e, 0x46, + 0x4c, 0xf6, 0x7b, 0x72, 0xf1, 0xe6, 0x40, 0x75, 0xbd, 0xe7, 0x11, 0x81, 0x98, 0xf9, 0x31, 0x56, 0x70, 0x15, 0xeb, 0x80, 0xf0, + 0x19, 0x02, 0x21, 0x00, 0xea, 0xb6, 0xe7, 0xa5, 0x80, 0x07, 0x00, 0xd5, 0x18, 0x02, 0x8b, 0xa1, 0x4a, 0x6d, 0xcd, 0x90, 0x41, + 0x92, 0xba, 0x2e, 0xa4, 0x1c, 0xc8, 0x51, 0x09, 0x7e, 0x40, 0xc3, 0xd2, 0xe9, 0xe7, 0x89, +}; +const uint8_t sChipTest_ICAC_Cert_Version_V2_Cert_DER[451] = { + 0x30, 0x82, 0x01, 0xbf, 0x30, 0x82, 0x01, 0x65, 0xa0, 0x03, 0x02, 0x01, 0x01, 0x02, 0x08, 0x51, 0x33, 0x8b, 0x3d, 0xbe, 0x61, + 0xe8, 0x79, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x38, 0xb5, 0x96, 0x04, 0xc7, 0x4d, 0x8d, 0xa4, 0xa8, 0x76, + 0xcd, 0xf7, 0x2a, 0xee, 0x58, 0xcb, 0xdd, 0xf9, 0xcc, 0x8c, 0x03, 0x62, 0xc4, 0x05, 0x32, 0xcc, 0x86, 0xf9, 0x21, 0xff, 0x2e, + 0x70, 0x31, 0xd9, 0xf1, 0x79, 0x3d, 0xea, 0x19, 0x5a, 0xf0, 0xcf, 0x46, 0x13, 0xcd, 0x3c, 0xa8, 0x67, 0xfd, 0x94, 0x08, 0x7b, + 0x09, 0xe5, 0x9f, 0xfc, 0x21, 0x8e, 0xe3, 0x36, 0x80, 0xcc, 0x6d, 0xcc, 0xa3, 0x63, 0x30, 0x61, 0x30, 0x0f, 0x06, 0x03, 0x55, + 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, + 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0x7a, 0xf9, 0x6d, + 0x4a, 0xbf, 0xbe, 0x09, 0x50, 0xec, 0x3f, 0x36, 0x03, 0xc3, 0x19, 0x62, 0x24, 0x9b, 0xca, 0x59, 0x24, 0x30, 0x1f, 0x06, 0x03, + 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, + 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, + 0x48, 0x00, 0x30, 0x45, 0x02, 0x20, 0x32, 0x5c, 0x3b, 0x1d, 0x5d, 0x3c, 0x10, 0x3e, 0x26, 0x9f, 0x31, 0x6a, 0x4c, 0x06, 0xa2, + 0xce, 0xa2, 0x4a, 0xeb, 0xab, 0xea, 0x71, 0xd1, 0xd4, 0xa6, 0xd0, 0x11, 0xc8, 0xcd, 0x67, 0xde, 0x8c, 0x02, 0x21, 0x00, 0xff, + 0x56, 0x0f, 0x04, 0xab, 0xc0, 0x96, 0xcc, 0x30, 0x1b, 0xfe, 0x5f, 0x40, 0xae, 0xdb, 0x03, 0x71, 0x08, 0x34, 0xda, 0xb8, 0xc9, + 0x8f, 0x3a, 0xf2, 0x2b, 0xec, 0x65, 0xc6, 0xf3, 0x33, 0xaa, +}; +const uint8_t sChipTest_RCAC_Cert_Version_V2_Cert_DER[416] = { + 0x30, 0x82, 0x01, 0x9c, 0x30, 0x82, 0x01, 0x43, 0xa0, 0x03, 0x02, 0x01, 0x01, 0x02, 0x08, 0x7f, 0xf0, 0x89, 0x5d, 0x12, 0xf3, + 0xbf, 0x04, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x22, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x6a, 0xb6, + 0x1a, 0x0f, 0xaa, 0x27, 0xb2, 0xd0, 0x22, 0x5f, 0xfa, 0x78, 0x02, 0xe3, 0xe8, 0x1c, 0x47, 0x31, 0x7d, 0x20, 0x12, 0x69, 0xbc, + 0x71, 0x84, 0xfe, 0xdd, 0xb5, 0x84, 0x6b, 0x9d, 0x0e, 0x30, 0x3c, 0x2b, 0x62, 0x11, 0xe6, 0xe5, 0xa2, 0xc5, 0xfd, 0x25, 0x03, + 0x22, 0x20, 0xd2, 0xf3, 0x49, 0xe4, 0xc6, 0x93, 0x20, 0x0f, 0xc0, 0xd4, 0xc6, 0x9f, 0xf2, 0xaf, 0xd5, 0x98, 0x3d, 0xbb, 0xa3, + 0x63, 0x30, 0x61, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, + 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, + 0x0e, 0x04, 0x16, 0x04, 0x14, 0x32, 0xac, 0x52, 0x33, 0x88, 0xf0, 0x3e, 0xb3, 0xfe, 0x23, 0x0d, 0x03, 0x39, 0x8b, 0xc0, 0x69, + 0x6b, 0x26, 0xce, 0x90, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0x32, 0xac, 0x52, 0x33, + 0x88, 0xf0, 0x3e, 0xb3, 0xfe, 0x23, 0x0d, 0x03, 0x39, 0x8b, 0xc0, 0x69, 0x6b, 0x26, 0xce, 0x90, 0x30, 0x0a, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x47, 0x00, 0x30, 0x44, 0x02, 0x20, 0x27, 0x39, 0x57, 0x43, 0xe3, 0x60, 0x97, + 0xa4, 0xe7, 0x9a, 0xc9, 0x9b, 0x8a, 0xef, 0xc6, 0xeb, 0x54, 0x48, 0xc2, 0x7c, 0x53, 0x24, 0xbb, 0xfe, 0x64, 0x7b, 0xa0, 0xc4, + 0x88, 0x66, 0xf0, 0x82, 0x02, 0x20, 0x44, 0x84, 0x6e, 0x9e, 0x31, 0xc7, 0x32, 0x2f, 0xdf, 0x2e, 0x59, 0xe6, 0x09, 0x41, 0x03, + 0x55, 0x2f, 0x48, 0x46, 0xdb, 0xeb, 0xcd, 0x8f, 0xc6, 0xe1, 0xc1, 0x04, 0xa3, 0x19, 0x5d, 0xf5, 0x0d, +}; +const uint8_t sChipTest_NOC_Sig_Algo_ECDSA_With_SHA1_Cert_DER[517] = { + 0x30, 0x82, 0x02, 0x01, 0x30, 0x82, 0x01, 0xa7, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x7a, 0x6d, 0x34, 0xc7, 0xd9, 0x17, + 0xfa, 0x58, 0x30, 0x09, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x01, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, + 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, + 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, + 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, + 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, + 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x01, 0x0c, 0x10, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x30, 0x30, 0x30, 0x31, + 0x30, 0x30, 0x30, 0x31, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, + 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, 0x13, + 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, + 0x00, 0x04, 0x34, 0x8f, 0x22, 0x3d, 0xd7, 0x60, 0xa1, 0x6c, 0xc9, 0xa7, 0x52, 0xb7, 0xba, 0x72, 0xac, 0x2e, 0x72, 0xb1, 0xbf, + 0xea, 0xc2, 0x3d, 0x2e, 0x1c, 0x57, 0xb3, 0xa0, 0xdb, 0x15, 0x41, 0x99, 0x2d, 0xf9, 0x3c, 0xf3, 0x35, 0xef, 0xa1, 0xd5, 0xd7, + 0x1e, 0xa5, 0xc8, 0x61, 0x6c, 0x20, 0x75, 0x2c, 0xa6, 0x92, 0xbc, 0xf6, 0x09, 0x33, 0x7a, 0x1f, 0x5a, 0xe0, 0x64, 0xdb, 0xbc, + 0x5c, 0xfd, 0x79, 0xa3, 0x81, 0x83, 0x30, 0x81, 0x80, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x02, + 0x30, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x20, 0x06, + 0x03, 0x55, 0x1d, 0x25, 0x01, 0x01, 0xff, 0x04, 0x16, 0x30, 0x14, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x02, + 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, + 0x4f, 0x5a, 0xe1, 0xe8, 0x9e, 0x18, 0xf8, 0x0c, 0x8d, 0xd2, 0xf6, 0xdf, 0x70, 0x7b, 0x67, 0x5e, 0xd3, 0xee, 0x82, 0x71, 0x30, + 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, + 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x30, 0x09, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, + 0x01, 0x03, 0x49, 0x00, 0x30, 0x46, 0x02, 0x21, 0x00, 0xd1, 0x0a, 0x10, 0x07, 0xde, 0x3b, 0x80, 0x72, 0xa0, 0xba, 0x5a, 0x92, + 0x09, 0x39, 0x42, 0xf0, 0xe8, 0x87, 0x1e, 0x2b, 0x0a, 0x6c, 0x6c, 0x9f, 0x23, 0x3a, 0x4a, 0xde, 0x10, 0x02, 0xd4, 0x0c, 0x02, + 0x21, 0x00, 0xef, 0x45, 0xe8, 0xe1, 0xe3, 0x1a, 0x81, 0x67, 0x9a, 0xf3, 0x83, 0x17, 0xd0, 0x1f, 0xd0, 0x66, 0xa7, 0x09, 0x30, + 0x31, 0x96, 0x7c, 0x24, 0x50, 0x6d, 0x14, 0x8c, 0xb0, 0x14, 0x94, 0x09, 0x95, +}; +const uint8_t sChipTest_ICAC_Sig_Algo_ECDSA_With_SHA1_Cert_DER[448] = { + 0x30, 0x82, 0x01, 0xbc, 0x30, 0x82, 0x01, 0x64, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x12, 0x9c, 0xc3, 0x5f, 0x07, 0x99, + 0x6e, 0xc8, 0x30, 0x09, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x01, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, + 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, + 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, 0x31, + 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, + 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, + 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0xa5, 0x05, 0xc1, 0x00, 0xd0, 0xec, 0xe9, 0x1d, 0x25, 0x6c, 0xeb, + 0x74, 0xe2, 0x22, 0xc9, 0x3a, 0x56, 0x8c, 0x9a, 0x35, 0xc8, 0xf6, 0xd0, 0xc0, 0xb1, 0x07, 0x1c, 0x58, 0x45, 0xb4, 0xf2, 0x5b, + 0x8a, 0x9e, 0xba, 0xf5, 0xa6, 0x67, 0x2d, 0xb5, 0x7c, 0xd6, 0xf6, 0x66, 0x9c, 0xc8, 0x8e, 0xe9, 0x5a, 0x03, 0xd2, 0x83, 0xf5, + 0xaa, 0x12, 0xb6, 0x98, 0x86, 0x87, 0x64, 0x3a, 0xdd, 0xd1, 0x74, 0xa3, 0x63, 0x30, 0x61, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, + 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, + 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0x69, 0xdf, 0xa6, 0xa0, + 0x81, 0xe0, 0x66, 0x3f, 0xc9, 0x9a, 0x12, 0x82, 0x6a, 0x0a, 0x09, 0x62, 0x4b, 0x26, 0x38, 0x06, 0x30, 0x1f, 0x06, 0x03, 0x55, + 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, + 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x30, 0x09, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x01, 0x03, 0x47, 0x00, + 0x30, 0x44, 0x02, 0x20, 0x47, 0xbc, 0x67, 0x96, 0xab, 0x72, 0x85, 0x58, 0x6c, 0x94, 0x61, 0xda, 0xa7, 0xfa, 0xf3, 0x9d, 0x26, + 0x22, 0xc5, 0x73, 0xe9, 0x2d, 0xec, 0x51, 0xec, 0xcb, 0x7b, 0xdb, 0xe2, 0x75, 0x20, 0x23, 0x02, 0x20, 0x67, 0x2f, 0x85, 0x26, + 0x5c, 0xd2, 0x80, 0xf7, 0xea, 0xa1, 0x5f, 0x83, 0x9b, 0x79, 0x77, 0xd0, 0x8b, 0x4d, 0x4e, 0x6e, 0xc3, 0x79, 0xd9, 0x02, 0x7c, + 0xdf, 0xdd, 0xf7, 0xe2, 0xc4, 0x09, 0xbf, +}; +const uint8_t sChipTest_RCAC_Sig_Algo_ECDSA_With_SHA1_Cert_DER[414] = { + 0x30, 0x82, 0x01, 0x9a, 0x30, 0x82, 0x01, 0x42, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x03, 0x3c, 0xc8, 0x89, 0xd7, 0xa4, + 0x02, 0x55, 0x30, 0x09, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x01, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, + 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, + 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x22, 0x31, + 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, + 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, + 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0xaa, 0xa9, 0x86, + 0xb2, 0x65, 0x3d, 0x7c, 0x33, 0xec, 0xe1, 0xa9, 0x6c, 0x76, 0xb1, 0xce, 0x5c, 0xd8, 0x6b, 0x07, 0xf5, 0x65, 0x98, 0x5e, 0xb3, + 0x27, 0x56, 0x53, 0x84, 0xdf, 0x76, 0x01, 0x5b, 0xe1, 0xd1, 0x5c, 0x6d, 0xeb, 0xc0, 0x06, 0x8e, 0xd8, 0xb1, 0x80, 0xf6, 0xbf, + 0x41, 0x90, 0x0d, 0x03, 0xed, 0x9b, 0xc7, 0x0e, 0x36, 0x46, 0x23, 0xc9, 0x06, 0xff, 0x48, 0x1a, 0xb6, 0xa0, 0x52, 0xa3, 0x63, + 0x30, 0x61, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, + 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, + 0x04, 0x16, 0x04, 0x14, 0xfd, 0x63, 0x34, 0xaa, 0xbe, 0x8e, 0x66, 0xb0, 0xe8, 0x31, 0xb4, 0x12, 0xa0, 0x96, 0xe7, 0x2e, 0x8b, + 0xed, 0x49, 0x27, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xfd, 0x63, 0x34, 0xaa, 0xbe, + 0x8e, 0x66, 0xb0, 0xe8, 0x31, 0xb4, 0x12, 0xa0, 0x96, 0xe7, 0x2e, 0x8b, 0xed, 0x49, 0x27, 0x30, 0x09, 0x06, 0x07, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x04, 0x01, 0x03, 0x47, 0x00, 0x30, 0x44, 0x02, 0x20, 0x06, 0xa8, 0x1d, 0xae, 0x87, 0xd1, 0xa9, 0x9f, 0x23, + 0xa3, 0x27, 0x8b, 0x25, 0x53, 0x9d, 0xdc, 0x0c, 0x7f, 0xaa, 0x6a, 0xe8, 0x41, 0xf1, 0xe2, 0x40, 0xf3, 0x40, 0x17, 0xc8, 0xf4, + 0x35, 0x0b, 0x02, 0x20, 0x76, 0xc8, 0xfe, 0x24, 0x6f, 0xc5, 0x1f, 0x27, 0x77, 0x23, 0x00, 0x93, 0x72, 0xb4, 0x2b, 0x46, 0xca, + 0xfa, 0x47, 0x90, 0x0c, 0xdb, 0xd2, 0x23, 0x8a, 0x01, 0x1b, 0xb5, 0xed, 0x61, 0xb7, 0x1d, +}; +const uint8_t sChipTest_NOC_Validity_Not_Before_Missing_Cert_DER[505] = { + 0x30, 0x82, 0x01, 0xf5, 0x30, 0x82, 0x01, 0x9b, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x07, 0x7c, 0x49, 0xae, 0xb5, 0x1d, + 0xd2, 0x9d, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, + 0x30, 0x11, 0x1f, 0x00, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x01, 0x0c, 0x10, 0x44, 0x45, 0x44, + 0x45, 0x44, 0x45, 0x44, 0x45, 0x30, 0x30, 0x30, 0x31, 0x30, 0x30, 0x30, 0x31, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0xa5, 0x5a, 0xa3, 0x1b, 0x45, 0x6d, 0x9f, 0x67, 0xf8, 0x3f, + 0xd4, 0x37, 0xd6, 0x50, 0x9f, 0x43, 0xce, 0x0f, 0x27, 0x2e, 0x10, 0xcc, 0x88, 0xd0, 0xa2, 0x28, 0x9f, 0x11, 0xb3, 0x3b, 0x8b, + 0xca, 0x38, 0x68, 0xf8, 0x99, 0x65, 0xdb, 0xf8, 0x47, 0xfb, 0xef, 0x5e, 0x78, 0x11, 0xfe, 0xcf, 0xd5, 0xd9, 0xc5, 0x72, 0x75, + 0x77, 0xae, 0x41, 0x25, 0xdf, 0x0f, 0xc5, 0xe3, 0x80, 0xae, 0xdf, 0x16, 0xa3, 0x81, 0x83, 0x30, 0x81, 0x80, 0x30, 0x0c, 0x06, + 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x02, 0x30, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, + 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x20, 0x06, 0x03, 0x55, 0x1d, 0x25, 0x01, 0x01, 0xff, 0x04, 0x16, 0x30, 0x14, 0x06, + 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x02, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x1d, + 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0xfd, 0x46, 0x3d, 0xc5, 0xec, 0xa2, 0xa0, 0xcf, 0x22, 0x80, 0xd1, 0x19, + 0x7d, 0x9a, 0x43, 0x99, 0xfa, 0xdc, 0x61, 0x82, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, + 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x30, + 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, 0x21, 0x00, 0xe4, 0x1d, + 0xcf, 0xbf, 0x71, 0xd6, 0xc3, 0x07, 0xac, 0x24, 0x3c, 0x8c, 0x03, 0x82, 0xd4, 0xe3, 0x80, 0x2f, 0x24, 0x09, 0x33, 0x56, 0x70, + 0xc2, 0xc2, 0x2f, 0xc8, 0x11, 0x34, 0x3a, 0xec, 0xc4, 0x02, 0x20, 0x42, 0x74, 0x86, 0x5d, 0x9d, 0x88, 0xad, 0x5d, 0x12, 0x36, + 0xa6, 0x82, 0x29, 0x67, 0x12, 0xcc, 0xf4, 0xd5, 0x45, 0x6c, 0x45, 0x29, 0x4c, 0xed, 0xc6, 0x9d, 0x7c, 0xa5, 0xa0, 0x7b, 0xa7, + 0x0a, +}; +const uint8_t sChipTest_ICAC_Validity_Not_Before_Missing_Cert_DER[439] = { + 0x30, 0x82, 0x01, 0xb3, 0x30, 0x82, 0x01, 0x58, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x78, 0x68, 0xde, 0xa3, 0xa2, 0x27, + 0x1a, 0x68, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x11, 0x1f, 0x00, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, + 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x6b, 0x25, + 0x1e, 0x06, 0x1f, 0x6b, 0x1a, 0x11, 0xef, 0x2a, 0xc7, 0xd4, 0xfd, 0xd5, 0x4f, 0x5e, 0x3b, 0x12, 0xf9, 0xca, 0x34, 0xcf, 0xe4, + 0xaa, 0x9b, 0xf3, 0xc0, 0xe3, 0x9b, 0x2d, 0xa3, 0x89, 0x42, 0x36, 0x18, 0x8d, 0x1e, 0xc6, 0x46, 0x35, 0x2d, 0xda, 0xf9, 0x43, + 0x47, 0xf7, 0xe7, 0x85, 0xc7, 0x25, 0x51, 0xf9, 0x06, 0x90, 0x21, 0x9d, 0xec, 0xe3, 0xf6, 0xdc, 0x2d, 0xd7, 0x77, 0xff, 0xa3, + 0x63, 0x30, 0x61, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, + 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, + 0x0e, 0x04, 0x16, 0x04, 0x14, 0x5e, 0xe8, 0x3f, 0x1d, 0x7b, 0x2f, 0xb1, 0xf6, 0x49, 0xc8, 0x09, 0x4f, 0x83, 0xc6, 0xd0, 0x0a, + 0x39, 0x3a, 0xf1, 0x1e, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xcc, 0x13, 0x08, 0xaf, + 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x30, 0x0a, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x49, 0x00, 0x30, 0x46, 0x02, 0x21, 0x00, 0xad, 0x03, 0xbd, 0x32, 0xfa, 0x7d, + 0x82, 0xff, 0x59, 0xb0, 0x47, 0x7b, 0x08, 0xfc, 0x4e, 0x11, 0xc5, 0x16, 0x64, 0xf5, 0xb1, 0xb3, 0x92, 0x2b, 0x6e, 0xf8, 0x07, + 0x2e, 0x5f, 0xc1, 0xd8, 0x87, 0x02, 0x21, 0x00, 0xf9, 0x8f, 0xe5, 0x47, 0xa2, 0x00, 0x9f, 0x98, 0x37, 0x44, 0x57, 0xe6, 0x08, + 0x21, 0x01, 0xa2, 0xf3, 0xc1, 0x41, 0x01, 0xbf, 0x85, 0x02, 0x89, 0x35, 0xee, 0x40, 0xb5, 0x2b, 0x16, 0x2c, 0x8c, +}; +const uint8_t sChipTest_RCAC_Validity_Not_Before_Missing_Cert_DER[404] = { + 0x30, 0x82, 0x01, 0x90, 0x30, 0x82, 0x01, 0x36, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x73, 0xf6, 0x4b, 0x8f, 0x06, 0x4c, + 0x3c, 0x68, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x11, 0x1f, 0x00, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, + 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, + 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, + 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x69, 0x97, 0xef, 0x79, 0xd0, 0x40, 0x97, 0x5c, 0xb5, 0x5a, 0xd3, 0x88, 0xef, 0xee, 0x62, + 0x0c, 0x70, 0x7d, 0xf6, 0xb0, 0xdb, 0x8c, 0xe8, 0xd9, 0xa2, 0xb9, 0x3f, 0xc0, 0x9d, 0xe2, 0x68, 0x83, 0x38, 0x5b, 0x55, 0x1b, + 0xe1, 0x24, 0x1d, 0x61, 0xf6, 0x19, 0x0c, 0x99, 0x22, 0xc4, 0x10, 0x79, 0x0f, 0x45, 0x64, 0xcb, 0x5a, 0xec, 0xa7, 0x0a, 0xd5, + 0xa9, 0xf1, 0xd5, 0x82, 0x80, 0x6e, 0x8e, 0xa3, 0x63, 0x30, 0x61, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, + 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, + 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0xf4, 0x93, 0xff, 0x35, 0x56, 0xe8, 0xde, 0xcf, + 0xb8, 0xc8, 0xe7, 0x5e, 0xa0, 0x10, 0xae, 0xae, 0xc1, 0xe3, 0xb7, 0x9e, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, + 0x30, 0x16, 0x80, 0x14, 0xf4, 0x93, 0xff, 0x35, 0x56, 0xe8, 0xde, 0xcf, 0xb8, 0xc8, 0xe7, 0x5e, 0xa0, 0x10, 0xae, 0xae, 0xc1, + 0xe3, 0xb7, 0x9e, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, + 0x20, 0x04, 0x0d, 0xaa, 0xb2, 0x8a, 0x4b, 0x4e, 0x52, 0x8a, 0xc0, 0xd8, 0x50, 0x26, 0x7e, 0x12, 0x66, 0xa4, 0x2f, 0x29, 0x43, + 0xed, 0x7f, 0x9d, 0x1d, 0xde, 0x22, 0x49, 0xd6, 0xd3, 0x35, 0xad, 0xa3, 0x02, 0x21, 0x00, 0x9b, 0x12, 0x47, 0x62, 0xbf, 0xf8, + 0x11, 0xad, 0x41, 0x17, 0xcb, 0x19, 0xd2, 0xcc, 0x6d, 0xc6, 0x3e, 0xd6, 0x87, 0x4f, 0x2f, 0x7d, 0x53, 0x7d, 0x5c, 0xd7, 0x5e, + 0xa7, 0xf1, 0xe1, 0x74, 0xc2, +}; +const uint8_t sChipTest_NOC_Validity_Not_After_Missing_Cert_DER[506] = { + 0x30, 0x82, 0x01, 0xf6, 0x30, 0x82, 0x01, 0x9b, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x1e, 0xb7, 0xb3, 0x65, 0x04, 0x23, + 0x1c, 0x61, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, + 0x30, 0x11, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x1f, 0x00, 0x30, 0x44, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x01, 0x0c, 0x10, 0x44, 0x45, 0x44, + 0x45, 0x44, 0x45, 0x44, 0x45, 0x30, 0x30, 0x30, 0x31, 0x30, 0x30, 0x30, 0x31, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0xe4, 0x58, 0x38, 0x40, 0x0d, 0x85, 0xb1, 0x69, 0xad, 0xcf, + 0xd9, 0x9e, 0x7c, 0x59, 0x14, 0x21, 0x81, 0x06, 0x57, 0x7a, 0xf9, 0x15, 0x41, 0x0e, 0xb7, 0x9a, 0x4f, 0x0c, 0xfa, 0x8f, 0xc4, + 0xda, 0xc6, 0x08, 0x49, 0x1f, 0xa8, 0xf1, 0x0e, 0x2e, 0x20, 0x09, 0x0d, 0xa8, 0x8d, 0x78, 0xb2, 0xd8, 0x4b, 0xfa, 0x94, 0xc9, + 0xd1, 0x61, 0x3b, 0x3a, 0x7c, 0x79, 0xd3, 0x74, 0x3b, 0xef, 0x4a, 0x09, 0xa3, 0x81, 0x83, 0x30, 0x81, 0x80, 0x30, 0x0c, 0x06, + 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x02, 0x30, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, + 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x20, 0x06, 0x03, 0x55, 0x1d, 0x25, 0x01, 0x01, 0xff, 0x04, 0x16, 0x30, 0x14, 0x06, + 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x02, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x1d, + 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0xb5, 0x91, 0xa3, 0x35, 0xbe, 0xec, 0xae, 0x9b, 0x2e, 0xea, 0x96, 0x4c, + 0xfa, 0xb7, 0xc2, 0x58, 0x5f, 0x27, 0xfe, 0x4a, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, + 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x30, + 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x49, 0x00, 0x30, 0x46, 0x02, 0x21, 0x00, 0x83, 0x7d, + 0xdb, 0x82, 0xc9, 0xff, 0x7a, 0xbd, 0x70, 0xf1, 0xa5, 0x98, 0x9f, 0xcb, 0xdd, 0xf9, 0xfd, 0x37, 0x7f, 0xd9, 0x81, 0x9b, 0x8b, + 0x62, 0x3c, 0xb9, 0xed, 0xc2, 0xc4, 0xca, 0x35, 0x56, 0x02, 0x21, 0x00, 0x86, 0x22, 0x4b, 0xd1, 0x2e, 0xdf, 0x2f, 0x7d, 0xaf, + 0xe5, 0xbc, 0x9b, 0x96, 0xcb, 0xd9, 0xf8, 0x3b, 0xc4, 0x17, 0x81, 0x48, 0xe7, 0x23, 0xf5, 0xe1, 0x8c, 0x27, 0x75, 0x12, 0x57, + 0x49, 0xe5, +}; +const uint8_t sChipTest_ICAC_Validity_Not_After_Missing_Cert_DER[439] = { + 0x30, 0x82, 0x01, 0xb3, 0x30, 0x82, 0x01, 0x58, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x0e, 0x1f, 0x6a, 0x42, 0xe0, 0x60, + 0x2c, 0x89, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x11, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x1f, 0x00, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x73, 0x59, + 0x22, 0x15, 0x38, 0xdc, 0x6d, 0x19, 0x7f, 0x45, 0xda, 0xe8, 0xb0, 0x8b, 0x19, 0x5e, 0x12, 0xa2, 0xa0, 0x4c, 0xe0, 0x73, 0xee, + 0xae, 0x30, 0xa0, 0x35, 0xcf, 0x5e, 0xfb, 0xbb, 0x5b, 0xd7, 0x85, 0xa9, 0x59, 0xd5, 0xe3, 0x97, 0x96, 0x41, 0x76, 0x68, 0x84, + 0x9b, 0x6f, 0xe5, 0x9e, 0xef, 0xbf, 0x80, 0x3a, 0x93, 0xd8, 0x46, 0x3c, 0x16, 0xc2, 0x23, 0xb1, 0xc9, 0x48, 0x56, 0x93, 0xa3, + 0x63, 0x30, 0x61, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, + 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, + 0x0e, 0x04, 0x16, 0x04, 0x14, 0x75, 0xe3, 0x64, 0xc1, 0x48, 0x03, 0xd0, 0x3d, 0x32, 0xf1, 0xbc, 0xc9, 0x0e, 0xfb, 0xc1, 0x1a, + 0xb5, 0xbc, 0x7e, 0xeb, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xcc, 0x13, 0x08, 0xaf, + 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x30, 0x0a, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x49, 0x00, 0x30, 0x46, 0x02, 0x21, 0x00, 0xd8, 0xcb, 0x88, 0xdd, 0x37, 0x14, + 0xcd, 0xd9, 0x57, 0x12, 0xab, 0x31, 0x49, 0xad, 0x62, 0x86, 0x81, 0xab, 0x13, 0x51, 0xef, 0xee, 0x1b, 0xed, 0x00, 0x4b, 0xf8, + 0xc3, 0xd8, 0x0d, 0x2c, 0xaa, 0x02, 0x21, 0x00, 0x98, 0x7b, 0xa6, 0x83, 0xe1, 0xdf, 0x2e, 0x4d, 0x5e, 0x86, 0x9d, 0x57, 0x17, + 0xdd, 0xb2, 0x27, 0x78, 0xd8, 0x42, 0x02, 0x17, 0x1d, 0xe3, 0x2a, 0x36, 0xa0, 0xbf, 0x9a, 0xf7, 0x75, 0xcf, 0xa1, +}; +const uint8_t sChipTest_RCAC_Validity_Not_After_Missing_Cert_DER[403] = { + 0x30, 0x82, 0x01, 0x8f, 0x30, 0x82, 0x01, 0x36, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x4f, 0xb4, 0x4b, 0x3b, 0x80, 0xb4, + 0x1d, 0x43, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x11, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x1f, 0x00, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, + 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, + 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0xb0, 0x10, 0xae, 0xe4, 0x06, 0x15, 0xef, 0x5e, 0xe9, 0xba, 0xc4, 0x6f, 0xd2, 0x96, 0x5e, + 0xc1, 0xbe, 0x02, 0x6a, 0xbd, 0x40, 0x2f, 0xc8, 0x55, 0xa0, 0xd7, 0xfe, 0x85, 0x36, 0x6c, 0x3b, 0xe6, 0xa8, 0x8b, 0xa9, 0xee, + 0xcd, 0x91, 0x0d, 0xc6, 0x4c, 0x1f, 0x3d, 0x76, 0x9e, 0xa7, 0x84, 0xc4, 0x9b, 0x77, 0x91, 0xbb, 0x10, 0xd4, 0xb4, 0x46, 0x43, + 0xe0, 0x67, 0xcf, 0x27, 0xe7, 0x92, 0x21, 0xa3, 0x63, 0x30, 0x61, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, + 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, + 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0x8a, 0xde, 0xe5, 0x10, 0x77, 0xf7, 0x09, 0x15, + 0xc5, 0xed, 0xa3, 0x60, 0xb5, 0x28, 0xf2, 0x96, 0xbc, 0xc7, 0x0f, 0x25, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, + 0x30, 0x16, 0x80, 0x14, 0x8a, 0xde, 0xe5, 0x10, 0x77, 0xf7, 0x09, 0x15, 0xc5, 0xed, 0xa3, 0x60, 0xb5, 0x28, 0xf2, 0x96, 0xbc, + 0xc7, 0x0f, 0x25, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x47, 0x00, 0x30, 0x44, 0x02, + 0x20, 0x60, 0x14, 0x61, 0xac, 0xac, 0x6a, 0x74, 0x71, 0x72, 0xad, 0xb8, 0x06, 0x99, 0x1f, 0x93, 0x06, 0x35, 0xeb, 0xf5, 0x1d, + 0x33, 0x3b, 0xe9, 0x3d, 0x0c, 0xf4, 0xa0, 0x02, 0xca, 0xf8, 0x57, 0x4b, 0x02, 0x20, 0x5f, 0x6b, 0xb7, 0x29, 0x84, 0xc4, 0xf4, + 0xd6, 0x12, 0x9b, 0x4f, 0xe0, 0xf5, 0x98, 0x39, 0xa2, 0xb2, 0x9a, 0x15, 0xd6, 0x2e, 0x30, 0x7d, 0xdd, 0x81, 0x96, 0x40, 0x82, + 0xdd, 0x2d, 0x57, 0xea, +}; +const uint8_t sChipTest_NOC_Validity_Wrong_Cert_DER[519] = { + 0x30, 0x82, 0x02, 0x03, 0x30, 0x82, 0x01, 0xa8, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x07, 0x1a, 0x0d, 0x2e, 0x3a, 0xe6, + 0xdd, 0xad, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, + 0x30, 0x1e, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x17, 0x0d, 0x32, 0x30, + 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x01, 0x0c, 0x10, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x30, 0x30, 0x30, + 0x31, 0x30, 0x30, 0x30, 0x31, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, + 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, + 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, + 0x42, 0x00, 0x04, 0x7b, 0x15, 0xb0, 0x71, 0x98, 0x87, 0x1c, 0x1a, 0x8a, 0xc1, 0xba, 0xd5, 0x5a, 0xb4, 0xf7, 0x94, 0xef, 0x2b, + 0x19, 0xff, 0x25, 0x58, 0x5f, 0x01, 0x93, 0xd4, 0x2a, 0x6f, 0x0a, 0x3b, 0x7d, 0xfb, 0x41, 0x11, 0x8a, 0x00, 0x65, 0x09, 0xd4, + 0x29, 0x13, 0x31, 0x51, 0x52, 0x99, 0x87, 0xa6, 0x4b, 0x3f, 0xf7, 0x78, 0x51, 0x80, 0x57, 0x9f, 0x5d, 0x6f, 0x5f, 0x38, 0xd2, + 0x33, 0x60, 0xaf, 0x2b, 0xa3, 0x81, 0x83, 0x30, 0x81, 0x80, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, + 0x02, 0x30, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x20, + 0x06, 0x03, 0x55, 0x1d, 0x25, 0x01, 0x01, 0xff, 0x04, 0x16, 0x30, 0x14, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, + 0x02, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, + 0x14, 0x6e, 0xb8, 0x91, 0xe7, 0x30, 0xdf, 0xa4, 0x2c, 0xcd, 0xbe, 0xca, 0xa5, 0x13, 0x30, 0xfd, 0xc3, 0x92, 0x9d, 0xb2, 0xd4, + 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, + 0x74, 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, + 0x04, 0x03, 0x02, 0x03, 0x49, 0x00, 0x30, 0x46, 0x02, 0x21, 0x00, 0xf0, 0x21, 0x69, 0xea, 0x95, 0x22, 0x3e, 0x4b, 0x8b, 0xfa, + 0x80, 0x15, 0xeb, 0x89, 0x90, 0x1d, 0xd1, 0xba, 0x75, 0x8a, 0x30, 0xf0, 0x8f, 0xa1, 0xd6, 0x26, 0x8d, 0x25, 0x98, 0xef, 0xe3, + 0xb9, 0x02, 0x21, 0x00, 0xf1, 0x4b, 0xe8, 0xc0, 0x8b, 0x8c, 0xea, 0x25, 0x37, 0x61, 0x76, 0x00, 0x17, 0x67, 0x01, 0x90, 0x15, + 0x5e, 0xbd, 0x31, 0xe9, 0xde, 0x2f, 0x15, 0x8c, 0x52, 0xea, 0x42, 0x31, 0x9d, 0x51, 0x67, +}; +const uint8_t sChipTest_ICAC_Validity_Wrong_Cert_DER[451] = { + 0x30, 0x82, 0x01, 0xbf, 0x30, 0x82, 0x01, 0x65, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x11, 0xab, 0xf1, 0x4a, 0x5e, 0xea, + 0xe0, 0x9f, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x32, 0x5a, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x30, 0x44, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x7d, 0xab, 0x83, 0x1d, 0xfe, 0xe2, 0x75, 0x6c, 0x40, 0xf8, + 0x24, 0xaf, 0x04, 0xc5, 0xff, 0xce, 0xd7, 0x05, 0xfa, 0x01, 0x37, 0x54, 0xcc, 0x8f, 0xd3, 0x07, 0xc9, 0xa9, 0x0d, 0x24, 0x49, + 0x2b, 0x2c, 0xa2, 0xff, 0x34, 0xf7, 0x45, 0xa6, 0xc1, 0x0b, 0x71, 0x9f, 0x8b, 0x79, 0xc7, 0x21, 0xe8, 0x4c, 0xb7, 0x7a, 0x78, + 0xaf, 0x29, 0xde, 0xe3, 0x5f, 0xfd, 0x5f, 0xe1, 0x3a, 0x9c, 0x3f, 0x51, 0xa3, 0x63, 0x30, 0x61, 0x30, 0x0f, 0x06, 0x03, 0x55, + 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, + 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0x41, 0xb7, 0xec, + 0x9b, 0x99, 0xf7, 0xfd, 0xe1, 0x3e, 0xc8, 0x35, 0x31, 0x0b, 0x4c, 0x49, 0x46, 0x47, 0x6c, 0x05, 0xeb, 0x30, 0x1f, 0x06, 0x03, + 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, + 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, + 0x48, 0x00, 0x30, 0x45, 0x02, 0x20, 0x3d, 0x74, 0xae, 0x91, 0x13, 0x79, 0xfa, 0x6a, 0x61, 0x5b, 0x4d, 0x5e, 0xe3, 0xba, 0x27, + 0xd6, 0x59, 0x9f, 0x94, 0x82, 0x1b, 0x70, 0xb1, 0x6b, 0xb8, 0xd2, 0x08, 0x31, 0x13, 0xb2, 0x0d, 0xa9, 0x02, 0x21, 0x00, 0xaf, + 0x10, 0xda, 0x6d, 0xd5, 0x00, 0x9f, 0x37, 0x7a, 0xb5, 0x04, 0x2c, 0xec, 0xea, 0x83, 0xae, 0xa0, 0xc8, 0x58, 0xf3, 0x7a, 0xa8, + 0x6f, 0xab, 0xae, 0xf9, 0x81, 0x9b, 0x44, 0x9e, 0x1c, 0x42, +}; +const uint8_t sChipTest_RCAC_Validity_Wrong_Cert_DER[417] = { + 0x30, 0x82, 0x01, 0x9d, 0x30, 0x82, 0x01, 0x43, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x15, 0x1e, 0x66, 0x2c, 0x5a, 0xe3, + 0x26, 0x41, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x32, 0x5a, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x30, 0x22, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x2e, 0x98, + 0xed, 0x53, 0xdc, 0x43, 0x76, 0xfd, 0x7d, 0xe7, 0xa6, 0x2b, 0x60, 0x7a, 0xff, 0x93, 0x05, 0x64, 0x5f, 0x3f, 0x9a, 0x7a, 0xef, + 0x6e, 0xf4, 0x65, 0x36, 0x8e, 0xe3, 0xb3, 0x1e, 0xd2, 0xc1, 0x95, 0xce, 0x19, 0xbe, 0x86, 0x11, 0xda, 0xd2, 0x35, 0x58, 0x24, + 0x29, 0xe2, 0xbf, 0x58, 0xd3, 0xd7, 0xec, 0x6a, 0x9f, 0x3c, 0x84, 0x8c, 0xfd, 0xee, 0xe7, 0x40, 0x68, 0x7e, 0x2e, 0xce, 0xa3, + 0x63, 0x30, 0x61, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, + 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, + 0x0e, 0x04, 0x16, 0x04, 0x14, 0x97, 0x2f, 0x3e, 0xa1, 0xb8, 0x61, 0x62, 0x30, 0xf4, 0x41, 0x18, 0x6a, 0xc3, 0x06, 0xf0, 0x7e, + 0xfa, 0x10, 0xaf, 0x12, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0x97, 0x2f, 0x3e, 0xa1, + 0xb8, 0x61, 0x62, 0x30, 0xf4, 0x41, 0x18, 0x6a, 0xc3, 0x06, 0xf0, 0x7e, 0xfa, 0x10, 0xaf, 0x12, 0x30, 0x0a, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, 0x20, 0x32, 0xbf, 0xf6, 0x42, 0x2e, 0x42, 0x8e, + 0x5a, 0x9d, 0x60, 0x2c, 0xe2, 0x12, 0xca, 0x95, 0xb0, 0xea, 0xc4, 0x33, 0xae, 0x25, 0x9e, 0xf0, 0x64, 0x83, 0x9d, 0x4a, 0x54, + 0x10, 0xe8, 0x14, 0xee, 0x02, 0x21, 0x00, 0xab, 0x6c, 0x21, 0xe1, 0x23, 0xe4, 0x97, 0xb6, 0x22, 0x08, 0x03, 0x47, 0xc6, 0x38, + 0xa6, 0x92, 0xdd, 0x82, 0x16, 0xdd, 0x1b, 0x28, 0xb5, 0xfe, 0xd9, 0x8c, 0x24, 0x01, 0xa6, 0x2a, 0xfb, 0xfa, +}; +const uint8_t sChipTest_NOC_Subject_NodeId_Invalid_Cert_DER[517] = { + 0x30, 0x82, 0x02, 0x01, 0x30, 0x82, 0x01, 0xa8, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x01, 0x99, 0x58, 0x3f, 0x2d, 0xf3, + 0x3a, 0xd9, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, + 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, + 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x01, 0x0c, 0x10, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x30, 0x39, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, + 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, + 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, + 0x42, 0x00, 0x04, 0xe1, 0xce, 0xf3, 0xe2, 0xff, 0x20, 0x70, 0x19, 0x99, 0x79, 0x94, 0x3c, 0x6d, 0x2e, 0x24, 0xe6, 0x62, 0x5a, + 0xe2, 0xbc, 0xd4, 0x8c, 0x7b, 0x99, 0x5d, 0xf1, 0x5d, 0x34, 0x0e, 0x38, 0x20, 0xa2, 0x07, 0x4b, 0x67, 0x07, 0x5c, 0x4e, 0x9f, + 0x93, 0xa2, 0x6a, 0xbe, 0x22, 0x90, 0x0f, 0x96, 0x0b, 0xce, 0x59, 0x23, 0x7e, 0x7f, 0x97, 0xed, 0x96, 0x4a, 0xda, 0x50, 0x38, + 0xed, 0xff, 0xfc, 0x2c, 0xa3, 0x81, 0x83, 0x30, 0x81, 0x80, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, + 0x02, 0x30, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x20, + 0x06, 0x03, 0x55, 0x1d, 0x25, 0x01, 0x01, 0xff, 0x04, 0x16, 0x30, 0x14, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, + 0x02, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, + 0x14, 0xef, 0x38, 0x19, 0x8f, 0xc5, 0x58, 0x2c, 0x47, 0x93, 0xe2, 0xdf, 0x80, 0xa4, 0x58, 0xb7, 0x4e, 0xf8, 0xd0, 0x5f, 0x4d, + 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, + 0x74, 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, + 0x04, 0x03, 0x02, 0x03, 0x47, 0x00, 0x30, 0x44, 0x02, 0x20, 0x65, 0xbe, 0x87, 0x58, 0xcd, 0x7d, 0xf4, 0xc4, 0x62, 0x87, 0xaf, + 0xd8, 0xbc, 0xb2, 0x37, 0x13, 0x5a, 0x9c, 0xb9, 0xe5, 0x7c, 0xf2, 0x0a, 0xd0, 0x04, 0xb8, 0xe9, 0x30, 0x48, 0x4c, 0x65, 0x74, + 0x02, 0x20, 0x32, 0x56, 0x57, 0x69, 0x7c, 0xd2, 0xfe, 0x21, 0xf6, 0xd1, 0xef, 0xfc, 0x78, 0x13, 0x84, 0xf8, 0xf3, 0x05, 0x97, + 0x91, 0x85, 0xc0, 0x83, 0x71, 0xe8, 0x7f, 0xf7, 0xc4, 0xf5, 0x87, 0xee, 0x2a, +}; +const uint8_t sChipTest_NOC_Subject_FabricId_Invalid_Cert_DER[518] = { + 0x30, 0x82, 0x02, 0x02, 0x30, 0x82, 0x01, 0xa8, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x19, 0x34, 0xc8, 0x20, 0x88, 0x8c, + 0x65, 0xec, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, + 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, + 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x01, 0x0c, 0x10, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x30, 0x30, 0x30, + 0x31, 0x30, 0x30, 0x30, 0x31, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, + 0x0c, 0x10, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x59, 0x30, + 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, + 0x42, 0x00, 0x04, 0x19, 0xc5, 0xc2, 0xcc, 0x0c, 0xce, 0x12, 0x23, 0xf7, 0x63, 0x5e, 0x25, 0x3b, 0x24, 0x1d, 0xab, 0xc9, 0x7c, + 0x71, 0xbf, 0x72, 0x9d, 0xd9, 0x1f, 0x18, 0x2d, 0xf9, 0x76, 0xc9, 0x37, 0xa1, 0x80, 0x75, 0x13, 0x9f, 0x7a, 0xb5, 0x57, 0x2c, + 0xbc, 0x4d, 0xd6, 0x7a, 0x5f, 0x32, 0xc0, 0xbf, 0x71, 0x16, 0x04, 0x07, 0xcb, 0x1f, 0xe3, 0x68, 0x9d, 0x23, 0x63, 0x29, 0x7d, + 0x2d, 0xc1, 0xf8, 0xcd, 0xa3, 0x81, 0x83, 0x30, 0x81, 0x80, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, + 0x02, 0x30, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x20, + 0x06, 0x03, 0x55, 0x1d, 0x25, 0x01, 0x01, 0xff, 0x04, 0x16, 0x30, 0x14, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, + 0x02, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, + 0x14, 0x83, 0x41, 0x7f, 0xc4, 0x8a, 0x97, 0xd2, 0x19, 0x94, 0xa3, 0xaa, 0xb9, 0xec, 0x90, 0x54, 0xfe, 0xe4, 0x1f, 0x7b, 0x0a, + 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, + 0x74, 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, + 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, 0x21, 0x00, 0xe5, 0x50, 0xe8, 0xa8, 0x1b, 0x98, 0x38, 0x33, 0xcf, 0x87, + 0xfd, 0xdd, 0xc1, 0x5f, 0x86, 0x72, 0x10, 0x86, 0xe0, 0x83, 0xdd, 0xe2, 0xc2, 0x2b, 0x75, 0x5c, 0x69, 0x59, 0xab, 0xe8, 0xcd, + 0xbf, 0x02, 0x20, 0x1b, 0x7a, 0x97, 0x4b, 0x37, 0x69, 0x88, 0x56, 0xb9, 0x62, 0x34, 0xd6, 0x3e, 0xf7, 0x56, 0x50, 0x1c, 0x29, + 0x47, 0x6e, 0x27, 0xe8, 0xd9, 0x71, 0x34, 0xfd, 0xcb, 0xc8, 0xdb, 0x52, 0xef, 0xd6, +}; +const uint8_t sChipTest_ICAC_Subject_FabricId_Invalid_Cert_DER[451] = { + 0x30, 0x82, 0x01, 0xbf, 0x30, 0x82, 0x01, 0x65, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x57, 0x10, 0x4f, 0x1a, 0x7a, 0xf2, + 0x77, 0x1a, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x5e, 0x6d, 0xb7, 0x9d, 0x12, 0xfb, 0x13, 0x18, 0xd6, 0xba, + 0x6a, 0xd9, 0x25, 0x20, 0x3d, 0xb9, 0x77, 0x9b, 0x21, 0x2f, 0x31, 0xa0, 0x49, 0xfc, 0xdd, 0x31, 0x67, 0x38, 0xe5, 0x53, 0x47, + 0x61, 0xce, 0x23, 0x57, 0xd7, 0xbc, 0x7a, 0xf3, 0x14, 0x41, 0xc0, 0x93, 0xc2, 0xee, 0xff, 0xee, 0xb1, 0xc5, 0xdd, 0x5b, 0x32, + 0x34, 0xa2, 0xdc, 0x68, 0x90, 0xd9, 0x40, 0xe8, 0x64, 0xa8, 0x95, 0x0f, 0xa3, 0x63, 0x30, 0x61, 0x30, 0x0f, 0x06, 0x03, 0x55, + 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, + 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0xab, 0xb3, 0xf0, + 0xe0, 0x4b, 0xf8, 0x15, 0x98, 0x2b, 0xee, 0xf7, 0xc4, 0xfa, 0x29, 0xeb, 0x46, 0x8c, 0xa5, 0x99, 0x60, 0x30, 0x1f, 0x06, 0x03, + 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, + 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, + 0x48, 0x00, 0x30, 0x45, 0x02, 0x20, 0x59, 0x77, 0x8d, 0x9f, 0xf7, 0x6f, 0xef, 0x99, 0x83, 0x6c, 0xda, 0xf5, 0xe1, 0x5a, 0x6c, + 0xca, 0x7c, 0x4f, 0xff, 0x57, 0xb3, 0x7a, 0x23, 0xdc, 0x86, 0x13, 0x29, 0x29, 0x38, 0xf6, 0x7a, 0xb6, 0x02, 0x21, 0x00, 0xff, + 0xc1, 0xae, 0x9a, 0xf5, 0x95, 0xcf, 0x16, 0x87, 0x23, 0x6a, 0x68, 0x52, 0xa2, 0x82, 0x87, 0xc5, 0xac, 0x5b, 0x30, 0xae, 0x02, + 0x81, 0x33, 0x63, 0xf8, 0xb2, 0x31, 0x97, 0xba, 0xab, 0xe3, +}; +const uint8_t sChipTest_RCAC_Subject_FabricId_Invalid_Cert_DER[416] = { + 0x30, 0x82, 0x01, 0x9c, 0x30, 0x82, 0x01, 0x43, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x4b, 0x65, 0xa7, 0x63, 0x84, 0x79, + 0xb3, 0xeb, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x22, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0xa4, 0xa2, + 0x94, 0xe4, 0x29, 0x0a, 0xd1, 0x28, 0xf2, 0xcf, 0xd9, 0x80, 0xce, 0x49, 0x9c, 0x2e, 0xcc, 0x79, 0x1c, 0x41, 0xe2, 0xf1, 0xa1, + 0x33, 0xb7, 0x38, 0xdc, 0xba, 0x23, 0x34, 0x6d, 0xd8, 0x2b, 0xb5, 0x85, 0xc7, 0x9e, 0x48, 0xd5, 0xfd, 0x71, 0x0d, 0xa3, 0x17, + 0xa2, 0x33, 0x4f, 0xc7, 0xd5, 0x8c, 0x47, 0x83, 0x38, 0xbc, 0x10, 0xa7, 0x89, 0xd3, 0x77, 0x86, 0xc6, 0x5d, 0x00, 0x4c, 0xa3, + 0x63, 0x30, 0x61, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, + 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, + 0x0e, 0x04, 0x16, 0x04, 0x14, 0x39, 0x33, 0x8e, 0x43, 0xec, 0x59, 0xa5, 0xeb, 0x8e, 0x27, 0xde, 0x05, 0xd1, 0x57, 0xe8, 0x8f, + 0x1f, 0x14, 0x26, 0x25, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0x39, 0x33, 0x8e, 0x43, + 0xec, 0x59, 0xa5, 0xeb, 0x8e, 0x27, 0xde, 0x05, 0xd1, 0x57, 0xe8, 0x8f, 0x1f, 0x14, 0x26, 0x25, 0x30, 0x0a, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x47, 0x00, 0x30, 0x44, 0x02, 0x20, 0x79, 0xc5, 0x77, 0x0c, 0xa4, 0xba, 0xcf, + 0x3a, 0x7c, 0xc3, 0x2f, 0x44, 0x67, 0x0c, 0x63, 0xe1, 0x34, 0x74, 0x23, 0xb4, 0xe0, 0x08, 0x92, 0xf8, 0x29, 0x1a, 0x53, 0x84, + 0x91, 0xcf, 0x95, 0xef, 0x02, 0x20, 0x11, 0xf4, 0xee, 0x61, 0x89, 0xf3, 0x93, 0xf6, 0xbc, 0x5c, 0x0f, 0x94, 0xdd, 0x78, 0x0e, + 0xec, 0x52, 0x5c, 0xda, 0x5f, 0x8a, 0xb1, 0x1e, 0x49, 0x9d, 0x1b, 0x3e, 0x2f, 0xa9, 0xe6, 0xef, 0xbe, +}; +const uint8_t sChipTest_NOC_Subject_CAT_Invalid_Cert_DER[544] = { + 0x30, 0x82, 0x02, 0x1c, 0x30, 0x82, 0x01, 0xc2, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x69, 0xfa, 0xd2, 0x0d, 0x14, 0xc9, + 0xb7, 0xd7, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, + 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, + 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x5e, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x01, 0x0c, 0x10, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x30, 0x30, 0x30, + 0x31, 0x30, 0x30, 0x30, 0x31, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, + 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x31, 0x18, 0x30, + 0x16, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x06, 0x0c, 0x08, 0x41, 0x42, 0x43, 0x44, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, + 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x64, 0x7f, 0xe6, 0x04, 0x07, 0x46, 0x29, 0x95, 0x9f, 0xcd, 0x1c, 0x9f, 0x9b, + 0x28, 0xab, 0xa7, 0x95, 0xad, 0x4a, 0x52, 0x61, 0x70, 0xd6, 0x3c, 0x57, 0xfd, 0x5a, 0xe6, 0x4e, 0xce, 0x9a, 0xee, 0xd0, 0x2d, + 0x7e, 0x63, 0x7a, 0x4b, 0x72, 0xee, 0xf7, 0x73, 0xc7, 0x1f, 0xd6, 0x74, 0x86, 0x6f, 0x64, 0xb9, 0x99, 0xe7, 0xf9, 0x3d, 0xaa, + 0x45, 0x78, 0x79, 0x85, 0x9f, 0xde, 0xc8, 0x47, 0x9e, 0xa3, 0x81, 0x83, 0x30, 0x81, 0x80, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, + 0x13, 0x01, 0x01, 0xff, 0x04, 0x02, 0x30, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, + 0x02, 0x07, 0x80, 0x30, 0x20, 0x06, 0x03, 0x55, 0x1d, 0x25, 0x01, 0x01, 0xff, 0x04, 0x16, 0x30, 0x14, 0x06, 0x08, 0x2b, 0x06, + 0x01, 0x05, 0x05, 0x07, 0x03, 0x02, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x1d, 0x06, 0x03, 0x55, + 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0x48, 0x09, 0xa2, 0x93, 0xa2, 0x8c, 0xff, 0x80, 0xe1, 0xe4, 0xb4, 0xa3, 0x42, 0x76, 0x2d, + 0xcb, 0x77, 0x6b, 0xcb, 0x6a, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xe1, 0xe7, 0x6e, + 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x30, 0x0a, 0x06, 0x08, + 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, 0x21, 0x00, 0xa9, 0x4c, 0xd1, 0xca, 0xa4, + 0xb9, 0x35, 0xad, 0xc3, 0xcc, 0xea, 0x76, 0x02, 0x58, 0xad, 0x5a, 0xb5, 0xf3, 0x87, 0xea, 0x14, 0x03, 0xd7, 0x40, 0xbe, 0xf0, + 0x41, 0xf4, 0x1c, 0xec, 0x73, 0x1d, 0x02, 0x20, 0x15, 0xac, 0x3c, 0xcb, 0x9b, 0x74, 0xf2, 0x2b, 0x49, 0x94, 0x4e, 0xe5, 0xe2, + 0x0f, 0xdd, 0x1e, 0x02, 0x6c, 0x55, 0xa5, 0x96, 0x9f, 0x4c, 0xe1, 0x1d, 0x6f, 0x15, 0x31, 0x5e, 0x68, 0x0b, 0x9f, +}; +const uint8_t sChipTest_ICAC_Subject_CAT_Invalid_Cert_DER[477] = { + 0x30, 0x82, 0x01, 0xd9, 0x30, 0x82, 0x01, 0x7f, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x44, 0x39, 0x2b, 0xf7, 0x87, 0x95, + 0x38, 0xd0, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x5e, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x31, 0x44, 0x31, 0x18, 0x30, 0x16, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x06, + 0x0c, 0x08, 0x41, 0x42, 0x43, 0x44, 0x30, 0x30, 0x30, 0x30, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, + 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0xce, 0x3c, 0x69, 0xbc, 0x14, + 0xcf, 0x37, 0xe0, 0x4c, 0xf2, 0x5a, 0x61, 0x4c, 0x20, 0xa6, 0x55, 0x24, 0x63, 0x87, 0x4e, 0x6f, 0x18, 0x14, 0xe0, 0x88, 0xd8, + 0xe5, 0xfd, 0xc3, 0x6d, 0xf0, 0xd3, 0x34, 0x34, 0x00, 0x82, 0xd7, 0xd7, 0x5d, 0x3c, 0xc1, 0xb6, 0x2d, 0xb8, 0x30, 0xa0, 0xfc, + 0x42, 0x93, 0x75, 0xb4, 0xef, 0xd8, 0x12, 0xfa, 0xe5, 0x6a, 0xa3, 0xc5, 0x5e, 0xc7, 0x54, 0x5d, 0x66, 0xa3, 0x63, 0x30, 0x61, + 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, 0x06, 0x03, + 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, + 0x04, 0x14, 0x9e, 0xcd, 0x25, 0x19, 0x53, 0xc3, 0x1c, 0x9d, 0x10, 0x6f, 0x72, 0x47, 0x05, 0xbe, 0xed, 0x69, 0x72, 0xc9, 0x34, + 0x8d, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, + 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, + 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, 0x21, 0x00, 0xf8, 0x19, 0xf4, 0x41, 0x02, 0xb8, 0x45, 0xf4, 0xb7, + 0xd4, 0xb4, 0x2c, 0xcc, 0xf0, 0x12, 0x5e, 0xdb, 0x86, 0x18, 0x2b, 0x20, 0x17, 0x34, 0x4a, 0x2d, 0x3d, 0x30, 0xda, 0x70, 0x89, + 0x06, 0xcb, 0x02, 0x20, 0x64, 0x8e, 0xfb, 0xba, 0x8d, 0x7a, 0xf6, 0xa0, 0x9d, 0xa7, 0xfb, 0x4e, 0x79, 0xc8, 0x3f, 0xab, 0xb9, + 0xf9, 0x64, 0x2c, 0x92, 0x90, 0x60, 0x0e, 0x1d, 0x58, 0x70, 0x3b, 0xfa, 0x36, 0x7e, 0xf3, +}; +const uint8_t sChipTest_RCAC_Subject_CAT_Invalid_Cert_DER[470] = { + 0x30, 0x82, 0x01, 0xd2, 0x30, 0x82, 0x01, 0x77, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x34, 0x5b, 0x91, 0xac, 0x69, 0x31, + 0x40, 0xc6, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x3c, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x31, 0x18, 0x30, 0x16, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x06, 0x0c, 0x08, 0x41, 0x42, 0x43, 0x44, 0x30, 0x30, 0x30, 0x30, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, + 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, + 0x34, 0x32, 0x5a, 0x30, 0x3c, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, + 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x31, 0x18, 0x30, + 0x16, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x06, 0x0c, 0x08, 0x41, 0x42, 0x43, 0x44, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, + 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0xef, 0x92, 0x77, 0x52, 0x04, 0xbf, 0x78, 0xd9, 0x9c, 0xf3, 0x6d, 0xd4, 0x82, + 0x50, 0x88, 0x84, 0xb2, 0xfb, 0xc4, 0x02, 0x41, 0xc4, 0xb9, 0x56, 0xcf, 0x13, 0x13, 0xd1, 0xcd, 0x32, 0x76, 0x52, 0x66, 0xef, + 0xb7, 0xb1, 0x84, 0x3f, 0x0b, 0x18, 0x3d, 0xf3, 0xd1, 0x73, 0x75, 0x6c, 0xb8, 0x8b, 0x83, 0x76, 0xc7, 0x7e, 0xe2, 0x29, 0xe9, + 0x31, 0x27, 0x3f, 0x0d, 0x8b, 0x40, 0x75, 0xe5, 0x01, 0xa3, 0x63, 0x30, 0x61, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, + 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, + 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0xdd, 0xfd, 0xbc, 0x7e, 0x0b, 0x92, + 0x17, 0x2f, 0xf7, 0xa5, 0x38, 0x36, 0x11, 0x32, 0xd2, 0x52, 0x38, 0xd4, 0x88, 0x01, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, + 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xdd, 0xfd, 0xbc, 0x7e, 0x0b, 0x92, 0x17, 0x2f, 0xf7, 0xa5, 0x38, 0x36, 0x11, 0x32, 0xd2, + 0x52, 0x38, 0xd4, 0x88, 0x01, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x49, 0x00, 0x30, + 0x46, 0x02, 0x21, 0x00, 0xa6, 0x39, 0x49, 0x6a, 0xb4, 0x47, 0xd5, 0x45, 0xc7, 0x4c, 0xf1, 0xd6, 0x3f, 0xad, 0x94, 0x6f, 0xa0, + 0xd0, 0x4c, 0xb5, 0x2c, 0xe9, 0xae, 0x1e, 0xab, 0xdb, 0x27, 0xe4, 0x8c, 0x67, 0x34, 0x7e, 0x02, 0x21, 0x00, 0xd6, 0x8d, 0xa1, + 0xf4, 0x11, 0xda, 0xfb, 0xe0, 0xfb, 0x89, 0xa1, 0xf8, 0x5a, 0x06, 0x2d, 0xe1, 0x8d, 0x0c, 0x86, 0x7a, 0x72, 0x3f, 0x45, 0x87, + 0x3f, 0xc3, 0x52, 0xae, 0xc9, 0x9b, 0x4f, 0xf8, +}; +const uint8_t sChipTest_NOC_Sig_Curve_Secp256k1_Cert_DER[515] = { + 0x30, 0x82, 0x01, 0xff, 0x30, 0x82, 0x01, 0xa5, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x25, 0x3c, 0xfb, 0x97, 0x16, 0xbe, + 0x97, 0x3b, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, + 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, + 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x01, 0x0c, 0x10, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x30, 0x30, 0x30, + 0x31, 0x30, 0x30, 0x30, 0x31, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, + 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x56, 0x30, + 0x10, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x05, 0x2b, 0x81, 0x04, 0x00, 0x0a, 0x03, 0x42, 0x00, 0x04, + 0x51, 0x27, 0x4b, 0xcc, 0x37, 0xfc, 0x3b, 0xe2, 0xfc, 0xa1, 0x17, 0x35, 0x18, 0xab, 0x20, 0x07, 0x88, 0x94, 0xa8, 0x82, 0x2f, + 0x17, 0x86, 0x43, 0x4f, 0xe3, 0xe7, 0xa4, 0x7f, 0x43, 0x71, 0xf3, 0xde, 0xf7, 0x20, 0x7f, 0xb9, 0xde, 0xfc, 0xee, 0x4d, 0x43, + 0xe5, 0x98, 0xd3, 0x62, 0x9d, 0x47, 0x10, 0xa7, 0x91, 0x4f, 0x19, 0xef, 0x05, 0x77, 0x43, 0xaa, 0xcf, 0x62, 0x1c, 0x73, 0x00, + 0x8a, 0xa3, 0x81, 0x83, 0x30, 0x81, 0x80, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x02, 0x30, 0x00, + 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x20, 0x06, 0x03, 0x55, + 0x1d, 0x25, 0x01, 0x01, 0xff, 0x04, 0x16, 0x30, 0x14, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x02, 0x06, 0x08, + 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0xa5, 0xff, + 0xdc, 0xc8, 0x1b, 0x96, 0x75, 0x1c, 0xcb, 0x22, 0xdb, 0x87, 0xe2, 0x98, 0xf9, 0x30, 0x9f, 0x04, 0x02, 0xf4, 0x30, 0x1f, 0x06, + 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, + 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, + 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, 0x20, 0x5b, 0x40, 0x47, 0xcb, 0x29, 0x0a, 0xbf, 0x0f, 0xc9, 0x74, 0xb1, 0x8c, 0xdd, 0xaa, + 0x50, 0xe3, 0x65, 0x81, 0x07, 0xb9, 0xd7, 0x96, 0x92, 0x29, 0xdd, 0x07, 0x6e, 0xd9, 0xc3, 0xce, 0x84, 0xa9, 0x02, 0x21, 0x00, + 0xdc, 0x89, 0xb1, 0x8d, 0x97, 0xc2, 0x35, 0xec, 0x06, 0xb5, 0x32, 0x26, 0x18, 0x80, 0x22, 0xa2, 0x8a, 0x66, 0x98, 0xfd, 0x2d, + 0xbf, 0x6b, 0xee, 0x10, 0x93, 0x65, 0xc9, 0xac, 0xeb, 0x55, 0xfc, +}; +const uint8_t sChipTest_ICAC_Sig_Curve_Secp256k1_Cert_DER[448] = { + 0x30, 0x82, 0x01, 0xbc, 0x30, 0x82, 0x01, 0x62, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x3e, 0xd0, 0xa1, 0x09, 0x92, 0x43, + 0x48, 0x6a, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x56, 0x30, 0x10, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x05, 0x2b, + 0x81, 0x04, 0x00, 0x0a, 0x03, 0x42, 0x00, 0x04, 0x1b, 0x51, 0xdd, 0xa0, 0xab, 0xfd, 0xdc, 0xb5, 0x7f, 0x75, 0xb3, 0x02, 0x93, + 0x32, 0x44, 0x07, 0x57, 0x1e, 0xf3, 0x34, 0x13, 0xd0, 0x5d, 0x41, 0xe4, 0x52, 0x3e, 0x77, 0x90, 0x87, 0x95, 0x7b, 0xc6, 0x18, + 0x44, 0xbc, 0x2c, 0xb5, 0x22, 0x6b, 0x9a, 0x7a, 0xae, 0xb2, 0x13, 0xce, 0x25, 0x1d, 0x56, 0xe3, 0xe9, 0x58, 0x0a, 0x5f, 0x9c, + 0x81, 0x2e, 0xbb, 0x39, 0x3b, 0x13, 0x35, 0x3f, 0xaa, 0xa3, 0x63, 0x30, 0x61, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, + 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, + 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0x7b, 0x97, 0xfa, 0x33, 0x9e, 0xaa, + 0x65, 0x90, 0xbd, 0x92, 0x20, 0xf8, 0xdf, 0xf5, 0xa0, 0x34, 0xcd, 0xcc, 0x2f, 0x9b, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, + 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, + 0x31, 0x16, 0x65, 0x53, 0x5f, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, + 0x45, 0x02, 0x21, 0x00, 0xaf, 0xe7, 0xd9, 0xfc, 0x9b, 0xfb, 0xbe, 0x4a, 0xb8, 0x6c, 0x3e, 0x55, 0x26, 0x2e, 0x3e, 0x64, 0x92, + 0xfa, 0xc3, 0xed, 0x5a, 0x6f, 0x5c, 0x6d, 0x29, 0x55, 0x2c, 0xb2, 0x05, 0x9a, 0x18, 0xf5, 0x02, 0x20, 0x60, 0x81, 0x0a, 0x2b, + 0xb0, 0x31, 0xa1, 0xab, 0x63, 0x6c, 0x5f, 0x83, 0x0c, 0xec, 0x93, 0x35, 0xa4, 0x5e, 0x2e, 0x0e, 0xa7, 0xdc, 0x31, 0x46, 0xca, + 0xb6, 0xa5, 0x15, 0x3a, 0x8e, 0xb3, 0x5f, +}; +const uint8_t sChipTest_RCAC_Sig_Curve_Secp256k1_Cert_DER[414] = { + 0x30, 0x82, 0x01, 0x9a, 0x30, 0x82, 0x01, 0x40, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x05, 0xbb, 0x7b, 0x1b, 0xa7, 0x86, + 0xfb, 0xeb, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x22, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x56, 0x30, 0x10, 0x06, 0x07, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x05, 0x2b, 0x81, 0x04, 0x00, 0x0a, 0x03, 0x42, 0x00, 0x04, 0x5e, 0xc1, 0x84, 0x99, 0x07, + 0x33, 0x6c, 0x0a, 0xf6, 0x07, 0xa4, 0x1b, 0x9d, 0x4b, 0xb0, 0x44, 0xae, 0xf8, 0x9f, 0x81, 0x68, 0x16, 0x66, 0x4c, 0x9e, 0xd5, + 0x6f, 0x18, 0x23, 0x32, 0xef, 0xa8, 0x0f, 0xb1, 0xcb, 0xf6, 0xed, 0x35, 0x13, 0x93, 0xb2, 0x5f, 0xd0, 0x1a, 0x70, 0x0e, 0xac, + 0x66, 0x8e, 0x57, 0xe7, 0xf6, 0x94, 0x0b, 0x18, 0x0e, 0xde, 0x57, 0xf0, 0x2a, 0xf6, 0xe1, 0xb6, 0x87, 0xa3, 0x63, 0x30, 0x61, + 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, 0x06, 0x03, + 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, + 0x04, 0x14, 0x89, 0x28, 0x23, 0x12, 0x69, 0x1c, 0xa2, 0xfb, 0x43, 0x52, 0x56, 0x88, 0x18, 0x13, 0x92, 0x55, 0x25, 0xad, 0x1f, + 0x05, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0x89, 0x28, 0x23, 0x12, 0x69, 0x1c, 0xa2, + 0xfb, 0x43, 0x52, 0x56, 0x88, 0x18, 0x13, 0x92, 0x55, 0x25, 0xad, 0x1f, 0x05, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, + 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, 0x20, 0x41, 0xb3, 0x67, 0x55, 0xe5, 0x0c, 0xe9, 0x1a, 0x16, 0xf6, + 0x98, 0x12, 0x62, 0x82, 0x24, 0x00, 0xca, 0x43, 0x7d, 0x65, 0xb5, 0xff, 0x0b, 0x43, 0x2e, 0x09, 0x72, 0x7d, 0xfe, 0x90, 0x2b, + 0x59, 0x02, 0x21, 0x00, 0xc1, 0x22, 0x16, 0x57, 0xc5, 0x96, 0x2a, 0x82, 0x03, 0x07, 0x25, 0x9b, 0x3d, 0x43, 0x3b, 0x04, 0x4d, + 0xda, 0x3c, 0x74, 0xf9, 0x23, 0xdd, 0xfe, 0x5c, 0x42, 0x63, 0xef, 0xb7, 0xdb, 0x30, 0x5b, +}; +const uint8_t sChipTest_NOC_Ext_Basic_Critical_Missing_Cert_DER[513] = { + 0x30, 0x82, 0x01, 0xfd, 0x30, 0x82, 0x01, 0xa3, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x6c, 0x14, 0x54, 0xea, 0x6d, 0xf7, + 0x2f, 0xd4, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, + 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, + 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x01, 0x0c, 0x10, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x30, 0x30, 0x30, + 0x31, 0x30, 0x30, 0x30, 0x31, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, + 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, + 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, + 0x42, 0x00, 0x04, 0xf7, 0xa9, 0xf0, 0x0b, 0x0f, 0xfd, 0x41, 0xa9, 0x6e, 0xc6, 0xba, 0xca, 0x58, 0x23, 0x9e, 0x76, 0x3c, 0x34, + 0x48, 0x44, 0x77, 0xbf, 0xad, 0xcc, 0x06, 0xb6, 0x10, 0x26, 0xf9, 0x8e, 0xe1, 0xb4, 0xda, 0x4e, 0xb9, 0xe6, 0x6d, 0x14, 0xea, + 0x13, 0xea, 0x80, 0x70, 0x87, 0x27, 0xfd, 0x3b, 0x89, 0x5e, 0xd7, 0x0f, 0x57, 0x55, 0xf0, 0x9e, 0xd8, 0x1c, 0x13, 0x5c, 0xc6, + 0xb3, 0x04, 0xee, 0x09, 0xa3, 0x7f, 0x30, 0x7d, 0x30, 0x09, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x04, 0x02, 0x30, 0x00, 0x30, 0x0e, + 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x20, 0x06, 0x03, 0x55, 0x1d, 0x25, + 0x01, 0x01, 0xff, 0x04, 0x16, 0x30, 0x14, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x02, 0x06, 0x08, 0x2b, 0x06, + 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0xbc, 0xcd, 0xa9, 0x71, + 0xcc, 0x2b, 0x39, 0x34, 0x1a, 0x58, 0x2e, 0x06, 0xf7, 0xb9, 0x54, 0x44, 0x55, 0x46, 0x90, 0x96, 0x30, 0x1f, 0x06, 0x03, 0x55, + 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, 0x35, + 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, + 0x00, 0x30, 0x45, 0x02, 0x21, 0x00, 0xaf, 0x84, 0x28, 0xfd, 0x6e, 0x43, 0x4a, 0x5a, 0x85, 0xe6, 0x2a, 0xa8, 0xec, 0x79, 0x39, + 0x20, 0x46, 0xd9, 0x9c, 0xb7, 0x46, 0x3e, 0x2d, 0x09, 0xec, 0x32, 0xd2, 0xc5, 0x7a, 0x8c, 0x28, 0x22, 0x02, 0x20, 0x64, 0xca, + 0xf8, 0x40, 0x00, 0xee, 0x16, 0x06, 0x28, 0x3f, 0xb3, 0x71, 0x40, 0xb8, 0x97, 0x45, 0x8d, 0x20, 0x5b, 0xb3, 0xe8, 0x3c, 0x56, + 0x88, 0x32, 0xe7, 0xc5, 0xd4, 0x41, 0x1c, 0x9f, 0x1d, +}; +const uint8_t sChipTest_ICAC_Ext_Basic_Critical_Missing_Cert_DER[447] = { + 0x30, 0x82, 0x01, 0xbb, 0x30, 0x82, 0x01, 0x62, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x1c, 0xc8, 0xe0, 0xad, 0x3d, 0x17, + 0xd7, 0xff, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0xa9, 0x97, 0x72, 0x20, 0x03, 0x17, 0xbd, 0x95, 0x9c, 0xef, + 0x1b, 0xf2, 0x0b, 0x99, 0x8d, 0x0e, 0xd6, 0x1f, 0xc4, 0x0b, 0x2d, 0xc2, 0xd8, 0x37, 0x16, 0x05, 0x09, 0xa2, 0x15, 0xa4, 0x50, + 0x03, 0xff, 0xd3, 0xee, 0x6a, 0x55, 0x37, 0x5d, 0x4c, 0xe8, 0xe3, 0x45, 0x97, 0xbb, 0x9d, 0x7d, 0x53, 0x81, 0xf9, 0x29, 0xb6, + 0xba, 0x04, 0x01, 0x77, 0xa1, 0x7c, 0xe4, 0x3e, 0x92, 0x4e, 0xe8, 0xc7, 0xa3, 0x60, 0x30, 0x5e, 0x30, 0x0c, 0x06, 0x03, 0x55, + 0x1d, 0x13, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, + 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0xf4, 0xf2, 0xf7, 0xd0, 0x87, 0x25, + 0x3a, 0x22, 0x28, 0x79, 0x8f, 0x73, 0xb1, 0xe3, 0xf4, 0xda, 0xe0, 0xcc, 0x4c, 0x77, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, + 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, + 0x31, 0x16, 0x65, 0x53, 0x5f, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x47, 0x00, 0x30, + 0x44, 0x02, 0x20, 0x7f, 0xb7, 0x04, 0xe0, 0x85, 0xa6, 0x94, 0x43, 0x47, 0x6b, 0x51, 0x32, 0x38, 0x91, 0xb7, 0x3b, 0x9d, 0xa4, + 0x38, 0xee, 0xaa, 0x49, 0xcc, 0x46, 0x26, 0x11, 0xe2, 0x69, 0x79, 0xfb, 0x94, 0x6e, 0x02, 0x20, 0x59, 0x3d, 0x07, 0x65, 0x94, + 0xa6, 0x21, 0xd3, 0xe2, 0xf2, 0x7b, 0xf3, 0x69, 0xc7, 0xc1, 0x0e, 0x04, 0xb4, 0x9d, 0x43, 0xed, 0x83, 0x4d, 0x00, 0x68, 0xb6, + 0x5c, 0x28, 0x3e, 0x01, 0xc3, 0xb2, +}; +const uint8_t sChipTest_RCAC_Ext_Basic_Critical_Missing_Cert_DER[414] = { + 0x30, 0x82, 0x01, 0x9a, 0x30, 0x82, 0x01, 0x40, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x4d, 0xd0, 0x17, 0x45, 0x40, 0xcc, + 0x73, 0x04, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x22, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0xec, 0xb4, + 0x00, 0x4c, 0xc5, 0xc8, 0x25, 0xaa, 0xb4, 0x7f, 0x30, 0xad, 0x7b, 0x83, 0xee, 0x17, 0x42, 0x07, 0xc9, 0x05, 0x5c, 0x2f, 0x55, + 0xdc, 0xc0, 0x06, 0xb1, 0xbf, 0x27, 0x75, 0x47, 0x8f, 0x1f, 0xd0, 0xf3, 0x17, 0x64, 0x10, 0xa6, 0xcf, 0xb1, 0x61, 0xba, 0x10, + 0xf4, 0x2d, 0xa4, 0xe6, 0x15, 0xf0, 0xc0, 0xd0, 0xb3, 0x43, 0xe1, 0x43, 0xaa, 0xff, 0x28, 0xbf, 0xc1, 0x85, 0xf2, 0xd3, 0xa3, + 0x60, 0x30, 0x5e, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, 0x06, 0x03, + 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, + 0x04, 0x14, 0xe5, 0x50, 0x9e, 0x04, 0xad, 0x90, 0x08, 0x72, 0x0f, 0x46, 0xab, 0xd1, 0xe9, 0xe2, 0x45, 0xd1, 0x55, 0x8a, 0xfa, + 0x4c, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xe5, 0x50, 0x9e, 0x04, 0xad, 0x90, 0x08, + 0x72, 0x0f, 0x46, 0xab, 0xd1, 0xe9, 0xe2, 0x45, 0xd1, 0x55, 0x8a, 0xfa, 0x4c, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, + 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, 0x20, 0x7c, 0xf5, 0x9a, 0x35, 0x6c, 0xdc, 0xce, 0x09, 0x37, 0xa2, + 0x07, 0x8c, 0x7d, 0xd0, 0xa0, 0xa1, 0x92, 0xdf, 0xb7, 0x91, 0x82, 0x36, 0x29, 0x9a, 0x44, 0x03, 0xd6, 0x40, 0xdf, 0xcb, 0xe5, + 0x6c, 0x02, 0x21, 0x00, 0xb1, 0x40, 0xfb, 0xd1, 0xde, 0x24, 0x27, 0x9d, 0x76, 0x23, 0x38, 0x7f, 0xd9, 0xb8, 0x5d, 0xaa, 0x5e, + 0x5f, 0xe9, 0x1d, 0xac, 0x58, 0x43, 0x1c, 0x56, 0x5a, 0x83, 0x33, 0x16, 0x0b, 0x77, 0x3e, +}; +const uint8_t sChipTest_NOC_Ext_Basic_Critical_Wrong_Cert_DER[513] = { + 0x30, 0x82, 0x01, 0xfd, 0x30, 0x82, 0x01, 0xa3, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x2b, 0x80, 0xde, 0x0d, 0x2d, 0x96, + 0x99, 0x67, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, + 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, + 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x01, 0x0c, 0x10, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x30, 0x30, 0x30, + 0x31, 0x30, 0x30, 0x30, 0x31, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, + 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, + 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, + 0x42, 0x00, 0x04, 0x3a, 0x93, 0x77, 0x97, 0x99, 0x65, 0xbb, 0x12, 0x64, 0x4f, 0x14, 0x8c, 0xc4, 0xb0, 0x72, 0x81, 0xe8, 0x64, + 0xe2, 0xf0, 0xf7, 0x3a, 0x36, 0x53, 0x4a, 0x58, 0xe2, 0xf6, 0xa5, 0x15, 0x52, 0x1a, 0x30, 0x6c, 0x15, 0x2c, 0xb7, 0xa2, 0xd7, + 0x6c, 0xf0, 0x0e, 0xb8, 0x05, 0x31, 0x1b, 0xac, 0x5f, 0xd2, 0x99, 0x77, 0x37, 0x0c, 0x39, 0x40, 0xd2, 0x62, 0x46, 0xf5, 0x96, + 0xa0, 0x17, 0xca, 0x28, 0xa3, 0x7f, 0x30, 0x7d, 0x30, 0x09, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x04, 0x02, 0x30, 0x00, 0x30, 0x0e, + 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x20, 0x06, 0x03, 0x55, 0x1d, 0x25, + 0x01, 0x01, 0xff, 0x04, 0x16, 0x30, 0x14, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x02, 0x06, 0x08, 0x2b, 0x06, + 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0x23, 0x97, 0x42, 0x16, + 0x25, 0xfb, 0x61, 0x34, 0xc6, 0xc9, 0x13, 0x1e, 0x0f, 0xef, 0x77, 0x47, 0xb9, 0x92, 0x5c, 0x20, 0x30, 0x1f, 0x06, 0x03, 0x55, + 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, 0x35, + 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, + 0x00, 0x30, 0x45, 0x02, 0x21, 0x00, 0xca, 0x2a, 0x04, 0x98, 0x16, 0xd7, 0x2e, 0xdb, 0xbf, 0xa7, 0xc2, 0x6d, 0xbb, 0x5a, 0x2c, + 0x37, 0x35, 0x54, 0x85, 0xd4, 0xaa, 0x72, 0x99, 0xca, 0xd4, 0x32, 0x38, 0xcb, 0x0f, 0x67, 0x3c, 0xe7, 0x02, 0x20, 0x16, 0xc8, + 0x98, 0xa5, 0x76, 0x3f, 0x2e, 0x28, 0xca, 0xfd, 0xfc, 0x54, 0x04, 0x67, 0x58, 0x81, 0xd2, 0x68, 0x9e, 0x61, 0xf7, 0x93, 0xd5, + 0xdd, 0x3b, 0x41, 0x88, 0xdc, 0xa2, 0x49, 0xe8, 0x4b, +}; +const uint8_t sChipTest_ICAC_Ext_Basic_Critical_Wrong_Cert_DER[448] = { + 0x30, 0x82, 0x01, 0xbc, 0x30, 0x82, 0x01, 0x62, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x74, 0xaa, 0x1a, 0xc6, 0x1f, 0x0c, + 0xab, 0xfb, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x06, 0x61, 0x89, 0x08, 0xe0, 0x86, 0x08, 0x55, 0x91, 0x0f, + 0x8e, 0xdc, 0xfe, 0x65, 0xcf, 0xdc, 0xff, 0xf4, 0x87, 0xe9, 0xe5, 0x89, 0x39, 0x5c, 0x53, 0xde, 0x72, 0x3e, 0xb5, 0xa5, 0xf0, + 0xf2, 0xb7, 0xd9, 0x27, 0x67, 0x9d, 0x77, 0xa9, 0x66, 0x30, 0xf4, 0xa0, 0x1f, 0x1f, 0xe3, 0x96, 0x6c, 0x45, 0x31, 0xef, 0x97, + 0xe1, 0x87, 0xd5, 0x42, 0x5e, 0xad, 0x09, 0xb7, 0xb0, 0xf1, 0xd5, 0x61, 0xa3, 0x60, 0x30, 0x5e, 0x30, 0x0c, 0x06, 0x03, 0x55, + 0x1d, 0x13, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, + 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0x8c, 0x11, 0xd1, 0x31, 0xf1, 0xcf, + 0x43, 0x65, 0x55, 0x9f, 0xda, 0x9f, 0xcf, 0x22, 0x4e, 0xcf, 0x2c, 0xea, 0x2b, 0xb2, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, + 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, + 0x31, 0x16, 0x65, 0x53, 0x5f, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, + 0x45, 0x02, 0x21, 0x00, 0xee, 0x92, 0x27, 0xb5, 0x40, 0xbc, 0x4b, 0x1b, 0x37, 0xf9, 0x2b, 0xae, 0x73, 0x2f, 0x15, 0x6d, 0x7d, + 0x91, 0xf4, 0x1a, 0x7f, 0xca, 0x4a, 0xd5, 0xb1, 0xcd, 0x22, 0xf4, 0xa8, 0xe4, 0x71, 0xae, 0x02, 0x20, 0x18, 0x7c, 0xf7, 0x57, + 0xc8, 0x05, 0xe5, 0xb1, 0x50, 0xbd, 0x91, 0x67, 0x89, 0x82, 0x6d, 0xe9, 0x33, 0x99, 0x2b, 0x88, 0x42, 0x5b, 0x9c, 0x21, 0x80, + 0xfb, 0xba, 0xdb, 0x56, 0xba, 0x46, 0xf1, +}; +const uint8_t sChipTest_RCAC_Ext_Basic_Critical_Wrong_Cert_DER[414] = { + 0x30, 0x82, 0x01, 0x9a, 0x30, 0x82, 0x01, 0x40, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x18, 0x80, 0x55, 0x61, 0x79, 0x66, + 0xfd, 0x6c, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x22, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x0d, 0xc3, + 0x86, 0xf3, 0x58, 0x3a, 0x3d, 0xf6, 0x20, 0x91, 0x07, 0xc5, 0x21, 0x59, 0x01, 0x77, 0x1e, 0x1a, 0xe9, 0x38, 0xb5, 0x36, 0xc3, + 0xcc, 0xcc, 0x1e, 0x17, 0x40, 0xd3, 0xa9, 0x8e, 0x8a, 0xc4, 0x6d, 0xc7, 0xd9, 0xdf, 0xb2, 0x06, 0x3b, 0x02, 0x80, 0x33, 0x60, + 0x6c, 0xf1, 0xaf, 0x77, 0x21, 0x2e, 0x88, 0xc9, 0x60, 0x21, 0x0a, 0xc3, 0x60, 0x7c, 0xc8, 0xfa, 0xe5, 0x9c, 0xfe, 0xd3, 0xa3, + 0x60, 0x30, 0x5e, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, 0x06, 0x03, + 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, + 0x04, 0x14, 0xac, 0xe0, 0x39, 0x28, 0xd9, 0x46, 0x0a, 0xa8, 0xe7, 0x12, 0x14, 0xe7, 0x3b, 0x24, 0x8b, 0x27, 0xe1, 0x0c, 0xff, + 0x3c, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xac, 0xe0, 0x39, 0x28, 0xd9, 0x46, 0x0a, + 0xa8, 0xe7, 0x12, 0x14, 0xe7, 0x3b, 0x24, 0x8b, 0x27, 0xe1, 0x0c, 0xff, 0x3c, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, + 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, 0x21, 0x00, 0xf1, 0x20, 0xd5, 0x6e, 0x7c, 0xea, 0xd4, 0x5c, 0x1f, + 0xbb, 0xfe, 0xa5, 0x21, 0x77, 0xb4, 0xc7, 0x0d, 0xb5, 0xbe, 0xa4, 0x55, 0xc6, 0x26, 0x41, 0x70, 0x32, 0xe2, 0xc9, 0xe7, 0xe5, + 0x33, 0xa0, 0x02, 0x20, 0x0a, 0x2a, 0xfc, 0x09, 0x01, 0xbe, 0x30, 0x5a, 0xa7, 0x6b, 0x9f, 0xf9, 0x88, 0xee, 0xae, 0x55, 0x30, + 0x4d, 0xed, 0x7f, 0x03, 0xe3, 0xf1, 0x23, 0x5a, 0x2c, 0x75, 0xd0, 0x65, 0xaf, 0x0d, 0xa0, +}; +const uint8_t sChipTest_NOC_Ext_Basic_CA_Missing_Cert_DER[522] = { + 0x30, 0x82, 0x02, 0x06, 0x30, 0x82, 0x01, 0xab, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x14, 0xba, 0x9f, 0x2c, 0xa2, 0x99, + 0xec, 0xc8, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, + 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, + 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x01, 0x0c, 0x10, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x30, 0x30, 0x30, + 0x31, 0x30, 0x30, 0x30, 0x31, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, + 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, + 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, + 0x42, 0x00, 0x04, 0x13, 0x64, 0xcf, 0x04, 0x55, 0xfd, 0xd5, 0x50, 0x61, 0x9c, 0x96, 0x33, 0x7e, 0x13, 0x80, 0x91, 0xb7, 0x88, + 0xf6, 0xa0, 0xe5, 0x97, 0x72, 0xa4, 0xa2, 0x6d, 0xc9, 0x73, 0xcd, 0x7d, 0x5c, 0x35, 0x90, 0x8c, 0x75, 0xf1, 0xce, 0x94, 0x9d, + 0x5a, 0xa2, 0x85, 0x54, 0x82, 0xad, 0xc5, 0x0e, 0x83, 0x5a, 0x50, 0x37, 0xad, 0xd2, 0xa4, 0x6b, 0x45, 0xf4, 0x28, 0x63, 0xdb, + 0x53, 0xa9, 0xa8, 0x11, 0xa3, 0x81, 0x86, 0x30, 0x81, 0x83, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, + 0x05, 0x30, 0x03, 0x02, 0x01, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x07, + 0x80, 0x30, 0x20, 0x06, 0x03, 0x55, 0x1d, 0x25, 0x01, 0x01, 0xff, 0x04, 0x16, 0x30, 0x14, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, + 0x05, 0x07, 0x03, 0x02, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, + 0x04, 0x16, 0x04, 0x14, 0xc8, 0x7b, 0xd7, 0xd4, 0xec, 0xdc, 0x3e, 0xb6, 0xd1, 0x33, 0xa9, 0x33, 0x3b, 0xb3, 0xe5, 0x56, 0xd3, + 0xad, 0x29, 0x56, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, + 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x49, 0x00, 0x30, 0x46, 0x02, 0x21, 0x00, 0x8c, 0xb1, 0xdf, 0x29, 0xed, 0xeb, 0x2c, + 0x97, 0xf4, 0x29, 0xbf, 0x4c, 0xe3, 0x00, 0x01, 0xc4, 0xc0, 0x6f, 0x1d, 0xb2, 0x91, 0x78, 0x77, 0x18, 0xcd, 0xd4, 0x79, 0xa3, + 0x8c, 0xd4, 0xdc, 0x99, 0x02, 0x21, 0x00, 0xdf, 0xae, 0xc5, 0x48, 0xe9, 0xfa, 0xd2, 0xb3, 0x35, 0x81, 0x9c, 0x6b, 0x8a, 0xfd, + 0xd9, 0x9f, 0x6b, 0x71, 0xe6, 0xfc, 0xe1, 0x73, 0x30, 0x8c, 0x21, 0xf4, 0xc1, 0x54, 0x08, 0x2a, 0x87, 0xa9, +}; +const uint8_t sChipTest_ICAC_Ext_Basic_CA_Missing_Cert_DER[450] = { + 0x30, 0x82, 0x01, 0xbe, 0x30, 0x82, 0x01, 0x65, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x06, 0x6a, 0x7b, 0xc2, 0x19, 0x51, + 0xdb, 0x6d, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0xec, 0xde, 0xa3, 0x1d, 0xfe, 0x02, 0x4f, 0x66, 0x9a, 0x33, + 0xbc, 0x22, 0xed, 0x6f, 0xcd, 0x9e, 0x97, 0xee, 0xac, 0x91, 0xa9, 0xb8, 0xe2, 0xee, 0x8d, 0x28, 0xad, 0xb5, 0xea, 0xd0, 0x50, + 0x00, 0xb2, 0x43, 0x2c, 0x5e, 0xd3, 0xfc, 0xb5, 0xaf, 0xea, 0x9d, 0x6b, 0x3f, 0x03, 0xfa, 0xf9, 0x1f, 0x1b, 0xad, 0x54, 0x61, + 0xc4, 0x6b, 0xda, 0xb1, 0x2b, 0x95, 0x1f, 0xe4, 0x5e, 0x14, 0x5f, 0x60, 0xa3, 0x63, 0x30, 0x61, 0x30, 0x0f, 0x06, 0x03, 0x55, + 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x02, 0x01, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, + 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0xfd, 0xf9, 0xa9, + 0x39, 0xc1, 0xee, 0xca, 0x5c, 0x75, 0x84, 0xd8, 0x89, 0xef, 0x40, 0x17, 0xfb, 0xa8, 0xf0, 0x35, 0x4e, 0x30, 0x1f, 0x06, 0x03, + 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, + 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, + 0x47, 0x00, 0x30, 0x44, 0x02, 0x20, 0x0c, 0xe0, 0x1c, 0xa8, 0x47, 0xe0, 0xd4, 0xfd, 0x82, 0x0b, 0x24, 0x2d, 0x72, 0x08, 0xf1, + 0xe1, 0x17, 0xff, 0x7f, 0xe1, 0x2a, 0x9c, 0x6d, 0xae, 0x50, 0x3f, 0x69, 0x56, 0x32, 0x27, 0xce, 0xd1, 0x02, 0x20, 0x34, 0xcc, + 0x15, 0x24, 0x03, 0xbb, 0xdf, 0x95, 0xa4, 0x09, 0xc6, 0x56, 0x0c, 0x42, 0x86, 0xa2, 0x06, 0x12, 0x14, 0xae, 0xe0, 0x70, 0x2c, + 0x99, 0x91, 0xa5, 0x8b, 0xcd, 0xad, 0x86, 0x83, 0x5e, +}; +const uint8_t sChipTest_RCAC_Ext_Basic_CA_Missing_Cert_DER[417] = { + 0x30, 0x82, 0x01, 0x9d, 0x30, 0x82, 0x01, 0x43, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x0c, 0xcc, 0x80, 0x73, 0x53, 0xf9, + 0xd3, 0x18, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x22, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x09, 0x8b, + 0x99, 0x33, 0xdf, 0x1d, 0x53, 0x16, 0x23, 0x9d, 0xda, 0xb0, 0x22, 0x39, 0x0a, 0xcd, 0xcb, 0x8c, 0xf7, 0x05, 0x4a, 0x36, 0xe7, + 0x1b, 0x34, 0x96, 0x3b, 0xbd, 0xec, 0xfc, 0x40, 0x0a, 0xeb, 0xe4, 0x23, 0x4b, 0x98, 0x25, 0x74, 0xf6, 0xd2, 0xb6, 0xde, 0xa2, + 0x6a, 0xad, 0x51, 0x14, 0x69, 0x5c, 0x88, 0x68, 0x7e, 0xfd, 0x15, 0xfc, 0x56, 0xff, 0xb4, 0x88, 0xa3, 0x3c, 0x7f, 0x7a, 0xa3, + 0x63, 0x30, 0x61, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x02, 0x01, 0x00, 0x30, + 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, + 0x0e, 0x04, 0x16, 0x04, 0x14, 0xc8, 0x84, 0xe9, 0xdd, 0xbb, 0x9f, 0xa4, 0x97, 0x9a, 0x93, 0x87, 0x63, 0x2d, 0xc4, 0xbb, 0x09, + 0x9f, 0xec, 0x43, 0x02, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xc8, 0x84, 0xe9, 0xdd, + 0xbb, 0x9f, 0xa4, 0x97, 0x9a, 0x93, 0x87, 0x63, 0x2d, 0xc4, 0xbb, 0x09, 0x9f, 0xec, 0x43, 0x02, 0x30, 0x0a, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, 0x20, 0x45, 0x2c, 0x4c, 0x6b, 0x54, 0x9a, 0x83, + 0xb3, 0xfd, 0x2f, 0xdc, 0xd2, 0x3e, 0xa6, 0xb3, 0xc9, 0x05, 0x3a, 0x83, 0x95, 0x08, 0x23, 0xbe, 0xae, 0x48, 0x5a, 0x8f, 0x62, + 0xf0, 0xb0, 0x0f, 0x93, 0x02, 0x21, 0x00, 0x9c, 0xfc, 0x09, 0xb9, 0xca, 0xf9, 0x7c, 0x81, 0xbd, 0x39, 0x83, 0x5f, 0x71, 0x95, + 0xf4, 0x27, 0xb7, 0x21, 0x3c, 0x51, 0xa5, 0xcd, 0x00, 0x3a, 0x88, 0x09, 0x78, 0xab, 0x81, 0x3f, 0x37, 0x65, +}; +const uint8_t sChipTest_NOC_Ext_Basic_PathLen_Presence_Wrong_Cert_DER[520] = { + 0x30, 0x82, 0x02, 0x04, 0x30, 0x82, 0x01, 0xab, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x69, 0xab, 0x24, 0x03, 0xde, 0x19, + 0x09, 0x8e, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, + 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, + 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x01, 0x0c, 0x10, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x30, 0x30, 0x30, + 0x31, 0x30, 0x30, 0x30, 0x31, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, + 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, + 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, + 0x42, 0x00, 0x04, 0xba, 0xf5, 0xdc, 0x6a, 0xe5, 0x4c, 0xab, 0x40, 0x4c, 0x59, 0x53, 0xcb, 0x5b, 0x23, 0xf1, 0x1e, 0x72, 0xf4, + 0x41, 0xfe, 0xf9, 0xc3, 0xa7, 0xbf, 0x67, 0xb0, 0xe5, 0x41, 0xda, 0x8b, 0x51, 0xfc, 0xcb, 0x08, 0xe0, 0xd4, 0xcd, 0x98, 0x63, + 0xee, 0x36, 0x45, 0x83, 0x55, 0x54, 0xdc, 0x3b, 0x97, 0x89, 0x82, 0xdb, 0xbc, 0xfc, 0x4d, 0x41, 0x55, 0xf3, 0xa5, 0xb5, 0x91, + 0xcd, 0x86, 0x1e, 0x50, 0xa3, 0x81, 0x86, 0x30, 0x81, 0x83, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, + 0x05, 0x30, 0x03, 0x02, 0x01, 0x02, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x07, + 0x80, 0x30, 0x20, 0x06, 0x03, 0x55, 0x1d, 0x25, 0x01, 0x01, 0xff, 0x04, 0x16, 0x30, 0x14, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, + 0x05, 0x07, 0x03, 0x02, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, + 0x04, 0x16, 0x04, 0x14, 0xe8, 0xcf, 0xb2, 0xd1, 0x14, 0xb6, 0x91, 0xac, 0xc4, 0x68, 0x76, 0x29, 0xff, 0xb4, 0x98, 0xa1, 0xcf, + 0x51, 0x7c, 0x72, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, + 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x47, 0x00, 0x30, 0x44, 0x02, 0x20, 0x7a, 0xeb, 0x04, 0xc4, 0x57, 0xb1, 0xd6, 0xc8, + 0x5f, 0xf7, 0xbb, 0x6f, 0xf4, 0x67, 0x8d, 0xcb, 0xec, 0xac, 0x55, 0xe7, 0x1e, 0x29, 0x92, 0xf3, 0xbe, 0x19, 0x03, 0x56, 0x58, + 0x4e, 0x79, 0x0e, 0x02, 0x20, 0x3d, 0x95, 0xae, 0xd9, 0x56, 0x3a, 0x3a, 0x70, 0x29, 0xfc, 0xd7, 0x85, 0xc9, 0x96, 0x93, 0x3f, + 0xe6, 0x08, 0x7b, 0x0c, 0xd6, 0xf4, 0x14, 0x76, 0x9d, 0xe6, 0xcb, 0xf3, 0xce, 0x10, 0x5d, 0x28, +}; +const uint8_t sChipTest_NOC_Ext_KeyUsage_Critical_Missing_Cert_DER[512] = { + 0x30, 0x82, 0x01, 0xfc, 0x30, 0x82, 0x01, 0xa3, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x08, 0x8c, 0x52, 0x9c, 0xd4, 0xc4, + 0x91, 0x9a, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, + 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, + 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x01, 0x0c, 0x10, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x30, 0x30, 0x30, + 0x31, 0x30, 0x30, 0x30, 0x31, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, + 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, + 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, + 0x42, 0x00, 0x04, 0xf0, 0x66, 0x5a, 0x51, 0xec, 0xd8, 0x35, 0x8f, 0xa7, 0xd8, 0xf1, 0x54, 0xd1, 0x69, 0xbf, 0x52, 0x2a, 0xa6, + 0xb2, 0x09, 0x04, 0x53, 0x1e, 0xe2, 0x48, 0x8b, 0x92, 0xeb, 0xe7, 0x06, 0x83, 0xa9, 0xd5, 0xe5, 0x79, 0x0c, 0x0f, 0x2b, 0xe9, + 0x9d, 0xf4, 0x13, 0x8e, 0xb0, 0xf3, 0x35, 0xd5, 0xd6, 0x60, 0x82, 0xa4, 0x32, 0x66, 0x4f, 0xa2, 0x95, 0x9d, 0xab, 0xdf, 0x62, + 0x62, 0x69, 0xcc, 0x32, 0xa3, 0x7f, 0x30, 0x7d, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x02, 0x30, + 0x00, 0x30, 0x0b, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x20, 0x06, 0x03, 0x55, 0x1d, 0x25, + 0x01, 0x01, 0xff, 0x04, 0x16, 0x30, 0x14, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x02, 0x06, 0x08, 0x2b, 0x06, + 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0xdc, 0xf8, 0x3e, 0xd5, + 0x1d, 0xad, 0x74, 0x7d, 0x49, 0x0c, 0xd5, 0x88, 0x32, 0xf6, 0x60, 0x40, 0x4f, 0x6a, 0xc0, 0x21, 0x30, 0x1f, 0x06, 0x03, 0x55, + 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, 0x35, + 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x47, + 0x00, 0x30, 0x44, 0x02, 0x20, 0x38, 0x9a, 0xb5, 0xf7, 0x72, 0x86, 0x15, 0xe2, 0x30, 0x1a, 0xda, 0x44, 0x7c, 0x72, 0xb5, 0x46, + 0x95, 0x9d, 0x18, 0x33, 0x37, 0xb6, 0x76, 0xf4, 0x67, 0x02, 0x8c, 0x1a, 0x00, 0x24, 0x0d, 0x93, 0x02, 0x20, 0x3c, 0x7e, 0xc3, + 0x54, 0x4b, 0xbd, 0xcf, 0x7d, 0x25, 0x62, 0x0c, 0xe0, 0xe4, 0x9c, 0x5b, 0x1e, 0xa5, 0xd9, 0x69, 0xca, 0xb6, 0xd5, 0xd9, 0x20, + 0x12, 0xe1, 0x87, 0x72, 0xdb, 0xef, 0x46, 0x9a, +}; +const uint8_t sChipTest_ICAC_Ext_KeyUsage_Critical_Missing_Cert_DER[448] = { + 0x30, 0x82, 0x01, 0xbc, 0x30, 0x82, 0x01, 0x62, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x54, 0xb5, 0xdf, 0x2f, 0x8d, 0x1d, + 0xf4, 0x99, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0xf3, 0x18, 0xce, 0x2b, 0x56, 0x4b, 0x7c, 0x68, 0x4e, 0xab, + 0x43, 0xe4, 0x3c, 0xc3, 0x11, 0xe1, 0xa5, 0x4f, 0x10, 0xb8, 0x61, 0x14, 0x1b, 0xe1, 0x0f, 0x5b, 0x7d, 0xc8, 0x94, 0x96, 0xba, + 0xae, 0xe5, 0xd8, 0x17, 0x08, 0x75, 0x0c, 0xc4, 0xcd, 0x30, 0x96, 0x7e, 0xf6, 0xd1, 0x8e, 0xcd, 0x99, 0xcb, 0x21, 0xa0, 0xe0, + 0xec, 0xd9, 0x71, 0x53, 0x56, 0x95, 0xef, 0x95, 0xe9, 0xe2, 0x9b, 0x4a, 0xa3, 0x60, 0x30, 0x5e, 0x30, 0x0f, 0x06, 0x03, 0x55, + 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0b, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x04, 0x04, + 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0x66, 0x33, 0x8f, 0x29, 0x69, 0x01, + 0x31, 0x59, 0x41, 0x1c, 0x4e, 0xff, 0x22, 0x3c, 0xb4, 0x26, 0x12, 0x53, 0x92, 0xc5, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, + 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, + 0x31, 0x16, 0x65, 0x53, 0x5f, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, + 0x45, 0x02, 0x20, 0x03, 0x5e, 0x4a, 0x42, 0xcd, 0x0f, 0x7d, 0x9d, 0x65, 0x0e, 0xe5, 0x50, 0xa7, 0xbf, 0xe9, 0xc9, 0x9a, 0x0b, + 0x6a, 0x53, 0x2b, 0xa6, 0x83, 0xc3, 0x56, 0xba, 0xe7, 0x51, 0x38, 0x14, 0x40, 0xf4, 0x02, 0x21, 0x00, 0xd0, 0x82, 0xe2, 0x97, + 0x14, 0x10, 0x47, 0x57, 0xca, 0x95, 0x3e, 0x04, 0x5a, 0xcc, 0x51, 0x8b, 0x28, 0xf1, 0x97, 0xb0, 0xcd, 0xa4, 0xa7, 0x97, 0xc8, + 0xdb, 0xdc, 0x4d, 0x55, 0xed, 0xd4, 0x05, +}; +const uint8_t sChipTest_RCAC_Ext_KeyUsage_Critical_Missing_Cert_DER[414] = { + 0x30, 0x82, 0x01, 0x9a, 0x30, 0x82, 0x01, 0x40, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x37, 0x51, 0x68, 0xe8, 0x9c, 0x10, + 0x12, 0xd3, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x22, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x11, 0x59, + 0x68, 0x6c, 0x31, 0x2d, 0x88, 0x9a, 0xa4, 0xc7, 0x1e, 0xa2, 0x91, 0x23, 0xf8, 0x1b, 0xf8, 0x2d, 0x03, 0x4a, 0xd5, 0xfb, 0xd1, + 0xa7, 0xf5, 0x3d, 0xf0, 0x07, 0x09, 0xd6, 0x0e, 0xe4, 0x1b, 0x1b, 0x3d, 0x2c, 0xf3, 0xe1, 0x55, 0xb8, 0xf9, 0x7b, 0xde, 0x61, + 0xfb, 0x51, 0xca, 0x6e, 0x2f, 0x1e, 0x3e, 0xcb, 0x01, 0xb3, 0x29, 0xfd, 0x18, 0xf9, 0x6d, 0x11, 0x4d, 0x09, 0x40, 0x31, 0xa3, + 0x60, 0x30, 0x5e, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, + 0x0b, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, + 0x04, 0x14, 0xc0, 0xe3, 0x98, 0x43, 0xd3, 0x78, 0x6c, 0x49, 0x2c, 0x17, 0x74, 0x6d, 0x4f, 0x8a, 0x73, 0x55, 0x9b, 0x50, 0x15, + 0x10, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xc0, 0xe3, 0x98, 0x43, 0xd3, 0x78, 0x6c, + 0x49, 0x2c, 0x17, 0x74, 0x6d, 0x4f, 0x8a, 0x73, 0x55, 0x9b, 0x50, 0x15, 0x10, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, + 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, 0x20, 0x02, 0x4a, 0x48, 0x3f, 0xfb, 0x9d, 0x30, 0xc4, 0xc8, 0x16, + 0x3a, 0xe4, 0xe6, 0xea, 0xda, 0x5f, 0x6a, 0x11, 0x4a, 0xb2, 0x00, 0x34, 0x33, 0x46, 0xc1, 0x61, 0x2a, 0x60, 0x84, 0xf7, 0x20, + 0x6f, 0x02, 0x21, 0x00, 0xcf, 0x3f, 0xf5, 0xc5, 0x36, 0x40, 0x01, 0xa3, 0xe5, 0x99, 0x18, 0xd6, 0xf0, 0x77, 0x6f, 0x39, 0xfc, + 0xb3, 0xe7, 0x41, 0xa0, 0x55, 0xe3, 0x96, 0x02, 0xb6, 0x6a, 0x51, 0x42, 0x0d, 0xfd, 0xf4, +}; +const uint8_t sChipTest_NOC_Ext_KeyUsage_Critical_Wrong_Cert_DER[513] = { + 0x30, 0x82, 0x01, 0xfd, 0x30, 0x82, 0x01, 0xa3, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x25, 0x52, 0xa3, 0x12, 0xec, 0x0b, + 0x40, 0x77, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, + 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, + 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x01, 0x0c, 0x10, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x30, 0x30, 0x30, + 0x31, 0x30, 0x30, 0x30, 0x31, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, + 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, + 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, + 0x42, 0x00, 0x04, 0x47, 0xb7, 0x90, 0x02, 0xf7, 0xbd, 0x0e, 0x49, 0xcb, 0x69, 0x64, 0x31, 0xed, 0x15, 0xbf, 0x81, 0x2a, 0x9a, + 0x65, 0x2c, 0x0d, 0x8e, 0xb5, 0x96, 0x3d, 0x5a, 0x92, 0xe8, 0xbb, 0x39, 0xd3, 0xb0, 0xfe, 0xf5, 0xa8, 0x80, 0xfe, 0x11, 0x94, + 0xbb, 0x63, 0xcb, 0xae, 0x46, 0xcb, 0x38, 0x47, 0x36, 0xa3, 0xf8, 0x66, 0xf0, 0xe6, 0x52, 0x91, 0xa8, 0x13, 0x62, 0xc4, 0x41, + 0x1e, 0x57, 0x80, 0x72, 0xa3, 0x7f, 0x30, 0x7d, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x02, 0x30, + 0x00, 0x30, 0x0b, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x20, 0x06, 0x03, 0x55, 0x1d, 0x25, + 0x01, 0x01, 0xff, 0x04, 0x16, 0x30, 0x14, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x02, 0x06, 0x08, 0x2b, 0x06, + 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0x18, 0xbd, 0xfc, 0xf5, + 0xdb, 0x7f, 0x05, 0x3e, 0x40, 0xc1, 0x84, 0x09, 0x43, 0xb2, 0xe8, 0x28, 0x69, 0xf3, 0xb7, 0x50, 0x30, 0x1f, 0x06, 0x03, 0x55, + 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, 0x35, + 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, + 0x00, 0x30, 0x45, 0x02, 0x21, 0x00, 0xd7, 0x8b, 0xf3, 0x31, 0xcc, 0xf7, 0xf0, 0x0d, 0xec, 0x70, 0x5e, 0x17, 0xd6, 0x67, 0xb3, + 0x53, 0xff, 0xd2, 0x87, 0xe4, 0x53, 0x41, 0x76, 0xfa, 0x3d, 0x72, 0xcf, 0x93, 0x2e, 0x89, 0x53, 0xde, 0x02, 0x20, 0x55, 0x68, + 0x80, 0x6d, 0x4d, 0x2d, 0x73, 0x1a, 0x54, 0x2f, 0xb3, 0x44, 0xcc, 0xff, 0x44, 0xf8, 0xdb, 0x19, 0x98, 0x5f, 0xbb, 0x3b, 0x87, + 0x33, 0xd5, 0x50, 0xcf, 0x87, 0x97, 0xd2, 0xe2, 0x1c, +}; +const uint8_t sChipTest_ICAC_Ext_KeyUsage_Critical_Wrong_Cert_DER[448] = { + 0x30, 0x82, 0x01, 0xbc, 0x30, 0x82, 0x01, 0x62, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x76, 0x2d, 0xc2, 0xb1, 0x53, 0xd9, + 0xe3, 0xa6, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0xd2, 0x71, 0xb8, 0xba, 0xde, 0x52, 0xf1, 0x2d, 0xb3, 0xc3, + 0x06, 0x0e, 0x4e, 0xde, 0x30, 0xdd, 0x2f, 0xec, 0x4b, 0xf6, 0xcc, 0x25, 0x23, 0xdc, 0x29, 0x7f, 0xb7, 0xec, 0x7c, 0xef, 0x5f, + 0x73, 0x72, 0xfe, 0x0c, 0x8d, 0x30, 0x2e, 0xc0, 0x46, 0x63, 0xad, 0xde, 0xa2, 0x94, 0xc1, 0x51, 0x12, 0x6e, 0x71, 0xf3, 0xb3, + 0x3f, 0xab, 0x2a, 0xd8, 0xa9, 0xd4, 0xa9, 0x57, 0x05, 0x8a, 0x4f, 0xbb, 0xa3, 0x60, 0x30, 0x5e, 0x30, 0x0f, 0x06, 0x03, 0x55, + 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0b, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x04, 0x04, + 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0xf5, 0x88, 0x26, 0xb9, 0x29, 0x49, + 0x47, 0xf7, 0x21, 0xe7, 0x67, 0xe2, 0xad, 0xeb, 0x6f, 0xe8, 0x40, 0xe7, 0x5b, 0xde, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, + 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, + 0x31, 0x16, 0x65, 0x53, 0x5f, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, + 0x45, 0x02, 0x21, 0x00, 0xfa, 0x4e, 0x78, 0xaf, 0x82, 0x71, 0x49, 0x8c, 0x81, 0x5b, 0xd8, 0x73, 0xcd, 0x74, 0xac, 0x35, 0xc6, + 0xf3, 0x01, 0x06, 0x8a, 0x8a, 0x77, 0xd9, 0x5b, 0x21, 0x45, 0x63, 0x59, 0xcd, 0x6a, 0xb8, 0x02, 0x20, 0x47, 0x89, 0x74, 0xa0, + 0x4f, 0xa1, 0x63, 0x49, 0xfc, 0xc9, 0x47, 0xf3, 0x84, 0xc3, 0x14, 0x76, 0x81, 0xfc, 0x9d, 0xb0, 0xf2, 0x59, 0xf0, 0xb9, 0xd2, + 0x97, 0x14, 0x9d, 0x25, 0xdb, 0x56, 0xdd, +}; +const uint8_t sChipTest_RCAC_Ext_KeyUsage_Critical_Wrong_Cert_DER[414] = { + 0x30, 0x82, 0x01, 0x9a, 0x30, 0x82, 0x01, 0x40, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x65, 0x54, 0x0b, 0x4c, 0xb7, 0x69, + 0x44, 0xcf, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x22, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0xcf, 0x48, + 0xf2, 0xd5, 0xc2, 0x23, 0x90, 0x43, 0x03, 0x5e, 0x7b, 0x2c, 0x4d, 0xef, 0x62, 0x19, 0xef, 0x0f, 0x59, 0x0b, 0xeb, 0x6d, 0x2f, + 0x45, 0x75, 0x47, 0x02, 0xae, 0x5e, 0x45, 0xf1, 0x4f, 0xcd, 0x88, 0x40, 0x39, 0x70, 0x93, 0x2e, 0x76, 0x1e, 0x8b, 0x13, 0x6c, + 0x25, 0x3a, 0xee, 0xbd, 0x9b, 0x00, 0xf2, 0x60, 0xf6, 0x03, 0x99, 0x6e, 0x6d, 0xc8, 0x82, 0x3d, 0xc6, 0x55, 0x8a, 0xe0, 0xa3, + 0x60, 0x30, 0x5e, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, + 0x0b, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, + 0x04, 0x14, 0x22, 0xad, 0xa0, 0x81, 0x28, 0xaf, 0x67, 0x77, 0xae, 0xc5, 0x22, 0x6d, 0x78, 0xcb, 0x30, 0xb8, 0x15, 0xce, 0x43, + 0x76, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0x22, 0xad, 0xa0, 0x81, 0x28, 0xaf, 0x67, + 0x77, 0xae, 0xc5, 0x22, 0x6d, 0x78, 0xcb, 0x30, 0xb8, 0x15, 0xce, 0x43, 0x76, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, + 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, 0x21, 0x00, 0xe1, 0x00, 0xde, 0xf9, 0x4a, 0x97, 0x4a, 0x08, 0xea, + 0x93, 0x0c, 0xb5, 0x26, 0x88, 0x49, 0x67, 0xba, 0x7c, 0xe4, 0xe6, 0x03, 0xf3, 0xfe, 0x90, 0x36, 0xf3, 0x1b, 0xa0, 0x9e, 0x24, + 0x50, 0x89, 0x02, 0x20, 0x32, 0x4b, 0x4f, 0x9d, 0x9c, 0x59, 0xdf, 0x8c, 0xe2, 0xcc, 0x23, 0x88, 0x5a, 0x9a, 0x08, 0x3c, 0x9e, + 0xfc, 0xbe, 0x00, 0xa6, 0x38, 0x0e, 0xc1, 0x22, 0xe7, 0x3d, 0xb9, 0x75, 0xa0, 0x3c, 0xfe, +}; +const uint8_t sChipTest_NOC_Ext_AKID_Length_Invalid_Cert_DER[516] = { + 0x30, 0x82, 0x02, 0x00, 0x30, 0x82, 0x01, 0xa6, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x07, 0x4b, 0xd3, 0x4d, 0x62, 0xa5, + 0x87, 0x1c, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, + 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, + 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x01, 0x0c, 0x10, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x30, 0x30, 0x30, + 0x31, 0x30, 0x30, 0x30, 0x31, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, + 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, + 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, + 0x42, 0x00, 0x04, 0x9e, 0x8a, 0x76, 0x0d, 0xdb, 0x7b, 0x2c, 0x83, 0xd9, 0xe8, 0x77, 0x4d, 0x61, 0x1d, 0x7f, 0xe5, 0xd1, 0xae, + 0x36, 0x5e, 0xaa, 0x7a, 0x0d, 0x96, 0xf6, 0x6e, 0x27, 0x4e, 0xdf, 0x98, 0x87, 0xcc, 0xd2, 0xcc, 0xe6, 0x08, 0xf3, 0x8e, 0x5d, + 0x68, 0xa8, 0xe7, 0x60, 0x3e, 0x25, 0x7a, 0x01, 0x8e, 0x79, 0x25, 0x1c, 0xd0, 0x76, 0x53, 0x03, 0xf7, 0x3d, 0xc6, 0xd1, 0x8d, + 0x89, 0xcd, 0xfa, 0x31, 0xa3, 0x81, 0x81, 0x30, 0x7f, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x02, + 0x30, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x20, 0x06, + 0x03, 0x55, 0x1d, 0x25, 0x01, 0x01, 0xff, 0x04, 0x16, 0x30, 0x14, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x02, + 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, + 0x87, 0x79, 0xc1, 0x81, 0xfd, 0x8f, 0xc4, 0x03, 0xdb, 0xec, 0x31, 0x93, 0x00, 0x67, 0x5d, 0xaf, 0x84, 0x79, 0x98, 0xc9, 0x30, + 0x1e, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x17, 0x30, 0x15, 0x80, 0x13, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, + 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, + 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, 0x20, 0x0c, 0x24, 0x3f, 0x7c, 0xe5, 0xfa, 0x23, 0x9a, 0x9e, 0x38, 0xcd, 0xb2, 0x49, + 0x2e, 0x92, 0xb3, 0xd2, 0x9e, 0x1d, 0xf4, 0x63, 0x30, 0xc8, 0x2f, 0x4e, 0x8b, 0x7a, 0x45, 0x7b, 0xf2, 0x3f, 0x0e, 0x02, 0x21, + 0x00, 0x82, 0xed, 0x33, 0x9f, 0xdc, 0x12, 0xad, 0xdc, 0x39, 0x5d, 0x8e, 0x98, 0xe6, 0xbc, 0x80, 0x83, 0xfc, 0xd4, 0x3f, 0xc6, + 0xe2, 0xf6, 0x00, 0x07, 0x0d, 0x32, 0x9f, 0x81, 0x5f, 0xf0, 0x07, 0x16, +}; +const uint8_t sChipTest_ICAC_Ext_AKID_Length_Invalid_Cert_DER[450] = { + 0x30, 0x82, 0x01, 0xbe, 0x30, 0x82, 0x01, 0x64, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x0c, 0x83, 0x10, 0xc0, 0x05, 0x2d, + 0x01, 0xeb, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x52, 0x02, 0xa2, 0xd1, 0x94, 0x1d, 0x8e, 0x75, 0xdd, 0xca, + 0x58, 0xb6, 0x3f, 0x86, 0x3c, 0x0d, 0x2c, 0x92, 0x46, 0x26, 0xfc, 0x57, 0x7e, 0xf3, 0xe4, 0xac, 0x50, 0xe3, 0x88, 0xe7, 0x91, + 0xac, 0x8e, 0x47, 0x46, 0xfa, 0x2e, 0xd5, 0xf2, 0x12, 0x18, 0x55, 0x81, 0x7d, 0x98, 0x54, 0x81, 0xe4, 0x92, 0x19, 0xee, 0xed, + 0x9d, 0x21, 0xb3, 0xee, 0xd5, 0xd0, 0x49, 0xd0, 0x9a, 0x72, 0xcc, 0xba, 0xa3, 0x62, 0x30, 0x60, 0x30, 0x0f, 0x06, 0x03, 0x55, + 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, + 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0x60, 0x15, 0x2c, + 0x4d, 0x16, 0x21, 0x31, 0xa7, 0x23, 0x1d, 0xc0, 0xa2, 0x3c, 0x67, 0xfb, 0x7c, 0x26, 0x4c, 0xa6, 0x73, 0x30, 0x1e, 0x06, 0x03, + 0x55, 0x1d, 0x23, 0x04, 0x17, 0x30, 0x15, 0x80, 0x13, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, + 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, + 0x00, 0x30, 0x45, 0x02, 0x20, 0x51, 0xde, 0x39, 0x5c, 0x95, 0x57, 0x47, 0xf9, 0xc8, 0xe9, 0x5d, 0x73, 0xa6, 0x3b, 0xee, 0x45, + 0xd8, 0xb7, 0x80, 0x20, 0xc9, 0x78, 0x38, 0xa1, 0xf2, 0x5f, 0x4d, 0xd6, 0xcf, 0xb1, 0x98, 0x78, 0x02, 0x21, 0x00, 0xd3, 0xc3, + 0x39, 0xb7, 0x2a, 0x50, 0xe1, 0x33, 0x85, 0x76, 0xb5, 0xd3, 0x6a, 0xbe, 0x4f, 0x2a, 0x69, 0x5b, 0xb1, 0x96, 0xda, 0x69, 0x2e, + 0x69, 0xe5, 0x5c, 0x85, 0x35, 0xe3, 0xb2, 0x2e, 0x8f, +}; +const uint8_t sChipTest_RCAC_Ext_AKID_Length_Invalid_Cert_DER[415] = { + 0x30, 0x82, 0x01, 0x9b, 0x30, 0x82, 0x01, 0x42, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x56, 0xbe, 0xff, 0x1c, 0x7e, 0x2e, + 0x7c, 0x91, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x22, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x9e, 0xae, + 0x63, 0xd3, 0x66, 0x63, 0xc8, 0xb2, 0xcb, 0x2f, 0xb7, 0x90, 0x9d, 0xee, 0x06, 0xc6, 0x7a, 0x9c, 0xde, 0x8f, 0xaf, 0x40, 0xf3, + 0xac, 0xe0, 0xd9, 0x6a, 0xf8, 0xfe, 0xed, 0xcb, 0x40, 0x0f, 0xa5, 0xd0, 0xb9, 0x9d, 0x7f, 0x6b, 0x1f, 0xfa, 0x0a, 0x3b, 0x4b, + 0x92, 0xb1, 0xc4, 0x06, 0x70, 0xc6, 0x6c, 0xf8, 0xe4, 0xc9, 0x85, 0xdb, 0x01, 0x1c, 0xde, 0x43, 0x21, 0x74, 0xd3, 0x85, 0xa3, + 0x62, 0x30, 0x60, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, + 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, + 0x0e, 0x04, 0x16, 0x04, 0x14, 0xda, 0xab, 0x87, 0xef, 0x9c, 0x84, 0xad, 0x83, 0x27, 0x4c, 0xcb, 0xf7, 0xdd, 0x9d, 0x6d, 0xe5, + 0x04, 0xe6, 0x37, 0x11, 0x30, 0x1e, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x17, 0x30, 0x15, 0x80, 0x13, 0xda, 0xab, 0x87, 0xef, + 0x9c, 0x84, 0xad, 0x83, 0x27, 0x4c, 0xcb, 0xf7, 0xdd, 0x9d, 0x6d, 0xe5, 0x04, 0xe6, 0x37, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x47, 0x00, 0x30, 0x44, 0x02, 0x20, 0x25, 0x47, 0xe0, 0xa5, 0x7f, 0x8a, 0x21, 0xa6, + 0x3e, 0xed, 0x4e, 0xbf, 0x7f, 0x29, 0xfa, 0x7d, 0xda, 0xaf, 0x8f, 0x45, 0x34, 0x15, 0x5a, 0x4e, 0xfd, 0x75, 0xff, 0x53, 0x0d, + 0x7a, 0x81, 0x16, 0x02, 0x20, 0x39, 0x5d, 0xa7, 0x59, 0x05, 0x9f, 0xc9, 0x2c, 0x40, 0x37, 0x95, 0xf8, 0xe9, 0xae, 0x2e, 0x13, + 0xe6, 0x32, 0xea, 0xcf, 0x08, 0x1d, 0x25, 0x85, 0x29, 0xa3, 0xf6, 0x0a, 0x2e, 0xf1, 0x04, 0xcb, +}; +const uint8_t sChipTest_NOC_Ext_SKID_Length_Invalid_Cert_DER[515] = { + 0x30, 0x82, 0x01, 0xff, 0x30, 0x82, 0x01, 0xa6, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x06, 0xa8, 0xdc, 0x62, 0xb1, 0x6d, + 0x74, 0xc8, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, + 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, + 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x01, 0x0c, 0x10, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x44, 0x45, 0x30, 0x30, 0x30, + 0x31, 0x30, 0x30, 0x30, 0x31, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, + 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, + 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, + 0x42, 0x00, 0x04, 0xaf, 0xb8, 0x67, 0x40, 0x00, 0x79, 0xf1, 0x7a, 0xc0, 0xd0, 0xa4, 0x0e, 0xdf, 0x55, 0x44, 0x30, 0xff, 0x6c, + 0xec, 0x17, 0x1d, 0xaf, 0x95, 0x0b, 0x13, 0x90, 0x8c, 0x61, 0x47, 0xfe, 0x42, 0x10, 0x9b, 0xbf, 0x10, 0x1b, 0x97, 0x08, 0xbc, + 0x5a, 0xfc, 0x59, 0x3b, 0x4d, 0xca, 0xfb, 0x8c, 0xcb, 0xb0, 0x1e, 0x63, 0x16, 0xd3, 0x64, 0xd4, 0xc9, 0x03, 0x14, 0xf6, 0xe1, + 0x0f, 0xa7, 0xa3, 0xda, 0xa3, 0x81, 0x81, 0x30, 0x7f, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x02, + 0x30, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x20, 0x06, + 0x03, 0x55, 0x1d, 0x25, 0x01, 0x01, 0xff, 0x04, 0x16, 0x30, 0x14, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x02, + 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x1c, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x15, 0x04, 0x13, + 0xc8, 0xb5, 0xdf, 0x8b, 0xde, 0xbc, 0x90, 0xf0, 0xfd, 0x40, 0x23, 0x08, 0x2d, 0x92, 0x53, 0x8a, 0x9f, 0xd5, 0xa6, 0x30, 0x1f, + 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, + 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, + 0x02, 0x03, 0x47, 0x00, 0x30, 0x44, 0x02, 0x20, 0x59, 0x63, 0xa4, 0x58, 0x06, 0x74, 0xd7, 0xd6, 0x4b, 0x64, 0x60, 0x96, 0x6f, + 0x8a, 0x70, 0xda, 0xf6, 0x45, 0xcc, 0x6b, 0x28, 0x19, 0xd1, 0xbe, 0x4d, 0x87, 0xc0, 0x93, 0xfa, 0x83, 0xf0, 0xf4, 0x02, 0x20, + 0x15, 0x08, 0xdf, 0x21, 0x51, 0x42, 0xec, 0x23, 0xdf, 0x7b, 0x65, 0x7f, 0x08, 0xc8, 0x69, 0x53, 0x23, 0x0c, 0xe1, 0xc7, 0x8f, + 0xe0, 0x90, 0x22, 0x24, 0xfc, 0x38, 0x85, 0x7c, 0x1c, 0x82, 0x98, +}; +const uint8_t sChipTest_ICAC_Ext_SKID_Length_Invalid_Cert_DER[449] = { + 0x30, 0x82, 0x01, 0xbd, 0x30, 0x82, 0x01, 0x64, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x01, 0xb2, 0xdd, 0x2b, 0x8e, 0x2d, + 0xd5, 0x8b, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x44, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x03, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x05, 0x0c, 0x10, 0x46, 0x41, 0x42, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x31, 0x44, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, + 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x62, 0xb4, 0x8a, 0xfd, 0xd8, 0x79, 0x93, 0xdd, 0xeb, 0x0f, + 0x69, 0xc6, 0xc6, 0x02, 0xbf, 0x26, 0xd6, 0x92, 0x06, 0x8b, 0xec, 0xfa, 0x36, 0xd0, 0xfa, 0x9a, 0xd1, 0x0c, 0x57, 0xc6, 0x69, + 0xc8, 0xfa, 0x96, 0x79, 0xc9, 0x2d, 0xbb, 0x89, 0x50, 0xb1, 0x6d, 0x9c, 0x1e, 0xa8, 0x4e, 0xc6, 0x2b, 0xc6, 0xae, 0x67, 0x6d, + 0xfe, 0xd5, 0xc7, 0x82, 0x19, 0xbf, 0x82, 0xed, 0x2f, 0xd3, 0x2f, 0x80, 0xa3, 0x62, 0x30, 0x60, 0x30, 0x0f, 0x06, 0x03, 0x55, + 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, + 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1c, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x15, 0x04, 0x13, 0x33, 0x27, 0x1f, + 0xcf, 0x7c, 0x64, 0x52, 0x25, 0x8a, 0xb0, 0x89, 0xd1, 0x34, 0xa8, 0xa1, 0xf7, 0x6b, 0x9c, 0xee, 0x30, 0x1f, 0x06, 0x03, 0x55, + 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, + 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x47, + 0x00, 0x30, 0x44, 0x02, 0x20, 0x5f, 0xde, 0x8d, 0x6e, 0x47, 0x99, 0xfe, 0x03, 0xa5, 0xd0, 0xbe, 0x76, 0x40, 0xf3, 0x4f, 0xdb, + 0x04, 0x6c, 0xbd, 0xf9, 0x41, 0xed, 0x6a, 0x1e, 0x2d, 0x93, 0xcf, 0x9f, 0xf3, 0xad, 0xc7, 0xf5, 0x02, 0x20, 0x5c, 0x84, 0xc3, + 0xaa, 0x82, 0x6e, 0x09, 0x7e, 0x31, 0xf6, 0x81, 0xc2, 0x99, 0x18, 0x70, 0xd6, 0x56, 0x57, 0x34, 0x81, 0x04, 0x14, 0xe7, 0x49, + 0xca, 0xda, 0x83, 0x51, 0xb2, 0x32, 0x5e, 0x94, +}; +const uint8_t sChipTest_RCAC_Ext_SKID_Length_Invalid_Cert_DER[414] = { + 0x30, 0x82, 0x01, 0x9a, 0x30, 0x82, 0x01, 0x41, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x1e, 0xe8, 0xa2, 0xdc, 0xaa, 0x55, + 0xad, 0x1d, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x22, 0x31, 0x20, 0x30, 0x1e, 0x06, + 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, 0x43, 0x41, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, + 0x33, 0x34, 0x33, 0x5a, 0x17, 0x0d, 0x34, 0x30, 0x31, 0x30, 0x31, 0x35, 0x31, 0x34, 0x32, 0x33, 0x34, 0x32, 0x5a, 0x30, 0x22, + 0x31, 0x20, 0x30, 0x1e, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x01, 0x04, 0x0c, 0x10, 0x43, 0x41, 0x43, + 0x41, 0x43, 0x41, 0x43, 0x41, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x01, 0x44, + 0x08, 0xf8, 0x73, 0x8d, 0x93, 0x0b, 0xc6, 0x5b, 0xe0, 0xf7, 0x9b, 0x68, 0x2c, 0xaf, 0xf6, 0x62, 0xbb, 0x50, 0xcd, 0x72, 0x77, + 0x1e, 0xdf, 0xd0, 0xdf, 0x80, 0xa4, 0xd3, 0xf3, 0x66, 0x07, 0xcd, 0x10, 0x26, 0x3d, 0x14, 0x2e, 0x86, 0xc9, 0xd4, 0xd9, 0x85, + 0xd2, 0x23, 0xab, 0xc9, 0x8a, 0x93, 0x93, 0xad, 0x5d, 0xc5, 0x64, 0x04, 0x4f, 0x81, 0xc0, 0x49, 0x1c, 0x7a, 0x03, 0x89, 0xa3, + 0x61, 0x30, 0x5f, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, + 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1c, 0x06, 0x03, 0x55, 0x1d, + 0x0e, 0x04, 0x15, 0x04, 0x13, 0x18, 0x10, 0xe1, 0xeb, 0xea, 0x44, 0x07, 0x72, 0xda, 0x28, 0x63, 0x55, 0xff, 0x53, 0x44, 0x78, + 0x64, 0x4f, 0xf9, 0x30, 0x1e, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x17, 0x30, 0x15, 0x80, 0x13, 0x18, 0x10, 0xe1, 0xeb, 0xea, + 0x44, 0x07, 0x72, 0xda, 0x28, 0x63, 0x55, 0xff, 0x53, 0x44, 0x78, 0x64, 0x4f, 0xf9, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, + 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x47, 0x00, 0x30, 0x44, 0x02, 0x20, 0x7e, 0xfb, 0xec, 0xa3, 0x51, 0x40, 0x8b, 0x80, 0x93, + 0x6b, 0x10, 0xa7, 0xf3, 0xd8, 0x3f, 0x78, 0xa5, 0xd1, 0x23, 0x63, 0x7f, 0xce, 0x49, 0x4c, 0xd5, 0x5a, 0xd7, 0xff, 0x72, 0x41, + 0x25, 0x19, 0x02, 0x20, 0x3c, 0x30, 0x30, 0xff, 0xe9, 0xff, 0x30, 0x6c, 0x0c, 0x95, 0xbe, 0xd2, 0xe8, 0xb8, 0x9b, 0x94, 0xe8, + 0x22, 0xe1, 0xab, 0xf2, 0x61, 0x5e, 0xd0, 0xf5, 0xa9, 0x3b, 0xef, 0x8b, 0xd7, 0xa1, 0x9e, +}; +const uint8_t sChipTest_NOC_Oversized_Cert_CHIP[480] = { + 0x15, 0x30, 0x01, 0x08, 0x29, 0x65, 0x8b, 0xa1, 0xd4, 0x75, 0xa1, 0xf4, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, 0xef, 0x17, + 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, 0xde, 0xde, 0x27, + 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x2c, 0x01, 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, + 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, 0x73, 0x65, 0x2c, 0x01, 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x7a, 0x65, 0x20, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, 0x73, 0x65, 0x2c, 0x01, 0x40, 0x43, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x44, 0x4e, + 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4f, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, 0x73, 0x65, + 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x30, 0x2e, 0x02, 0x97, 0x65, 0x8b, 0xa6, 0x15, 0xa6, 0xa5, + 0xe1, 0xc8, 0x6b, 0xd2, 0xb0, 0xf1, 0x2d, 0xc6, 0x42, 0x90, 0x7d, 0x28, 0x78, 0x21, 0x13, 0x30, 0x9f, 0xc7, 0x62, 0xe8, 0xb5, + 0x7f, 0x05, 0xe8, 0xaf, 0x6f, 0x5f, 0x0c, 0x51, 0x14, 0x48, 0x40, 0x64, 0xdc, 0xa5, 0x41, 0x9d, 0xa8, 0xc9, 0x1b, 0xbf, 0xe4, + 0xf4, 0x42, 0x86, 0x6f, 0x38, 0x56, 0x69, 0x1d, 0xf3, 0x7b, 0xf1, 0x6d, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, + 0x01, 0x36, 0x03, 0x04, 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0x55, 0xa5, 0x5d, 0x71, 0x54, 0x3e, 0x3a, 0xd3, 0x5f, 0x04, + 0x18, 0xf1, 0xb2, 0x32, 0xe8, 0xec, 0x5a, 0xfd, 0x6a, 0xdd, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, + 0x74, 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x90, 0xbd, 0xb6, 0xdf, 0xe2, + 0xd9, 0x5a, 0xb3, 0x8c, 0xf7, 0x09, 0xdb, 0x35, 0xa4, 0x47, 0x69, 0xb8, 0xfd, 0x8e, 0x60, 0x3f, 0x32, 0xfe, 0x39, 0x32, 0x15, + 0xff, 0xa8, 0xc6, 0xc5, 0xa3, 0x7d, 0x66, 0xf1, 0x0b, 0x57, 0x93, 0xa7, 0xfd, 0x85, 0xb2, 0xc0, 0xf8, 0xa3, 0x3b, 0xbb, 0xcf, + 0xae, 0xdb, 0x7f, 0xb0, 0x97, 0x87, 0x3a, 0xf2, 0xb5, 0x38, 0x1c, 0xd0, 0x97, 0xa0, 0x1d, 0xea, 0x88, 0x18, +}; +const uint8_t sChipTest_ICAC_Oversized_Cert_CHIP[463] = { + 0x15, 0x30, 0x01, 0x08, 0x06, 0xc9, 0x11, 0x82, 0x34, 0xf9, 0xd2, 0x06, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x2c, + 0x01, 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x20, 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, + 0x61, 0x73, 0x65, 0x2c, 0x01, 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x20, 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, + 0x65, 0x73, 0x74, 0x63, 0x61, 0x73, 0x65, 0x2c, 0x01, 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, 0x6d, 0x65, + 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, + 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, 0x73, 0x65, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, + 0x04, 0x9b, 0xa0, 0x39, 0xab, 0xb7, 0x63, 0xc3, 0xa6, 0x66, 0x3b, 0x41, 0x26, 0x14, 0x90, 0xb5, 0x88, 0x3f, 0x97, 0x4c, 0x81, + 0x44, 0x6c, 0x07, 0x45, 0xf4, 0x3d, 0xb7, 0x5f, 0x9f, 0x21, 0x54, 0x55, 0x26, 0xc8, 0x3c, 0x4d, 0xa9, 0x55, 0xc7, 0xca, 0xdd, + 0xf8, 0x1f, 0xc4, 0xfa, 0x59, 0x28, 0x50, 0x35, 0xe1, 0xc3, 0x68, 0x02, 0x0b, 0x1d, 0x57, 0x04, 0x60, 0x65, 0x7c, 0xee, 0x2b, + 0xc1, 0xa7, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0x98, 0x0c, 0x51, 0x46, 0xf2, 0xd8, + 0xf8, 0x08, 0xda, 0x0a, 0xde, 0x0f, 0xa8, 0xdf, 0x14, 0x75, 0xce, 0xcd, 0xbb, 0x92, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, + 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0x77, + 0xf8, 0x1a, 0x82, 0xf0, 0xb9, 0x54, 0x29, 0xd2, 0x27, 0x0f, 0x66, 0x19, 0x74, 0xc6, 0x4e, 0x9b, 0x86, 0xa9, 0x82, 0xb1, 0x60, + 0x19, 0xd7, 0x5b, 0x3a, 0x68, 0x6c, 0x8e, 0x5f, 0xbc, 0xfb, 0xe2, 0xd1, 0x21, 0x49, 0xb8, 0x41, 0x58, 0xb5, 0xb8, 0xac, 0x1d, + 0xbb, 0x02, 0x3f, 0x4d, 0x9b, 0x87, 0x8d, 0x2c, 0xce, 0xe0, 0x84, 0x4a, 0xd5, 0xbd, 0xc7, 0x6b, 0xc9, 0x59, 0x96, 0x1a, 0x9e, + 0x18, +}; +const uint8_t sChipTest_RCAC_Oversized_Cert_CHIP[654] = { + 0x15, 0x30, 0x01, 0x08, 0x35, 0x8f, 0x90, 0xcc, 0x64, 0x3c, 0x01, 0xb6, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x2c, 0x01, 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x20, + 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, + 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, 0x73, 0x65, 0x2c, 0x01, 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, + 0x61, 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, 0x73, 0x65, 0x2c, 0x01, 0x40, 0x43, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x44, 0x4e, 0x20, 0x41, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x7a, 0x65, 0x20, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, 0x73, 0x65, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, + 0xca, 0x2c, 0x01, 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x20, 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, + 0x74, 0x63, 0x61, 0x73, 0x65, 0x2c, 0x01, 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x20, 0x53, + 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x66, + 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, 0x73, 0x65, 0x2c, 0x01, 0x40, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x4e, 0x61, + 0x6d, 0x65, 0x20, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x44, 0x4e, 0x20, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x63, 0x61, 0x73, 0x65, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, + 0x09, 0x41, 0x04, 0x15, 0x0a, 0x89, 0x3d, 0xde, 0x67, 0x45, 0xdf, 0x8c, 0x3a, 0xb0, 0x47, 0x0f, 0xc3, 0x1e, 0x7b, 0xa8, 0x9e, + 0x53, 0xce, 0x2f, 0x9d, 0x87, 0x2a, 0x3f, 0x5c, 0x50, 0x1e, 0x86, 0x6c, 0xab, 0x40, 0x6d, 0x1a, 0xa7, 0x12, 0x32, 0xe3, 0x13, + 0x81, 0xbe, 0xb8, 0x24, 0x1a, 0x7a, 0xac, 0x15, 0xc4, 0x05, 0xd0, 0x15, 0x6b, 0x42, 0xc7, 0x60, 0x4a, 0xcb, 0xce, 0x29, 0x41, + 0xa1, 0x07, 0x77, 0x4b, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0x4b, 0x40, 0x00, 0x94, + 0x5d, 0x5f, 0x21, 0x74, 0xb1, 0x86, 0xc3, 0x33, 0x4e, 0x85, 0xe3, 0xed, 0x31, 0x85, 0xab, 0x0a, 0x30, 0x05, 0x14, 0x4b, 0x40, + 0x00, 0x94, 0x5d, 0x5f, 0x21, 0x74, 0xb1, 0x86, 0xc3, 0x33, 0x4e, 0x85, 0xe3, 0xed, 0x31, 0x85, 0xab, 0x0a, 0x18, 0x30, 0x0b, + 0x40, 0x4f, 0xd0, 0xe7, 0x96, 0x1f, 0xdf, 0x5e, 0xe3, 0x7a, 0x43, 0xcc, 0x24, 0x93, 0xf5, 0xc2, 0xa7, 0xe5, 0xc3, 0x0c, 0xfd, + 0x4e, 0x5c, 0xd3, 0x72, 0xb0, 0x31, 0xcf, 0x5d, 0x76, 0x0c, 0x85, 0x98, 0x98, 0x5f, 0x7a, 0x2e, 0xc9, 0xfe, 0x05, 0x35, 0x8b, + 0x63, 0xea, 0x8a, 0x98, 0xc4, 0xcd, 0x62, 0xe5, 0x10, 0xb7, 0x14, 0x92, 0x51, 0x2e, 0xcd, 0x6f, 0x2d, 0x57, 0xe5, 0x6a, 0x8e, + 0x69, 0x2a, 0x18, +}; +const uint8_t sChipTest_NOC_Serial_Number_Missing_Cert_CHIP[268] = { + 0x15, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, + 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, + 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, + 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xe5, 0x42, 0xb1, 0x95, 0x0b, 0xc0, 0xc5, 0x8e, 0x17, 0x44, 0x57, 0xc1, + 0x3f, 0xc9, 0x3b, 0xa2, 0x01, 0x5e, 0x25, 0x34, 0x19, 0x5b, 0xc3, 0x8b, 0x82, 0x9d, 0x77, 0x46, 0xec, 0xc6, 0x55, 0x5a, 0xdd, + 0xef, 0x50, 0x50, 0x11, 0x72, 0xc6, 0xad, 0x75, 0x93, 0xb6, 0xe0, 0x8a, 0x72, 0xd4, 0x73, 0xa0, 0x22, 0x89, 0x8c, 0x18, 0x0f, + 0xd6, 0x92, 0xf9, 0xf0, 0xd2, 0x08, 0x5a, 0xfc, 0x17, 0xea, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, + 0x03, 0x04, 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0x4d, 0xbf, 0x2b, 0x1b, 0x24, 0x20, 0x0c, 0xe0, 0xaf, 0x5e, 0x96, 0x9d, + 0x2c, 0x0f, 0xe3, 0xfd, 0x37, 0x4e, 0x70, 0x9c, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, + 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x7f, 0x07, 0x8e, 0x18, 0x14, 0x29, 0xda, + 0x6b, 0xf7, 0xa4, 0xc0, 0x6d, 0xd6, 0x66, 0xac, 0x4a, 0x3d, 0x38, 0xb5, 0x13, 0xd9, 0x2b, 0xed, 0x7a, 0xb0, 0x89, 0xc6, 0xa8, + 0x6d, 0x06, 0xba, 0x33, 0xcf, 0xbb, 0x16, 0xe5, 0xa2, 0x63, 0x35, 0x3a, 0xdb, 0x8f, 0xd4, 0xe6, 0x8b, 0x56, 0x35, 0x4b, 0x8f, + 0x6d, 0xa9, 0xc5, 0x5b, 0x23, 0x6e, 0x2a, 0x5f, 0xa7, 0xe8, 0x99, 0x43, 0xa6, 0xc7, 0x37, 0x18, +}; +const uint8_t sChipTest_ICAC_Serial_Number_Missing_Cert_CHIP[251] = { + 0x15, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, + 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, + 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x8d, + 0x74, 0x23, 0xfc, 0x8d, 0xd8, 0x91, 0x6a, 0x3a, 0xac, 0x0f, 0xa1, 0x90, 0xce, 0x40, 0x53, 0x41, 0x3c, 0x30, 0x43, 0x64, 0xe7, + 0x4b, 0x43, 0x4e, 0x6e, 0x0d, 0x14, 0xe1, 0x5f, 0x14, 0x04, 0xed, 0x63, 0xf3, 0x90, 0x20, 0xaf, 0xad, 0x1c, 0x89, 0xef, 0x63, + 0xfd, 0x38, 0xd0, 0x9c, 0xaa, 0x16, 0x34, 0xd9, 0xa9, 0x25, 0x82, 0x01, 0x0f, 0x56, 0x25, 0x7b, 0x9d, 0xa7, 0x4d, 0xbc, 0x15, + 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0xcb, 0x0d, 0xca, 0xa1, 0xd8, 0xb5, 0x0a, 0x96, + 0x20, 0x90, 0xfa, 0x87, 0x90, 0xa5, 0xc7, 0x19, 0x66, 0x63, 0x7e, 0xa2, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, + 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0xb7, 0x2e, 0xc8, + 0x95, 0x9d, 0x41, 0xa8, 0x32, 0x54, 0x3e, 0x72, 0x6c, 0xf6, 0xcb, 0x6d, 0xd6, 0xe6, 0xb7, 0x80, 0xb2, 0xd2, 0x33, 0xdb, 0x0c, + 0x08, 0xbf, 0xce, 0x42, 0x05, 0xae, 0x0f, 0x5c, 0x6c, 0x92, 0xcf, 0x43, 0x11, 0x29, 0xe4, 0xbb, 0x2f, 0xe3, 0xcc, 0xeb, 0xeb, + 0xdd, 0x8f, 0xba, 0xf1, 0x90, 0x70, 0xa6, 0x1e, 0x06, 0xa1, 0x4f, 0xe5, 0x6a, 0x9b, 0x91, 0x0a, 0xdf, 0xe1, 0xb8, 0x18, +}; +const uint8_t sChipTest_RCAC_Serial_Number_Missing_Cert_CHIP[241] = { + 0x15, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, + 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, + 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xeb, 0x10, 0x5a, 0xf4, 0x65, 0x0d, 0x82, 0x80, 0x0b, 0x5d, 0x05, + 0xd6, 0x6a, 0x09, 0xb9, 0xd7, 0x52, 0xcc, 0x95, 0xcc, 0x91, 0x1f, 0xc9, 0xbf, 0x90, 0xb7, 0x27, 0xd6, 0xea, 0x8d, 0x21, 0xe1, + 0x0f, 0x5a, 0x89, 0x0a, 0x6e, 0x1d, 0x43, 0x94, 0xef, 0xd1, 0x9e, 0xcd, 0x7a, 0xd3, 0x18, 0xe7, 0x5a, 0x20, 0xd0, 0xee, 0x54, + 0x7b, 0x47, 0xca, 0x20, 0x85, 0x29, 0x03, 0xb0, 0xfb, 0xb5, 0x55, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, + 0x30, 0x04, 0x14, 0x6b, 0x9c, 0xd6, 0x62, 0x21, 0x2f, 0x99, 0xa8, 0xcc, 0x08, 0xf1, 0xb6, 0xc6, 0x7a, 0x60, 0x74, 0x67, 0x30, + 0xf7, 0xaf, 0x30, 0x05, 0x14, 0x6b, 0x9c, 0xd6, 0x62, 0x21, 0x2f, 0x99, 0xa8, 0xcc, 0x08, 0xf1, 0xb6, 0xc6, 0x7a, 0x60, 0x74, + 0x67, 0x30, 0xf7, 0xaf, 0x18, 0x30, 0x0b, 0x40, 0xc5, 0x13, 0xe2, 0x41, 0x68, 0x10, 0xe8, 0x61, 0xa7, 0x33, 0xc2, 0x7c, 0x6e, + 0x4d, 0x9c, 0x0e, 0x08, 0xc4, 0x38, 0x1a, 0x6c, 0x76, 0x4c, 0x78, 0xe0, 0x94, 0x27, 0x3b, 0x04, 0xbb, 0x18, 0x5f, 0x45, 0x2b, + 0xde, 0xa1, 0x69, 0x83, 0x2d, 0xca, 0x8e, 0xf0, 0x8b, 0x83, 0x91, 0x16, 0x6d, 0x46, 0x08, 0xfb, 0x09, 0x1d, 0x54, 0x33, 0xf2, + 0x82, 0xf6, 0x6c, 0x60, 0xc3, 0xb2, 0x3e, 0x14, 0xa0, 0x18, +}; +const uint8_t sChipTest_NOC_Sig_Algo_ECDSA_With_SHA1_Cert_CHIP[279] = { + 0x15, 0x30, 0x01, 0x08, 0x54, 0xfb, 0x8c, 0x93, 0x33, 0x31, 0x5d, 0x67, 0x24, 0x02, 0x02, 0x37, 0x03, 0x27, 0x13, 0x04, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, + 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, + 0x09, 0x41, 0x04, 0xc0, 0x31, 0xa4, 0xf1, 0xd9, 0xeb, 0x73, 0xf5, 0xa1, 0x0c, 0x77, 0x85, 0x84, 0xc0, 0x93, 0xd8, 0x35, + 0x32, 0xe1, 0x03, 0x63, 0xf4, 0x71, 0xee, 0xb9, 0x4a, 0x46, 0xe3, 0x76, 0x92, 0x52, 0x7b, 0xe0, 0x70, 0x5c, 0x1c, 0x9d, + 0x50, 0x04, 0x44, 0x42, 0xd3, 0x13, 0xac, 0x44, 0x0b, 0x57, 0xd5, 0x50, 0x7a, 0x6a, 0xd6, 0x1e, 0xac, 0x9a, 0xcd, 0x37, + 0x88, 0xb6, 0x23, 0x8b, 0x35, 0x7f, 0xda, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, + 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0x7c, 0x5c, 0x18, 0x59, 0xe8, 0xe5, 0xdb, 0xfd, 0xb1, 0xc7, 0xc7, 0x8d, 0x09, + 0xa1, 0x8c, 0x87, 0xa1, 0x66, 0xcf, 0x56, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, + 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x28, 0x9d, 0x90, 0xd3, 0x5f, 0xad, + 0x4f, 0xb8, 0x96, 0xe9, 0x4f, 0x00, 0x28, 0x80, 0xa2, 0x15, 0x7b, 0x59, 0x3d, 0x46, 0x33, 0x87, 0x26, 0x51, 0xea, 0x9b, + 0xa5, 0x3d, 0xa3, 0x18, 0x08, 0xfd, 0xb4, 0x73, 0x2f, 0x73, 0x41, 0x3f, 0x35, 0x32, 0xb6, 0xf7, 0x20, 0x00, 0x0c, 0x40, + 0xcf, 0xc9, 0xed, 0x22, 0x6c, 0x66, 0x34, 0x21, 0x8c, 0x22, 0x59, 0xf0, 0x40, 0x30, 0xef, 0x2e, 0xc6, 0x90, 0x18, +}; +const uint8_t sChipTest_ICAC_Sig_Algo_ECDSA_With_SHA1_Cert_CHIP[262] = { + 0x15, 0x30, 0x01, 0x08, 0x2c, 0x8b, 0x70, 0xc4, 0x95, 0xa8, 0x7c, 0x31, 0x24, 0x02, 0x02, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, + 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x5f, 0x88, 0xbe, 0xc6, 0x48, 0xd3, 0x70, 0x1c, 0x6e, 0x55, 0x0c, + 0x7e, 0x50, 0xb3, 0xee, 0x6d, 0x25, 0x14, 0x42, 0x95, 0x34, 0xcd, 0x4d, 0x0a, 0xcd, 0xf7, 0xaf, 0xb6, 0x7a, 0x2f, 0x5d, 0x02, + 0x0c, 0x2f, 0x6d, 0x8e, 0x0f, 0xb3, 0x4e, 0xa6, 0x1e, 0x90, 0x69, 0x6a, 0x35, 0x69, 0x7b, 0x08, 0xb3, 0xe6, 0xfa, 0x71, 0xbc, + 0xa7, 0x4a, 0x8f, 0x94, 0x78, 0x53, 0x0c, 0xaf, 0xd0, 0x84, 0xe8, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, + 0x30, 0x04, 0x14, 0x8f, 0xed, 0x41, 0xe1, 0x80, 0x9b, 0x11, 0xea, 0x9d, 0xf6, 0x96, 0x50, 0x85, 0x27, 0x27, 0x7e, 0xde, 0x16, + 0xff, 0x4c, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, + 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0x25, 0xd7, 0x03, 0xca, 0xcb, 0x6f, 0xb4, 0xfa, 0xd2, 0x7c, 0x18, 0xef, 0x86, + 0x78, 0x57, 0x84, 0xa2, 0xa5, 0xf4, 0x5a, 0xeb, 0xca, 0x46, 0xfe, 0xad, 0xd8, 0x68, 0x47, 0xcd, 0x32, 0x8a, 0xbf, 0x3b, 0x05, + 0x6e, 0x6f, 0x67, 0x8a, 0x53, 0x17, 0xcb, 0x7d, 0xab, 0x91, 0x6a, 0x26, 0x78, 0xb1, 0x52, 0x29, 0x63, 0x04, 0xb7, 0x7a, 0x62, + 0x7b, 0x31, 0x2c, 0xf5, 0x41, 0x9e, 0xdc, 0x7f, 0xfb, 0x18, +}; +const uint8_t sChipTest_RCAC_Sig_Algo_ECDSA_With_SHA1_Cert_CHIP[252] = { + 0x15, 0x30, 0x01, 0x08, 0x2a, 0xff, 0xfa, 0x1a, 0x7c, 0xfd, 0x93, 0x1b, 0x24, 0x02, 0x02, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, + 0x91, 0x4f, 0xcc, 0x5a, 0x38, 0x02, 0x10, 0x4c, 0xc7, 0xa1, 0xb0, 0x8e, 0x07, 0x88, 0xe6, 0x1c, 0x44, 0xae, 0x37, 0x68, 0x71, + 0xd2, 0x51, 0x81, 0x71, 0x04, 0xb9, 0x74, 0xa2, 0x53, 0x94, 0x74, 0x08, 0xb8, 0x1c, 0x62, 0x5e, 0x3c, 0x9b, 0xba, 0x98, 0x46, + 0x66, 0xe5, 0x64, 0xa8, 0xbc, 0xc8, 0x4f, 0xb3, 0x33, 0x97, 0xaf, 0x9b, 0xce, 0x68, 0xfd, 0xce, 0x45, 0x24, 0xdc, 0x87, 0xe8, + 0xc5, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0xda, 0xd7, 0x62, 0x4a, 0x3a, 0x59, 0xe3, + 0xd4, 0x68, 0x5f, 0xcf, 0x95, 0x21, 0xb0, 0xbe, 0xc3, 0x4d, 0x5c, 0xbe, 0x54, 0x30, 0x05, 0x14, 0xda, 0xd7, 0x62, 0x4a, 0x3a, + 0x59, 0xe3, 0xd4, 0x68, 0x5f, 0xcf, 0x95, 0x21, 0xb0, 0xbe, 0xc3, 0x4d, 0x5c, 0xbe, 0x54, 0x18, 0x30, 0x0b, 0x40, 0x0e, 0x5f, + 0xeb, 0xc3, 0x03, 0x6b, 0xe4, 0xc6, 0x0c, 0xe1, 0x56, 0x23, 0x54, 0x13, 0x7c, 0x75, 0x77, 0x66, 0x6e, 0x10, 0x75, 0xdd, 0x6c, + 0xf2, 0x9d, 0x76, 0xa1, 0x07, 0xb4, 0xeb, 0x6f, 0xaf, 0x75, 0x00, 0x44, 0xb8, 0x90, 0xd9, 0x85, 0x4e, 0x36, 0x46, 0x91, 0x97, + 0x83, 0xd4, 0x44, 0xc7, 0x75, 0xbe, 0xfb, 0x73, 0x83, 0x79, 0x61, 0x66, 0xff, 0xe6, 0x7b, 0xd5, 0x3e, 0x71, 0x9d, 0x15, 0x18, +}; +const uint8_t sChipTest_NOC_Issuer_Missing_Cert_CHIP[256] = { + 0x15, 0x30, 0x01, 0x08, 0x6f, 0x80, 0x7c, 0xe8, 0xac, 0x7b, 0xe7, 0x3b, 0x24, 0x02, 0x01, 0x26, 0x04, 0xef, 0x17, 0x1b, + 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, 0xde, 0xde, 0x27, + 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, + 0x1c, 0xee, 0xe2, 0x42, 0xc4, 0xec, 0xca, 0x12, 0xcd, 0xfd, 0x0a, 0xec, 0x0b, 0x7a, 0x41, 0x17, 0x3b, 0x42, 0x12, 0x97, + 0x39, 0xb6, 0xb9, 0x0b, 0xac, 0xe3, 0x27, 0x35, 0x62, 0xee, 0x7f, 0x34, 0xc4, 0xb5, 0x9f, 0xa9, 0x4f, 0x98, 0x40, 0x6b, + 0x1c, 0x3c, 0x0c, 0x5a, 0x54, 0x4b, 0xf3, 0xef, 0x33, 0xb2, 0x63, 0xf3, 0x1b, 0x37, 0x11, 0x5f, 0x11, 0x0a, 0xcb, 0x59, + 0x68, 0xd2, 0x11, 0xb7, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, 0x02, 0x04, 0x01, + 0x18, 0x30, 0x04, 0x14, 0x7f, 0x5a, 0x68, 0xd0, 0x7e, 0xaf, 0x3c, 0x85, 0xaf, 0xc8, 0x82, 0x20, 0x30, 0x40, 0x0f, 0x79, + 0x98, 0x15, 0x8e, 0xef, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, 0x35, + 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x7b, 0xa6, 0x83, 0x8d, 0x86, 0x7d, 0xcd, 0xb0, 0x5c, + 0x57, 0x73, 0x71, 0x90, 0x9f, 0x0a, 0xe8, 0x38, 0x58, 0x6e, 0x65, 0x61, 0x58, 0x20, 0x0a, 0xd8, 0xa6, 0x54, 0x21, 0x95, + 0x22, 0xeb, 0x82, 0x73, 0x9c, 0xfc, 0x56, 0x21, 0x73, 0x40, 0x4f, 0xc1, 0x22, 0x91, 0x48, 0xb6, 0x03, 0x41, 0x97, 0x6f, + 0x1e, 0x5c, 0xeb, 0x93, 0x27, 0xe9, 0x4c, 0xce, 0x4c, 0x7c, 0x3b, 0xb1, 0x41, 0xff, 0xb6, 0x18, +}; +const uint8_t sChipTest_ICAC_Issuer_Missing_Cert_CHIP[249] = { + 0x15, 0x30, 0x01, 0x08, 0x31, 0x5d, 0xfe, 0xb0, 0x7b, 0xa4, 0x90, 0xc1, 0x24, 0x02, 0x01, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, + 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, + 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xc5, 0x85, 0x81, + 0xd7, 0xdf, 0x97, 0xd3, 0xfa, 0x24, 0x67, 0xb5, 0x33, 0x32, 0x65, 0x74, 0x07, 0x90, 0x19, 0x02, 0xaf, 0x5f, 0x72, 0x8a, 0x1b, + 0xb3, 0x42, 0xd7, 0xee, 0x20, 0x7e, 0xa0, 0x7a, 0xb0, 0x45, 0x38, 0x09, 0x7c, 0xc4, 0x25, 0x1b, 0x20, 0xeb, 0x8e, 0xa8, 0x98, + 0x03, 0xad, 0xd0, 0xf9, 0x6d, 0x1b, 0xe9, 0x0a, 0xc8, 0x1c, 0x7b, 0x31, 0x7d, 0x0e, 0xee, 0xe7, 0x06, 0x8e, 0xc3, 0x37, 0x0a, + 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0x19, 0x2a, 0x60, 0x33, 0xe1, 0x56, 0xb3, 0xec, 0x1f, 0x59, + 0x10, 0x29, 0x48, 0xd9, 0x12, 0x4d, 0x44, 0xbb, 0xea, 0x77, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, + 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0xa9, 0x04, 0x05, 0x14, 0xf8, + 0xcb, 0x99, 0xe2, 0x38, 0x63, 0x03, 0x5d, 0x15, 0x4f, 0x4c, 0x75, 0xc8, 0x66, 0xd9, 0xec, 0x22, 0xab, 0x08, 0xd4, 0xc1, 0x80, + 0xf4, 0x9a, 0x67, 0x07, 0x77, 0x72, 0xed, 0xed, 0x99, 0xe9, 0x5a, 0x01, 0x7b, 0x2b, 0x13, 0xf4, 0x66, 0x34, 0x06, 0xa3, 0xc0, + 0xf9, 0x32, 0x3d, 0xa2, 0x9c, 0x02, 0x16, 0x18, 0x33, 0x56, 0x65, 0x1b, 0x17, 0x16, 0x1e, 0x32, 0xf6, 0x18, +}; +const uint8_t sChipTest_RCAC_Issuer_Missing_Cert_CHIP[239] = { + 0x15, 0x30, 0x01, 0x08, 0x07, 0x80, 0xca, 0xab, 0x0d, 0xc1, 0x5a, 0xe2, 0x24, 0x02, 0x01, 0x26, 0x04, 0xef, 0x17, 0x1b, + 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, + 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xb0, 0x87, 0x31, 0x85, 0x54, 0xa0, 0x5b, 0x8b, 0x76, 0xed, + 0x71, 0xd6, 0xdd, 0xe2, 0xac, 0xc4, 0x33, 0x28, 0x20, 0x74, 0x96, 0x34, 0xcd, 0x54, 0x09, 0x4c, 0x80, 0xdf, 0xf2, 0xc3, + 0x5b, 0xac, 0xb2, 0xd5, 0x9d, 0x19, 0xff, 0x05, 0xd0, 0xfc, 0xc8, 0xdc, 0x93, 0x53, 0xfb, 0x17, 0x6d, 0x15, 0x99, 0xcc, + 0x44, 0xc2, 0xf7, 0x5e, 0x5f, 0xb9, 0x84, 0x9c, 0xc5, 0xb7, 0xfc, 0x3c, 0xb7, 0x78, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, + 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0x53, 0x40, 0x7c, 0xa3, 0xa3, 0x4e, 0x50, 0xa7, 0xf7, 0xf9, 0x51, 0xd6, 0xe5, + 0x91, 0xc1, 0x39, 0x39, 0x31, 0x3d, 0x47, 0x30, 0x05, 0x14, 0x53, 0x40, 0x7c, 0xa3, 0xa3, 0x4e, 0x50, 0xa7, 0xf7, 0xf9, + 0x51, 0xd6, 0xe5, 0x91, 0xc1, 0x39, 0x39, 0x31, 0x3d, 0x47, 0x18, 0x30, 0x0b, 0x40, 0x88, 0x51, 0xe8, 0x3d, 0xf6, 0x3c, + 0x55, 0x6c, 0x2b, 0x93, 0xb7, 0x43, 0xdf, 0x20, 0xa2, 0x9e, 0xd9, 0x01, 0xff, 0xf5, 0xa4, 0x20, 0x1f, 0xdb, 0x57, 0xd4, + 0x5a, 0xe5, 0x0e, 0x1a, 0xa7, 0xc4, 0xc2, 0x2b, 0x98, 0x6b, 0x3a, 0x27, 0xc9, 0x42, 0x9a, 0x20, 0x7c, 0xdf, 0x77, 0x9e, + 0x72, 0x22, 0x5c, 0xad, 0xa7, 0x5e, 0xbe, 0x59, 0xb2, 0x18, 0xf4, 0x00, 0x38, 0xe4, 0xd2, 0x2c, 0x02, 0xfe, 0x18, +}; +const uint8_t sChipTest_NOC_Validity_Not_Before_Missing_Cert_CHIP[273] = { + 0x15, 0x30, 0x01, 0x08, 0x6b, 0xcb, 0x27, 0x90, 0x3c, 0x7c, 0xe1, 0x6d, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x05, 0x6e, 0xb5, + 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xf5, 0xe6, 0xe7, 0xab, 0x25, 0xbd, 0x4d, + 0xd7, 0x51, 0xbb, 0xb6, 0x4d, 0x64, 0x7b, 0x1d, 0xeb, 0x70, 0x9b, 0xf2, 0x5a, 0x96, 0x0a, 0xe1, 0x5c, 0x63, 0xc8, 0x76, 0x85, + 0xc8, 0xf7, 0xb8, 0x9b, 0x21, 0x82, 0xc3, 0x2c, 0x74, 0x9d, 0xca, 0xfc, 0x05, 0xd5, 0x1f, 0xcc, 0x7c, 0x44, 0xf9, 0x35, 0x4c, + 0xb4, 0xcb, 0x69, 0xb0, 0xd9, 0x46, 0xb5, 0xf6, 0x1d, 0x4c, 0xcb, 0x67, 0x61, 0x2e, 0xcd, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, + 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0xa7, 0x46, 0xc7, 0xaf, 0x1a, 0x39, 0x20, + 0xb0, 0x37, 0x64, 0xb4, 0x57, 0x9e, 0xd5, 0xf3, 0xe4, 0x7b, 0x94, 0xa9, 0xc3, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, + 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x5c, 0x81, + 0x2c, 0x8f, 0xb1, 0xca, 0x17, 0xa2, 0x32, 0xe1, 0x7f, 0xed, 0x78, 0xcc, 0x91, 0xa3, 0x5c, 0x9f, 0x02, 0xab, 0xfd, 0x5b, 0xb6, + 0x3f, 0xb6, 0x14, 0xf7, 0x77, 0xcc, 0x9f, 0x82, 0x1b, 0x27, 0x11, 0xa9, 0x79, 0x86, 0x32, 0xd2, 0x63, 0x6b, 0xc3, 0xb4, 0x0a, + 0xf7, 0xd4, 0x6e, 0x0a, 0xa9, 0xae, 0x47, 0x58, 0xbc, 0x22, 0xc2, 0xd3, 0x94, 0x50, 0x92, 0x52, 0x36, 0xce, 0x86, 0x2c, 0x18, +}; +const uint8_t sChipTest_ICAC_Validity_Not_Before_Missing_Cert_CHIP[256] = { + 0x15, 0x30, 0x01, 0x08, 0x38, 0xa9, 0xb1, 0x2b, 0xc6, 0x57, 0x11, 0x97, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x13, 0x03, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, + 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x12, 0x67, 0x1d, 0x4c, 0x35, 0xb5, 0x42, 0x7c, 0xaf, 0x40, 0xa3, 0x53, 0x94, + 0x79, 0x5f, 0x80, 0x56, 0x1d, 0xfb, 0x61, 0xe3, 0x4e, 0x44, 0xfd, 0xad, 0x69, 0x71, 0x1f, 0x7c, 0x08, 0x30, 0xd9, 0xd1, + 0x63, 0x7b, 0x82, 0x6b, 0x71, 0xd9, 0x1f, 0xb3, 0x16, 0xb0, 0x0f, 0xe1, 0xce, 0x84, 0x6e, 0x3e, 0x46, 0xb6, 0x63, 0x8e, + 0x25, 0x27, 0x66, 0x9d, 0x43, 0xdd, 0x6f, 0x17, 0x54, 0xf3, 0x43, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, + 0x60, 0x30, 0x04, 0x14, 0xeb, 0xed, 0x79, 0xde, 0xba, 0xed, 0xf8, 0x14, 0xc3, 0xaa, 0xe1, 0xa9, 0xe6, 0xda, 0x09, 0x30, + 0x4b, 0x9e, 0x1a, 0xd8, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, + 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0xca, 0xd0, 0xf3, 0x9e, 0x7f, 0x48, 0x48, 0x4b, 0x8e, + 0xe8, 0x3d, 0xc6, 0x52, 0xaf, 0xf1, 0xa6, 0x70, 0x75, 0x83, 0x52, 0xc5, 0xfa, 0x82, 0x46, 0x56, 0x0e, 0xf6, 0x4a, 0x76, + 0x0f, 0x46, 0xa1, 0xa4, 0xd0, 0x75, 0x75, 0x1a, 0x88, 0xd3, 0xc1, 0x4c, 0x2e, 0x1c, 0x97, 0xb4, 0x36, 0x9c, 0x6f, 0x7b, + 0xad, 0x7f, 0xaf, 0xfd, 0xd4, 0x82, 0xa3, 0x83, 0x74, 0xe7, 0x15, 0x27, 0x87, 0x8a, 0x7e, 0x18, +}; +const uint8_t sChipTest_RCAC_Validity_Not_Before_Missing_Cert_CHIP[246] = { + 0x15, 0x30, 0x01, 0x08, 0x0b, 0x6a, 0xed, 0xea, 0xee, 0x86, 0xde, 0xfd, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, + 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xdb, 0x94, 0xb5, 0x65, 0x07, 0xf8, + 0x05, 0x40, 0x5f, 0x49, 0x76, 0x87, 0xcf, 0x7d, 0xf4, 0x5e, 0x9e, 0xa1, 0x83, 0xf7, 0x31, 0x60, 0xb1, 0xbd, 0xa9, 0xa2, 0x26, + 0xe6, 0x11, 0xd6, 0x73, 0x9f, 0x7f, 0x45, 0xb6, 0x5d, 0xbb, 0x03, 0xb3, 0x1e, 0xbf, 0xb3, 0xf4, 0x93, 0x4b, 0x5f, 0xac, 0x5f, + 0xe2, 0x82, 0xb8, 0x2a, 0xe7, 0x85, 0x55, 0x13, 0x63, 0xba, 0x14, 0x1b, 0x2a, 0x36, 0x6d, 0x5c, 0x37, 0x0a, 0x35, 0x01, 0x29, + 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0xa7, 0x68, 0x39, 0x01, 0x47, 0xbe, 0x14, 0x92, 0x11, 0xa9, 0x03, 0x78, 0x98, + 0x1d, 0xa0, 0x9a, 0x33, 0x55, 0x65, 0x60, 0x30, 0x05, 0x14, 0xa7, 0x68, 0x39, 0x01, 0x47, 0xbe, 0x14, 0x92, 0x11, 0xa9, 0x03, + 0x78, 0x98, 0x1d, 0xa0, 0x9a, 0x33, 0x55, 0x65, 0x60, 0x18, 0x30, 0x0b, 0x40, 0xac, 0x0b, 0x69, 0x4d, 0x05, 0x07, 0x61, 0xe6, + 0x76, 0x27, 0xa0, 0x88, 0xa3, 0xe8, 0xe7, 0x56, 0x83, 0x3c, 0xdc, 0x48, 0x65, 0x86, 0x6e, 0xd2, 0xc0, 0x08, 0x37, 0x5a, 0x13, + 0xc1, 0x41, 0x72, 0x82, 0xca, 0x44, 0xae, 0x79, 0x7c, 0xbc, 0x26, 0x6d, 0x65, 0xa5, 0xbb, 0xce, 0xcd, 0x4a, 0x68, 0x97, 0xd4, + 0xe4, 0xb9, 0x7c, 0xce, 0x9b, 0x94, 0xdf, 0xfa, 0x11, 0x37, 0x25, 0xca, 0xd4, 0x24, 0x18, +}; +const uint8_t sChipTest_NOC_Validity_Not_After_Missing_Cert_CHIP[273] = { + 0x15, 0x30, 0x01, 0x08, 0x0f, 0x87, 0xe6, 0x31, 0x08, 0xee, 0x9e, 0x02, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, 0xef, 0x17, + 0x1b, 0x27, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xcb, 0x39, 0x42, 0xfb, 0x4c, 0x90, 0xb3, + 0x3a, 0x37, 0x89, 0x78, 0x46, 0xfc, 0xe6, 0x47, 0xa5, 0x22, 0x96, 0x56, 0x37, 0x43, 0xbb, 0x9f, 0x0c, 0x07, 0xb5, 0xa7, 0x58, + 0xbd, 0xee, 0x45, 0x38, 0x07, 0xd3, 0x5c, 0xdd, 0x5c, 0x39, 0x39, 0x97, 0x19, 0xba, 0x3c, 0x4e, 0x3b, 0x93, 0x71, 0x24, 0x79, + 0x80, 0x66, 0x36, 0x5f, 0x35, 0x00, 0xd3, 0xb4, 0x22, 0xdb, 0x9c, 0x7e, 0xc4, 0x7c, 0x93, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, + 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0xc4, 0x5a, 0xd8, 0x91, 0x77, 0x87, 0x11, + 0xb2, 0x02, 0xd2, 0xde, 0xa7, 0x60, 0x2f, 0xb6, 0xc4, 0x7d, 0xf7, 0x0e, 0x4c, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, + 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0xa7, 0x88, + 0xbb, 0xc9, 0x86, 0x6c, 0xd8, 0x93, 0x68, 0x70, 0x65, 0x2c, 0xfa, 0x98, 0xac, 0xe2, 0x41, 0x7c, 0x73, 0x21, 0x88, 0xbf, 0x7a, + 0xee, 0x35, 0x42, 0x83, 0xb0, 0x10, 0x1f, 0x7e, 0x47, 0x1d, 0x97, 0xd5, 0x1f, 0x21, 0x24, 0xdd, 0xae, 0xf1, 0x0f, 0x62, 0x81, + 0xa6, 0x82, 0x79, 0x6a, 0x6b, 0xb1, 0xca, 0xb8, 0x24, 0x1b, 0xc8, 0x3f, 0x34, 0xda, 0x71, 0x05, 0x9a, 0x58, 0xb6, 0x68, 0x18, +}; +const uint8_t sChipTest_ICAC_Validity_Not_After_Missing_Cert_CHIP[256] = { + 0x15, 0x30, 0x01, 0x08, 0x43, 0x83, 0x0b, 0x92, 0xc9, 0x87, 0xe2, 0xee, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x37, 0x06, 0x27, 0x13, 0x03, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, + 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x20, 0xa6, 0xcf, 0xaf, 0xe6, 0xc8, 0x40, 0xfe, 0xc9, 0x48, 0x2f, 0x3a, 0x52, + 0x4f, 0xbe, 0x9c, 0xb6, 0xee, 0x72, 0x74, 0xd9, 0x08, 0xb0, 0xb0, 0xd8, 0xa8, 0x7c, 0xc5, 0x7e, 0x4d, 0x87, 0x44, 0x7e, + 0x2e, 0x63, 0x5e, 0xf6, 0xac, 0x3e, 0x53, 0xde, 0x78, 0x07, 0x7d, 0x9e, 0x37, 0x77, 0x42, 0x46, 0x1d, 0x1f, 0xf3, 0x82, + 0x66, 0x26, 0xf3, 0x45, 0x20, 0x9e, 0xee, 0x95, 0x1e, 0x6a, 0xc0, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, + 0x60, 0x30, 0x04, 0x14, 0xc4, 0xf8, 0x4b, 0x1f, 0xa0, 0x93, 0xde, 0xd8, 0x44, 0x89, 0x98, 0x0d, 0x0e, 0x2c, 0x32, 0x8a, + 0xf6, 0x61, 0x1d, 0xc3, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, + 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0xc2, 0x62, 0x24, 0xed, 0x2e, 0xa3, 0xb2, 0xb1, 0xed, + 0x14, 0x5a, 0xfc, 0x38, 0xfb, 0x41, 0xe1, 0x13, 0x73, 0x72, 0x56, 0x82, 0x7f, 0x16, 0x46, 0x11, 0x80, 0xb8, 0x13, 0x90, + 0xd4, 0x2c, 0x0f, 0x03, 0x12, 0xe6, 0xea, 0x75, 0x9b, 0xe9, 0xa1, 0x9e, 0xab, 0x2d, 0xd8, 0xf6, 0x30, 0x96, 0x54, 0x1f, + 0x68, 0xca, 0x37, 0x38, 0x56, 0x2d, 0xe7, 0xc4, 0x4a, 0x93, 0x2b, 0xd7, 0x99, 0x9b, 0xf7, 0x18, +}; +const uint8_t sChipTest_RCAC_Validity_Not_After_Missing_Cert_CHIP[246] = { + 0x15, 0x30, 0x01, 0x08, 0x41, 0x35, 0xc2, 0x8c, 0x77, 0xdb, 0x75, 0x4a, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x37, 0x06, 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, + 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x0d, 0x3b, 0x81, 0x07, 0x3e, 0x18, + 0x04, 0x3a, 0x9c, 0x16, 0xbb, 0x2b, 0x80, 0x4d, 0xba, 0xf6, 0xd9, 0xf7, 0xc5, 0x19, 0x5a, 0xc5, 0x23, 0x2a, 0x3d, 0x58, 0x68, + 0x2a, 0xa1, 0x44, 0x09, 0xaa, 0x3b, 0x9e, 0x89, 0x36, 0xac, 0x49, 0x59, 0x61, 0x5d, 0x28, 0x28, 0x33, 0x47, 0xc6, 0xcf, 0x64, + 0x1c, 0x29, 0x4d, 0x0c, 0x8a, 0xdc, 0xeb, 0xe9, 0x7e, 0x56, 0x92, 0x9d, 0x7a, 0xc9, 0x90, 0x25, 0x37, 0x0a, 0x35, 0x01, 0x29, + 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0x51, 0x06, 0x79, 0xc8, 0x34, 0xcb, 0x1c, 0xaf, 0x12, 0x9e, 0xfe, 0x1e, 0xb1, + 0xf6, 0xc3, 0x22, 0xc1, 0x68, 0x33, 0xe0, 0x30, 0x05, 0x14, 0x51, 0x06, 0x79, 0xc8, 0x34, 0xcb, 0x1c, 0xaf, 0x12, 0x9e, 0xfe, + 0x1e, 0xb1, 0xf6, 0xc3, 0x22, 0xc1, 0x68, 0x33, 0xe0, 0x18, 0x30, 0x0b, 0x40, 0xf5, 0x76, 0x1d, 0xb8, 0x8f, 0xda, 0x9a, 0x49, + 0x71, 0xb9, 0x62, 0x45, 0x89, 0xde, 0xdc, 0x10, 0x95, 0xa0, 0xa6, 0x7e, 0xbe, 0x8e, 0x1a, 0x1e, 0x30, 0xdb, 0x11, 0xd7, 0xcc, + 0xf7, 0xaf, 0x4f, 0xcc, 0x2a, 0x2b, 0x47, 0xe4, 0x46, 0x63, 0x8a, 0x7f, 0xc5, 0x89, 0xc3, 0xf8, 0x7b, 0xca, 0x4e, 0xe3, 0x44, + 0xac, 0x68, 0xb7, 0x4f, 0x1b, 0x74, 0x59, 0x49, 0xe9, 0xb3, 0x91, 0xbc, 0xb8, 0x26, 0x18, +}; +const uint8_t sChipTest_NOC_Validity_Wrong_Cert_CHIP[279] = { + 0x15, 0x30, 0x01, 0x08, 0x4d, 0xed, 0xd4, 0x47, 0xc3, 0x55, 0x32, 0xd9, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, + 0x6e, 0xb5, 0xb9, 0x4c, 0x26, 0x05, 0xef, 0x17, 0x1b, 0x27, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, + 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, + 0x09, 0x41, 0x04, 0x7a, 0x24, 0xf0, 0xa6, 0xe8, 0xac, 0xfb, 0x0c, 0x9e, 0x3c, 0xa1, 0x36, 0x8e, 0xa9, 0xeb, 0xaf, 0x50, + 0x27, 0x6c, 0x6b, 0x02, 0xf8, 0x34, 0x57, 0x83, 0x4b, 0x25, 0xa1, 0xe9, 0xed, 0x41, 0x9a, 0xbc, 0x1b, 0x39, 0x1d, 0x4d, + 0x5d, 0x88, 0x1f, 0xd9, 0xbf, 0x72, 0x7c, 0xd6, 0xe6, 0x0c, 0x60, 0x23, 0xf6, 0xfc, 0x19, 0x64, 0x5a, 0xf4, 0xc6, 0x9c, + 0x2d, 0x1f, 0x57, 0x1f, 0x09, 0xc5, 0x90, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, + 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0xbb, 0x17, 0x50, 0x0c, 0x9e, 0x89, 0x7b, 0xb6, 0xff, 0x0e, 0x47, 0xb9, 0x49, + 0xd6, 0xc2, 0x3e, 0x32, 0xc9, 0x47, 0x39, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, + 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x2a, 0xf7, 0x71, 0x32, 0x1f, 0x60, + 0x37, 0x3a, 0x48, 0x90, 0xce, 0x67, 0xb6, 0x99, 0x1a, 0x1c, 0xdc, 0x6b, 0x02, 0xf1, 0xbb, 0x9f, 0x56, 0xba, 0xed, 0xa4, + 0x1e, 0x1f, 0xd8, 0xc7, 0x8f, 0xbf, 0x23, 0x26, 0xd8, 0x6a, 0x0f, 0x9e, 0xa3, 0x0c, 0x89, 0x42, 0xe3, 0x7e, 0x1d, 0xe7, + 0xfd, 0xc4, 0x67, 0x86, 0x38, 0x71, 0xb1, 0xf9, 0xed, 0x95, 0x1a, 0xf9, 0xa5, 0xc5, 0x9b, 0xc1, 0x09, 0xc3, 0x18, +}; +const uint8_t sChipTest_ICAC_Validity_Wrong_Cert_CHIP[262] = { + 0x15, 0x30, 0x01, 0x08, 0x1e, 0x9a, 0xc4, 0x8a, 0x23, 0x78, 0xcf, 0x0c, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0x6e, 0xb5, 0xb9, 0x4c, 0x26, 0x05, 0xef, 0x17, 0x1b, 0x27, 0x37, 0x06, + 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, + 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x84, 0x10, 0xae, 0x26, 0xd8, 0x02, 0x8e, 0x01, 0x83, 0xe9, 0xec, + 0x1d, 0xd4, 0x16, 0xb9, 0xe0, 0xd3, 0x4d, 0x00, 0x0e, 0x0d, 0xde, 0x89, 0x09, 0xa1, 0xc5, 0xb8, 0x94, 0x72, 0x7f, 0xa2, 0xa9, + 0x8b, 0xdf, 0xab, 0xc8, 0x74, 0x53, 0x10, 0xa4, 0xc5, 0x19, 0x39, 0x02, 0x33, 0x1f, 0x2a, 0xb2, 0x6e, 0x6b, 0x02, 0xc5, 0x1a, + 0x9f, 0x2e, 0x22, 0x1e, 0x70, 0xce, 0x28, 0xb7, 0x54, 0x0c, 0x30, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, + 0x30, 0x04, 0x14, 0xf2, 0x87, 0x9e, 0xb3, 0xb1, 0xbd, 0x8f, 0xf3, 0x26, 0xd1, 0xdd, 0xde, 0x0c, 0xc8, 0xdf, 0x80, 0x88, 0x5d, + 0x04, 0xc5, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, + 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0x31, 0x76, 0x7f, 0x9e, 0x23, 0xff, 0xf3, 0xb7, 0xd1, 0xd2, 0x14, 0xd2, 0xb2, + 0x67, 0xde, 0xe5, 0x93, 0x1f, 0x2e, 0xc6, 0xd6, 0x06, 0x19, 0x69, 0xd7, 0x07, 0x3a, 0x54, 0xc6, 0x1d, 0xff, 0xd7, 0x3a, 0xfa, + 0x6a, 0x04, 0x6a, 0x4a, 0xa7, 0x08, 0x92, 0x84, 0x40, 0xeb, 0x13, 0x5c, 0xcc, 0x31, 0x49, 0x24, 0x97, 0x6d, 0x9e, 0xfe, 0x54, + 0xb8, 0xf8, 0x18, 0x29, 0xa3, 0xe0, 0xa7, 0x6c, 0xe4, 0x18, +}; +const uint8_t sChipTest_RCAC_Validity_Wrong_Cert_CHIP[252] = { + 0x15, 0x30, 0x01, 0x08, 0x7b, 0x0d, 0x87, 0x15, 0xd2, 0xff, 0x7a, 0xaa, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0x6e, 0xb5, 0xb9, 0x4c, 0x26, 0x05, 0xef, 0x17, 0x1b, 0x27, 0x37, 0x06, + 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, + 0x02, 0x7e, 0xf8, 0xc9, 0x90, 0x4d, 0xd5, 0x3c, 0x04, 0xac, 0x45, 0x29, 0x13, 0xc5, 0xbe, 0x92, 0x4e, 0x51, 0x7d, 0x3d, 0xb4, + 0xbe, 0xc3, 0x30, 0x5e, 0x7b, 0xde, 0xf6, 0xa6, 0x27, 0xf8, 0x41, 0x87, 0xcc, 0x8c, 0x32, 0x83, 0xde, 0x2a, 0x67, 0xb6, 0x14, + 0x19, 0xdd, 0xd9, 0x32, 0x7e, 0x2a, 0x8f, 0x87, 0x21, 0x39, 0xe6, 0x87, 0xbd, 0x18, 0xf8, 0x1d, 0xae, 0x90, 0xb5, 0xac, 0xda, + 0x8c, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0xc7, 0x2d, 0xfa, 0x86, 0xb1, 0xb6, 0xc2, + 0x19, 0x1c, 0x25, 0x57, 0xd6, 0xbb, 0x4c, 0x71, 0x17, 0xd1, 0xc0, 0xfc, 0x4c, 0x30, 0x05, 0x14, 0xc7, 0x2d, 0xfa, 0x86, 0xb1, + 0xb6, 0xc2, 0x19, 0x1c, 0x25, 0x57, 0xd6, 0xbb, 0x4c, 0x71, 0x17, 0xd1, 0xc0, 0xfc, 0x4c, 0x18, 0x30, 0x0b, 0x40, 0x2d, 0xec, + 0xb8, 0xb4, 0x5a, 0xd3, 0xc1, 0x7e, 0x0a, 0xb0, 0x3e, 0x97, 0xd3, 0x75, 0xc3, 0xd5, 0x8e, 0x6e, 0xfa, 0xd4, 0xcd, 0x6b, 0x13, + 0xb4, 0xd8, 0x7e, 0xe7, 0xb8, 0x1b, 0xba, 0x9c, 0x06, 0x25, 0xc8, 0x1f, 0x41, 0x7f, 0xf4, 0xa8, 0xf3, 0x24, 0x27, 0xc1, 0x1b, + 0xd3, 0xb5, 0x92, 0xf0, 0x4b, 0x22, 0x76, 0x43, 0xaa, 0x4a, 0x39, 0xd0, 0xe1, 0x6e, 0x4b, 0x1a, 0x16, 0xbe, 0xdb, 0xc5, 0x18, +}; +const uint8_t sChipTest_NOC_Subject_Missing_Cert_CHIP[256] = { + 0x15, 0x30, 0x01, 0x08, 0x6c, 0x48, 0x44, 0x56, 0x76, 0x58, 0x7d, 0x3a, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, + 0x3e, 0xe5, 0xb5, 0x31, 0x98, 0xe3, 0x3c, 0xcc, 0xfd, 0xb5, 0xb6, 0x69, 0x00, 0xa4, 0x75, 0x5f, 0x24, 0xf8, 0xe6, 0x32, + 0x4e, 0x6e, 0xa9, 0x78, 0xce, 0x61, 0xea, 0x4b, 0x6b, 0x27, 0xe4, 0xc2, 0x9c, 0xec, 0x9f, 0xba, 0x3c, 0xa2, 0x1e, 0xd9, + 0x78, 0x8a, 0x93, 0x5b, 0x4e, 0x02, 0x15, 0x35, 0x16, 0x7f, 0x70, 0xa6, 0x99, 0x0f, 0x50, 0xfe, 0x30, 0x39, 0x29, 0xf9, + 0x92, 0xb6, 0x2f, 0x06, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, 0x02, 0x04, 0x01, + 0x18, 0x30, 0x04, 0x14, 0xe2, 0x57, 0x05, 0x5a, 0x6a, 0xc7, 0x0e, 0xb7, 0xd6, 0xaf, 0xf3, 0x0a, 0x69, 0xf2, 0x72, 0xb2, + 0x28, 0x29, 0xbc, 0xef, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, 0x35, + 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x9c, 0x58, 0x53, 0xc8, 0x6f, 0x6c, 0xf2, 0xe3, 0x5f, + 0x3a, 0xfd, 0x3f, 0x0c, 0xeb, 0x0c, 0xa2, 0xce, 0xf8, 0x20, 0xd2, 0x45, 0xab, 0x08, 0x6c, 0xfb, 0x88, 0x7b, 0x0b, 0xa7, + 0x53, 0x4f, 0xad, 0xef, 0x9d, 0x40, 0xa7, 0x98, 0xd9, 0x90, 0xb0, 0xc5, 0xa2, 0xf9, 0xec, 0xd3, 0x1b, 0xdf, 0xb0, 0xff, + 0xd9, 0x8b, 0x5b, 0xb4, 0x56, 0x56, 0x33, 0x6c, 0xcf, 0x8a, 0x73, 0x1e, 0xa5, 0xa4, 0x31, 0x18, +}; +const uint8_t sChipTest_ICAC_Subject_Missing_Cert_CHIP[239] = { + 0x15, 0x30, 0x01, 0x08, 0x4c, 0x80, 0xee, 0xf8, 0x60, 0x56, 0xb5, 0x5d, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, + 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x9c, 0x65, 0x9e, 0x72, 0x11, 0x1a, 0x46, 0xc3, 0x63, 0x2b, + 0xc0, 0x06, 0xf9, 0xb4, 0x5e, 0xee, 0xa8, 0x8e, 0x1f, 0xbb, 0x31, 0x84, 0x99, 0x4f, 0xaf, 0x92, 0x80, 0x1c, 0x0b, 0x09, + 0x6d, 0xf8, 0x35, 0x9b, 0x06, 0x17, 0xb1, 0xad, 0x0b, 0x6b, 0x9b, 0x44, 0x34, 0x13, 0xd2, 0x8c, 0xf9, 0x6e, 0x0e, 0x71, + 0xca, 0xf2, 0x33, 0x3f, 0x9c, 0x85, 0x9d, 0x17, 0x8f, 0xdb, 0xe8, 0x56, 0xc6, 0xf3, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, + 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0xc9, 0x54, 0xea, 0x32, 0xe3, 0xad, 0x27, 0x8b, 0x0d, 0x3a, 0x36, 0x82, 0xfe, + 0x4a, 0x74, 0x01, 0x51, 0x2a, 0xe6, 0x14, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, + 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0xc9, 0xfe, 0x06, 0xec, 0xdd, 0xec, + 0xa5, 0xa5, 0x53, 0x13, 0xea, 0xb8, 0x3c, 0x2a, 0xd6, 0x16, 0xc2, 0x64, 0x77, 0x8c, 0x8b, 0xef, 0xc0, 0x95, 0x3b, 0x78, + 0x7c, 0x3e, 0x6f, 0xef, 0x43, 0x64, 0x63, 0x8a, 0xd9, 0xb9, 0x75, 0x4b, 0x97, 0x8b, 0x58, 0x18, 0xa5, 0x49, 0x08, 0xf4, + 0xed, 0x81, 0x68, 0x37, 0x5d, 0x80, 0xcb, 0x74, 0x50, 0x0b, 0x35, 0x1d, 0xdb, 0x44, 0x26, 0x11, 0x64, 0x1a, 0x18, +}; +const uint8_t sChipTest_RCAC_Subject_Missing_Cert_CHIP[239] = { + 0x15, 0x30, 0x01, 0x08, 0x07, 0x1f, 0xdc, 0xe5, 0x49, 0xe6, 0xe1, 0x8c, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, + 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xd6, 0x52, 0x68, 0xc9, 0xe5, 0x7e, 0x30, 0x19, 0x0d, 0x5a, + 0xa2, 0x95, 0xf2, 0x37, 0x1d, 0x8b, 0x1d, 0xcb, 0xd8, 0x18, 0xda, 0x6b, 0xdb, 0xf3, 0x90, 0xb4, 0x07, 0x4c, 0x41, 0x00, + 0xdb, 0xcc, 0xae, 0x92, 0x5e, 0xf3, 0x0b, 0xc8, 0x6a, 0x26, 0xa1, 0x34, 0xd8, 0x09, 0x4e, 0xeb, 0x22, 0x2e, 0x8b, 0x67, + 0xac, 0x44, 0x18, 0xc4, 0x94, 0xba, 0x17, 0x04, 0xc1, 0x0a, 0x2c, 0x8c, 0x03, 0x4d, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, + 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0x2d, 0xb0, 0x05, 0x34, 0x5f, 0x7e, 0x30, 0x6b, 0x0c, 0xa4, 0x34, 0xb9, 0x22, + 0x25, 0x53, 0x45, 0xe8, 0x14, 0xfe, 0x28, 0x30, 0x05, 0x14, 0x2d, 0xb0, 0x05, 0x34, 0x5f, 0x7e, 0x30, 0x6b, 0x0c, 0xa4, + 0x34, 0xb9, 0x22, 0x25, 0x53, 0x45, 0xe8, 0x14, 0xfe, 0x28, 0x18, 0x30, 0x0b, 0x40, 0xfa, 0x9d, 0x18, 0x44, 0xea, 0x6b, + 0x1e, 0x6d, 0x1c, 0x25, 0xa8, 0xb1, 0x26, 0xea, 0x3d, 0x88, 0x1b, 0xa8, 0x05, 0xb4, 0x23, 0xd0, 0xcd, 0xfc, 0xde, 0x63, + 0x50, 0x58, 0x46, 0xbf, 0x2a, 0xc0, 0xe3, 0x78, 0x6f, 0x57, 0x60, 0x2d, 0x4e, 0x28, 0x37, 0xd5, 0x38, 0xd8, 0x9b, 0xe6, + 0x26, 0xf4, 0xa6, 0x32, 0x2c, 0x46, 0x47, 0xa0, 0x43, 0x85, 0x05, 0x9c, 0x11, 0x91, 0x7b, 0x34, 0xf0, 0x0f, 0x18, +}; +const uint8_t sChipTest_NOC_Subject_MatterId_Missing_Cert_CHIP[269] = { + 0x15, 0x30, 0x01, 0x08, 0x41, 0xbb, 0x5a, 0x27, 0xc8, 0x71, 0x48, 0xd1, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, 0xef, 0x17, + 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, + 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x55, 0x2a, 0x6f, 0x97, 0x44, 0xaa, 0x79, 0xfb, 0x28, 0x59, 0xf3, + 0x89, 0x59, 0x92, 0x6d, 0x8c, 0x43, 0xd9, 0x53, 0x5c, 0xfa, 0xe4, 0x4b, 0x25, 0x8d, 0xc4, 0x76, 0x14, 0xb6, 0x9e, 0x37, 0x0a, + 0xc5, 0x87, 0x3e, 0xde, 0xf5, 0xdc, 0xb2, 0xf0, 0x3b, 0xe7, 0xef, 0xc3, 0x89, 0xeb, 0xfc, 0x84, 0xb8, 0xef, 0xc9, 0xe0, 0x25, + 0x76, 0x96, 0xae, 0x5a, 0x35, 0x8d, 0x0a, 0x35, 0x90, 0x36, 0xc6, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, + 0x36, 0x03, 0x04, 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0x23, 0x8c, 0x8c, 0x18, 0x1d, 0x26, 0xee, 0xeb, 0x9c, 0x11, 0xac, + 0xf6, 0xd8, 0x01, 0x1e, 0x34, 0x38, 0x5e, 0x80, 0x8a, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, + 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x25, 0x2d, 0x3a, 0x53, 0x77, 0xe1, + 0x21, 0x28, 0xd6, 0xf4, 0x5b, 0x93, 0x3d, 0xd2, 0x53, 0x38, 0x77, 0x4e, 0x01, 0x46, 0x6c, 0x62, 0xf4, 0x0b, 0x34, 0x2c, 0x52, + 0x8b, 0x7c, 0xae, 0xec, 0x7c, 0xcc, 0x77, 0x11, 0xc1, 0x7a, 0xfb, 0x5c, 0x8f, 0xa4, 0x84, 0x80, 0xdc, 0x80, 0x65, 0x39, 0x38, + 0xdf, 0xcb, 0xdb, 0xad, 0x73, 0x1c, 0xd3, 0x6a, 0xaa, 0xa1, 0x82, 0x05, 0x9e, 0x38, 0x59, 0xeb, 0x18, +}; +const uint8_t sChipTest_ICAC_Subject_MatterId_Missing_Cert_CHIP[252] = { + 0x15, 0x30, 0x01, 0x08, 0x02, 0x92, 0x32, 0x69, 0x1c, 0x9a, 0xb0, 0x4f, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, + 0x5a, 0x55, 0x25, 0xc8, 0xe7, 0xfd, 0x23, 0x72, 0x7b, 0x6e, 0x88, 0xc2, 0x2f, 0x7b, 0x27, 0x4e, 0x90, 0xee, 0x8d, 0x50, 0xad, + 0xbf, 0x74, 0xcc, 0x85, 0x31, 0x1d, 0xf3, 0xe7, 0x70, 0x0d, 0xa9, 0xc4, 0x88, 0x70, 0x88, 0x3c, 0xa3, 0x6a, 0xca, 0xc9, 0x86, + 0x3d, 0x2b, 0x68, 0x02, 0xbd, 0x53, 0x82, 0xad, 0x63, 0x3f, 0xb6, 0x15, 0x98, 0xe8, 0xed, 0xaa, 0x5e, 0x98, 0x72, 0xad, 0xcd, + 0x0b, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0x06, 0x2c, 0xa6, 0x68, 0x0f, 0x84, 0x73, + 0x5b, 0x49, 0xc4, 0x97, 0x2c, 0x88, 0xf2, 0x60, 0xfa, 0xd4, 0xc1, 0x49, 0x3c, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, + 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0xe8, 0x50, + 0x20, 0x13, 0xe4, 0x2a, 0x79, 0xcd, 0x42, 0x09, 0xcc, 0x65, 0xfa, 0x09, 0xca, 0x60, 0xf4, 0xe5, 0x82, 0x46, 0x2e, 0xbc, 0xa7, + 0xa1, 0x43, 0x72, 0x82, 0xc5, 0x03, 0x2e, 0x6e, 0xd5, 0x3d, 0x02, 0xb7, 0x64, 0xd7, 0x80, 0xc8, 0xa1, 0xb6, 0x32, 0xeb, 0x89, + 0x34, 0x10, 0x90, 0xd4, 0x67, 0xac, 0x48, 0x33, 0x7d, 0x6b, 0x9d, 0xdc, 0x49, 0x83, 0x10, 0x5b, 0xd0, 0x21, 0x02, 0xb8, 0x18, +}; +const uint8_t sChipTest_RCAC_Subject_MatterId_Missing_Cert_CHIP[232] = { + 0x15, 0x30, 0x01, 0x08, 0x2c, 0x6a, 0x90, 0x63, 0x29, 0x20, 0x60, 0xdb, 0x24, 0x02, 0x01, 0x37, 0x03, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, + 0x09, 0x41, 0x04, 0x6d, 0xf1, 0x43, 0x2c, 0x22, 0xf6, 0x58, 0xdc, 0x77, 0x9e, 0x6a, 0x93, 0x23, 0xb3, 0xcc, 0xfe, 0x4f, + 0x70, 0xe3, 0x9c, 0x39, 0x19, 0x3e, 0xfc, 0x8a, 0x80, 0x0a, 0x89, 0xe3, 0x4a, 0xea, 0xfe, 0x9e, 0x22, 0x8d, 0x1a, 0xae, + 0x09, 0xba, 0x75, 0xff, 0x83, 0x33, 0xbe, 0xf2, 0x59, 0x4a, 0x38, 0xb1, 0xeb, 0x15, 0xf4, 0x9b, 0x3a, 0x77, 0x44, 0x98, + 0x96, 0xa7, 0xc3, 0x16, 0xc3, 0xac, 0x82, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, + 0xab, 0x25, 0x91, 0xcb, 0xe7, 0x87, 0x5d, 0xdf, 0x67, 0xdc, 0x52, 0x34, 0x11, 0x9e, 0xf9, 0xcb, 0x16, 0xd7, 0xdf, 0xd5, + 0x30, 0x05, 0x14, 0xab, 0x25, 0x91, 0xcb, 0xe7, 0x87, 0x5d, 0xdf, 0x67, 0xdc, 0x52, 0x34, 0x11, 0x9e, 0xf9, 0xcb, 0x16, + 0xd7, 0xdf, 0xd5, 0x18, 0x30, 0x0b, 0x40, 0xf6, 0x67, 0xcb, 0xef, 0xfe, 0x5b, 0x2b, 0x7e, 0x6f, 0x8a, 0x2d, 0xe9, 0x5a, + 0x3f, 0x21, 0x06, 0xe9, 0x3d, 0xbb, 0x98, 0x9c, 0xa3, 0x06, 0x48, 0x02, 0xe7, 0x52, 0xdd, 0xb8, 0x73, 0xd0, 0xa2, 0x79, + 0x69, 0xe3, 0x6e, 0xc7, 0xe4, 0x56, 0xdf, 0x8c, 0x2b, 0x03, 0x52, 0xa0, 0x05, 0xb1, 0x38, 0x46, 0x03, 0x37, 0x48, 0x44, + 0x73, 0x3f, 0x62, 0x8e, 0xdd, 0xba, 0x04, 0x9a, 0x3e, 0xd4, 0x5c, 0x18, +}; +const uint8_t sChipTest_NOC_Subject_NodeId_Invalid_Cert_CHIP[279] = { + 0x15, 0x30, 0x01, 0x08, 0x44, 0xa5, 0x3e, 0x51, 0x07, 0xc9, 0xf8, 0x65, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x09, 0x00, 0x00, 0x00, 0xf0, 0xff, + 0xff, 0xff, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, + 0x09, 0x41, 0x04, 0xe6, 0xf8, 0x32, 0x80, 0x41, 0x49, 0x79, 0x95, 0xe1, 0xbe, 0x4c, 0x02, 0x80, 0xd3, 0xf9, 0xd6, 0xed, + 0x5c, 0xc6, 0xb2, 0xf9, 0xc2, 0x4e, 0xaf, 0xab, 0xcf, 0xe2, 0x6f, 0x36, 0x97, 0xf4, 0x89, 0x49, 0xe9, 0x52, 0x5d, 0x3f, + 0x07, 0x27, 0x25, 0xc0, 0xb4, 0xce, 0xcd, 0x50, 0x14, 0x97, 0x4d, 0x23, 0xf7, 0x9d, 0x58, 0x3c, 0xbc, 0xb6, 0x34, 0xdc, + 0x92, 0xd1, 0x77, 0x72, 0x35, 0x62, 0x58, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, + 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0x81, 0xa3, 0xc7, 0x07, 0xf6, 0x49, 0x5d, 0x7d, 0x50, 0xa5, 0x6b, 0xea, 0x5f, + 0x6f, 0xcb, 0x4a, 0x10, 0x4f, 0x34, 0x32, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, + 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x75, 0x62, 0x14, 0xcb, 0x41, 0x05, + 0x86, 0x52, 0x86, 0xa6, 0x2a, 0xe4, 0x43, 0x41, 0xc5, 0xf5, 0xf3, 0xf9, 0x0f, 0xb2, 0x7f, 0x30, 0xee, 0xbc, 0x94, 0x55, + 0xea, 0x20, 0xf3, 0x77, 0xe4, 0x22, 0x5e, 0xb3, 0xa2, 0x08, 0x7d, 0x75, 0xf2, 0x76, 0x88, 0xa3, 0xa6, 0x03, 0xde, 0x0b, + 0xf8, 0x06, 0xdc, 0x2b, 0x40, 0x77, 0x8c, 0xa0, 0x33, 0x1a, 0xb5, 0xad, 0xbf, 0xe0, 0x9a, 0x4e, 0xf3, 0x67, 0x18, +}; +const uint8_t sChipTest_NOC_Subject_MatterId_Twice_Cert_CHIP[289] = { + 0x15, 0x30, 0x01, 0x08, 0x19, 0x6f, 0xed, 0x31, 0x86, 0x42, 0x1d, 0x5c, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, 0xef, 0x17, + 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, 0xde, 0xde, 0x27, + 0x11, 0x02, 0x00, 0x01, 0x00, 0xde, 0xde, 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, + 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x6f, 0xee, 0xbf, 0xb7, 0x47, 0xce, 0x78, 0x3a, 0x34, 0x92, 0x88, 0x7e, + 0xaf, 0x15, 0x3b, 0xa4, 0x3d, 0x07, 0x42, 0x7b, 0x39, 0xd3, 0xaa, 0x50, 0x90, 0x78, 0xf7, 0x56, 0x2e, 0xfb, 0x98, 0x9b, 0x05, + 0x08, 0x77, 0xec, 0x02, 0xcf, 0xd7, 0x96, 0x8f, 0x87, 0xcb, 0x8d, 0x1e, 0xc1, 0x84, 0xeb, 0x0c, 0x4e, 0x21, 0x2a, 0x31, 0x9e, + 0x3b, 0x6e, 0xe9, 0xe5, 0xdb, 0xd1, 0xd6, 0x60, 0xf3, 0x38, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, + 0x03, 0x04, 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0xe7, 0xb5, 0x1d, 0xf0, 0x6b, 0xf4, 0x64, 0xb9, 0x3f, 0x30, 0x8a, 0x4e, + 0x3b, 0xc3, 0xfd, 0xf0, 0xd2, 0xda, 0xa0, 0xd3, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, + 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0xe1, 0x25, 0xba, 0x7f, 0x6c, 0x9f, 0x81, + 0xb6, 0xd7, 0x06, 0x9c, 0x96, 0x00, 0x83, 0x14, 0x82, 0x23, 0xa2, 0xe7, 0xf4, 0x06, 0x4d, 0x83, 0xbc, 0x19, 0x31, 0x89, 0xcc, + 0x68, 0x5d, 0xef, 0x9f, 0x11, 0xf2, 0x87, 0x66, 0x6d, 0xa1, 0x80, 0x64, 0x08, 0xc4, 0xb6, 0x2e, 0x92, 0x94, 0xcd, 0x50, 0xa8, + 0x1a, 0x78, 0x28, 0x15, 0x6f, 0xca, 0x06, 0x79, 0xcc, 0xe1, 0xe6, 0xbd, 0x5d, 0x54, 0xd4, 0x18, +}; +const uint8_t sChipTest_ICAC_Subject_MatterId_Twice_Cert_CHIP[272] = { + 0x15, 0x30, 0x01, 0x08, 0x4f, 0x53, 0x27, 0xd3, 0x0c, 0x7a, 0x0b, 0xee, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x13, 0x04, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, + 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x9e, + 0x23, 0xf5, 0x00, 0xce, 0xd5, 0x36, 0xbc, 0x1d, 0xf0, 0xcc, 0xfa, 0xfe, 0x2f, 0xb1, 0xd8, 0x1b, 0x39, 0xa7, 0x23, 0x12, 0x01, + 0xea, 0xff, 0xaf, 0x8e, 0xb8, 0x37, 0x38, 0x94, 0xbb, 0x2b, 0x23, 0x12, 0xa3, 0xde, 0x76, 0xd6, 0xe6, 0x06, 0x9a, 0x4c, 0xff, + 0xd2, 0xe8, 0xef, 0x82, 0x0d, 0xdf, 0x76, 0xc2, 0xa2, 0x22, 0x35, 0xa5, 0xf8, 0x11, 0x3c, 0xc2, 0x1e, 0xb5, 0x99, 0xdf, 0xd9, + 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0x62, 0x18, 0x3d, 0x4f, 0xdc, 0x02, 0x81, 0x6f, + 0x51, 0x30, 0x51, 0x67, 0x2f, 0xfd, 0xd1, 0xd3, 0x21, 0x1f, 0xed, 0x9b, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, + 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0x48, 0x9b, 0x87, + 0x2b, 0xd2, 0x34, 0xf9, 0x95, 0xf5, 0x22, 0x21, 0xfe, 0x01, 0xdf, 0x2c, 0x82, 0xb3, 0xc5, 0x35, 0x7e, 0x9d, 0x4f, 0x09, 0x60, + 0xfa, 0xc4, 0xef, 0xf7, 0x4a, 0x75, 0x88, 0x02, 0x78, 0x52, 0x90, 0x95, 0xa9, 0x16, 0x96, 0xaa, 0xbc, 0x15, 0x19, 0x0a, 0x5e, + 0x87, 0x4a, 0x15, 0x5a, 0x37, 0x4c, 0x65, 0xfe, 0x1c, 0x0d, 0xd9, 0x82, 0x16, 0xe7, 0xfe, 0x0f, 0xa0, 0xad, 0xf6, 0x18, +}; +const uint8_t sChipTest_RCAC_Subject_MatterId_Twice_Cert_CHIP[272] = { + 0x15, 0x30, 0x01, 0x08, 0x7f, 0x9d, 0x5f, 0xe8, 0x9a, 0xbb, 0x50, 0xcc, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x14, 0x02, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, + 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, + 0x14, 0x02, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x6c, + 0x89, 0x10, 0xb2, 0x88, 0xfd, 0x31, 0x31, 0x72, 0x3f, 0xe4, 0x96, 0x98, 0x1b, 0x79, 0x76, 0xdf, 0x27, 0x89, 0x36, 0x25, 0x74, + 0xf1, 0x0a, 0x19, 0x28, 0xe3, 0xe0, 0x72, 0x26, 0xaf, 0x68, 0x71, 0xe8, 0xc7, 0xcd, 0x6b, 0x2d, 0x4c, 0x30, 0xc6, 0x7a, 0x23, + 0xc9, 0xa8, 0x43, 0x14, 0xfe, 0x80, 0x39, 0xd8, 0x52, 0x09, 0x8c, 0x5e, 0xee, 0xf2, 0x3c, 0x8d, 0xe7, 0x2b, 0x0c, 0x00, 0x3d, + 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0x4e, 0xeb, 0x55, 0x1b, 0xe4, 0x75, 0x43, 0x0e, + 0x27, 0x8f, 0xa0, 0x71, 0x3f, 0xf2, 0xed, 0xef, 0x8a, 0xba, 0x4e, 0xaf, 0x30, 0x05, 0x14, 0x4e, 0xeb, 0x55, 0x1b, 0xe4, 0x75, + 0x43, 0x0e, 0x27, 0x8f, 0xa0, 0x71, 0x3f, 0xf2, 0xed, 0xef, 0x8a, 0xba, 0x4e, 0xaf, 0x18, 0x30, 0x0b, 0x40, 0xc5, 0xf9, 0x65, + 0x5b, 0x64, 0x04, 0x37, 0x2d, 0xa0, 0xa0, 0xd7, 0xa1, 0xf4, 0xab, 0xee, 0x22, 0x3e, 0x59, 0xb5, 0xe6, 0xc8, 0xef, 0xa1, 0x99, + 0x08, 0xfb, 0x0f, 0x24, 0x14, 0xc6, 0x81, 0x81, 0x08, 0xc9, 0xb1, 0x2c, 0x74, 0x84, 0xc0, 0xcf, 0xf1, 0x38, 0xfb, 0x0f, 0x81, + 0xef, 0x68, 0xb8, 0x4d, 0x63, 0xbe, 0x62, 0x01, 0x6c, 0x9b, 0xd5, 0x4d, 0x1d, 0xf6, 0x52, 0xb4, 0xe9, 0x74, 0x4c, 0x18, +}; +const uint8_t sChipTest_NOC_Subject_FabricId_Missing_Cert_CHIP[269] = { + 0x15, 0x30, 0x01, 0x08, 0x6b, 0xf3, 0xa6, 0xf6, 0x6d, 0x62, 0x92, 0xc9, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, 0xef, 0x17, + 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, 0xde, 0xde, 0x18, + 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x32, 0xe6, 0xa9, 0xad, 0x1d, 0x88, 0x02, 0x3f, 0x3b, 0xa1, 0xfd, + 0xc6, 0xa2, 0xe6, 0x5e, 0xe8, 0xb8, 0x87, 0x9d, 0x46, 0x2f, 0x41, 0xf4, 0x9c, 0x0d, 0xc3, 0x7d, 0xa0, 0xa2, 0x7c, 0xc3, 0x32, + 0x5f, 0x30, 0x98, 0x3b, 0xec, 0x69, 0x7b, 0x05, 0x25, 0x55, 0x24, 0x8f, 0x84, 0xd4, 0xc0, 0x37, 0x78, 0xa6, 0xa6, 0x80, 0x0f, + 0x11, 0x0e, 0x53, 0xec, 0x11, 0xf3, 0x38, 0xce, 0x76, 0xe9, 0x7b, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, + 0x36, 0x03, 0x04, 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0x5f, 0x08, 0xdf, 0x7a, 0xa2, 0x2b, 0x49, 0xc9, 0x4e, 0xfa, 0x58, + 0xac, 0x87, 0x93, 0xf8, 0x4a, 0xf4, 0x0e, 0xc2, 0x3a, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, + 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0xbb, 0x95, 0xf1, 0xd9, 0xc4, 0xc9, + 0x1c, 0x6e, 0x15, 0xa5, 0xcb, 0x61, 0x95, 0xec, 0x05, 0xfd, 0x53, 0x90, 0xe8, 0x87, 0x04, 0x5e, 0x0f, 0xec, 0x78, 0x54, 0x3f, + 0x19, 0x90, 0xaa, 0x54, 0x8f, 0x17, 0x85, 0xcb, 0x3b, 0x1c, 0x60, 0x32, 0x35, 0xd8, 0x46, 0xa8, 0x63, 0xca, 0xf5, 0xdc, 0x1c, + 0xc9, 0x4c, 0x53, 0x09, 0x9c, 0xf4, 0xda, 0xb3, 0xc9, 0x65, 0xaf, 0x42, 0xe6, 0x86, 0x7c, 0x77, 0x18, +}; +const uint8_t sChipTest_NOC_Subject_FabricId_Invalid_Cert_CHIP[272] = { + 0x15, 0x30, 0x01, 0x08, 0x17, 0x7e, 0xe9, 0xbf, 0x7f, 0x75, 0x4f, 0x60, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, 0xef, 0x17, + 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, 0xde, 0xde, 0x24, + 0x15, 0x00, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xf0, 0x53, 0x1a, 0xae, 0xcf, 0xa0, 0x92, 0x58, + 0x67, 0xb4, 0xd7, 0x01, 0xc3, 0x15, 0x99, 0x0d, 0xe7, 0x2d, 0x91, 0xc3, 0x16, 0x3e, 0x9d, 0x5b, 0x9f, 0x22, 0x44, 0xbb, 0xa0, + 0x3d, 0x9b, 0xbb, 0x11, 0x0a, 0x4c, 0x4c, 0x35, 0xd0, 0x77, 0xc4, 0xa8, 0xe2, 0x1e, 0xcd, 0x7f, 0x85, 0x15, 0x77, 0x33, 0x71, + 0x48, 0x02, 0xe4, 0x76, 0xdb, 0x97, 0x4b, 0xe0, 0xbd, 0xde, 0xc9, 0x75, 0x77, 0xf6, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, + 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0x42, 0xf8, 0x9b, 0xd8, 0x1a, 0x4f, 0x97, 0x03, + 0xbb, 0x28, 0xb7, 0x1d, 0x06, 0xb7, 0xd2, 0x67, 0xa2, 0x2b, 0x63, 0xa6, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, + 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0xb2, 0xa2, 0x40, + 0x90, 0x6a, 0xb2, 0x11, 0xb5, 0x6e, 0x7d, 0xa9, 0xfc, 0xff, 0x03, 0x8f, 0xb6, 0x7a, 0xf8, 0x84, 0x60, 0x2b, 0x82, 0x87, 0x51, + 0xd5, 0x91, 0x2d, 0xe1, 0x72, 0x0e, 0x7e, 0x84, 0x2a, 0x16, 0x11, 0x73, 0x06, 0x64, 0x7a, 0xb8, 0xad, 0x06, 0xba, 0xf3, 0x71, + 0x75, 0xbd, 0x2a, 0xd8, 0x9e, 0x50, 0x4d, 0xd0, 0x34, 0x71, 0xa6, 0x2a, 0xba, 0x57, 0x73, 0x3a, 0xfc, 0xd9, 0xb2, 0x18, +}; +const uint8_t sChipTest_ICAC_Subject_FabricId_Invalid_Cert_CHIP[255] = { + 0x15, 0x30, 0x01, 0x08, 0x79, 0x8a, 0x09, 0x98, 0x36, 0x21, 0x95, 0xaa, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, + 0x37, 0x06, 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x24, 0x15, 0x00, 0x18, 0x24, 0x07, 0x01, 0x24, + 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xa9, 0xb7, 0x29, 0x65, 0x2f, 0xe6, 0xf6, 0xe2, 0xcf, 0x91, 0x60, 0xd0, 0x48, 0xa1, + 0x7f, 0xe4, 0x0f, 0xeb, 0x6d, 0xe7, 0xbd, 0x54, 0xdc, 0x87, 0x61, 0x5f, 0xa4, 0xe5, 0xdb, 0x34, 0x7e, 0xd9, 0xb4, 0x80, + 0xdc, 0xba, 0x2b, 0xb1, 0xec, 0x20, 0x35, 0xad, 0x3c, 0xaa, 0x2c, 0xf9, 0x4a, 0x29, 0x43, 0x83, 0xf8, 0x97, 0x33, 0x3a, + 0x09, 0xc1, 0xa3, 0x85, 0x1b, 0x1e, 0x51, 0x32, 0x7d, 0xa6, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, + 0x30, 0x04, 0x14, 0x1a, 0x56, 0xcf, 0x5b, 0x3f, 0x0c, 0x3a, 0xd4, 0x61, 0xd8, 0x74, 0x62, 0x97, 0xb1, 0x6f, 0xd4, 0x6e, + 0xd9, 0xb9, 0x4f, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, + 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0xdc, 0x23, 0xd5, 0xb7, 0x1e, 0xe7, 0x4a, 0x3d, 0x9d, 0xf9, + 0x38, 0x13, 0x86, 0x11, 0x03, 0x42, 0x78, 0xfc, 0x5d, 0xb7, 0x71, 0x3c, 0x03, 0x44, 0xaa, 0x71, 0xe8, 0x9f, 0x36, 0xa5, + 0x9a, 0x35, 0x47, 0x85, 0xaa, 0xe2, 0xad, 0xea, 0x59, 0xdc, 0x7f, 0x32, 0xcf, 0xe2, 0xef, 0xc8, 0x1d, 0x13, 0x5a, 0xce, + 0x18, 0x6a, 0xea, 0xa8, 0xcf, 0x41, 0xe4, 0x1a, 0x00, 0x4b, 0x7a, 0x9d, 0xe0, 0xac, 0x18, +}; +const uint8_t sChipTest_RCAC_Subject_FabricId_Invalid_Cert_CHIP[238] = { + 0x15, 0x30, 0x01, 0x08, 0x66, 0x22, 0xe8, 0xf6, 0x23, 0xcc, 0x9e, 0x07, 0x24, 0x02, 0x01, 0x37, 0x03, 0x24, 0x15, 0x00, + 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x24, 0x15, 0x00, 0x18, 0x24, + 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x9d, 0x9c, 0x47, 0x62, 0x98, 0x2d, 0x5d, 0x08, 0x0f, 0x88, 0x6b, + 0xa8, 0x29, 0x7b, 0x71, 0x9b, 0x6f, 0x7e, 0xeb, 0xf9, 0x5e, 0xbc, 0x21, 0x62, 0x7c, 0xf8, 0x6a, 0x30, 0x8f, 0x5f, 0x7b, + 0x78, 0xa1, 0x53, 0xb8, 0x0d, 0x92, 0x44, 0xd2, 0x85, 0xbd, 0xaf, 0x39, 0xff, 0x58, 0x6a, 0xfe, 0x47, 0xd9, 0x40, 0x55, + 0x1f, 0x15, 0x28, 0x40, 0xf0, 0x9c, 0x96, 0xb8, 0x06, 0x18, 0x35, 0x3e, 0x0a, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, + 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0x50, 0x8a, 0x57, 0xe4, 0x01, 0x9c, 0x46, 0x97, 0xa5, 0x23, 0xe4, 0xdd, 0x26, 0x4d, + 0xd9, 0xd1, 0x9c, 0x7a, 0xdd, 0xaa, 0x30, 0x05, 0x14, 0x50, 0x8a, 0x57, 0xe4, 0x01, 0x9c, 0x46, 0x97, 0xa5, 0x23, 0xe4, + 0xdd, 0x26, 0x4d, 0xd9, 0xd1, 0x9c, 0x7a, 0xdd, 0xaa, 0x18, 0x30, 0x0b, 0x40, 0xba, 0x76, 0xe4, 0xac, 0x5b, 0x56, 0x74, + 0xab, 0xec, 0xd5, 0x84, 0xf3, 0xe3, 0xbd, 0xdc, 0x47, 0xdb, 0x13, 0x23, 0xdf, 0x85, 0xc5, 0xe7, 0x19, 0x68, 0x40, 0x7d, + 0xab, 0x78, 0xd7, 0x36, 0xdd, 0xe3, 0xcc, 0x37, 0x5b, 0xb3, 0x86, 0xfe, 0x04, 0x8e, 0x24, 0x33, 0x3f, 0xf2, 0xb6, 0xd9, + 0xe0, 0x8b, 0xc4, 0xfb, 0xd6, 0x1c, 0x7a, 0xc3, 0xcd, 0x07, 0x2e, 0x42, 0xff, 0x57, 0x0e, 0x33, 0x8f, 0x18, +}; +const uint8_t sChipTest_NOC_Subject_FabricId_Twice_Cert_CHIP[289] = { + 0x15, 0x30, 0x01, 0x08, 0x53, 0x17, 0xb7, 0x28, 0xbe, 0x42, 0x7c, 0xd8, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, 0xef, 0x17, + 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, 0xde, 0xde, 0x27, + 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x27, 0x15, 0x27, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, + 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xf9, 0x98, 0x19, 0x05, 0xfe, 0xf6, 0xa7, 0x89, 0x5d, 0xc1, 0x64, 0xb0, + 0xb7, 0x19, 0xb8, 0x33, 0x0e, 0xfa, 0x78, 0x5d, 0x60, 0x88, 0xbd, 0x46, 0x45, 0xda, 0x05, 0x5f, 0xca, 0x01, 0x33, 0x0b, 0x1b, + 0x39, 0x89, 0xc7, 0x3d, 0xca, 0x52, 0xec, 0x3e, 0x5a, 0xb8, 0xbe, 0x71, 0xc4, 0xcf, 0xd5, 0x33, 0xe9, 0xcf, 0x5c, 0xb5, 0xd0, + 0x3d, 0xc1, 0x24, 0x31, 0xf1, 0x97, 0xd8, 0xe2, 0x7d, 0x4b, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, + 0x03, 0x04, 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0x66, 0x9d, 0x3b, 0x16, 0xb6, 0x68, 0xff, 0xd2, 0xcd, 0x2a, 0x20, 0xd1, + 0x79, 0x34, 0x9d, 0x72, 0x31, 0x75, 0x98, 0x44, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, + 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x18, 0xec, 0xfa, 0xcd, 0x16, 0x0a, 0x8d, + 0xfc, 0x39, 0x74, 0xc7, 0x69, 0x91, 0x9b, 0x02, 0x3a, 0xc9, 0x26, 0x13, 0xbb, 0x12, 0x54, 0x2d, 0x27, 0x5e, 0xd1, 0xdb, 0x22, + 0x0c, 0x5f, 0x4d, 0x25, 0xbc, 0xd4, 0x59, 0xda, 0x32, 0x94, 0x6f, 0x59, 0x39, 0xa9, 0xbb, 0x46, 0x8c, 0x4f, 0x84, 0x2d, 0x31, + 0x98, 0x0d, 0xb0, 0x0f, 0x54, 0xcd, 0x04, 0x9d, 0xc1, 0xd0, 0x6d, 0xc5, 0xd6, 0xf9, 0x08, 0x18, +}; +const uint8_t sChipTest_ICAC_Subject_FabricId_Twice_Cert_CHIP[272] = { + 0x15, 0x30, 0x01, 0x08, 0x69, 0xd9, 0x64, 0x57, 0x40, 0x86, 0x9b, 0x99, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x27, + 0x15, 0x27, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x88, + 0x75, 0x72, 0x16, 0x53, 0x83, 0x4f, 0x5e, 0x64, 0x59, 0xdc, 0x00, 0xec, 0x33, 0x2a, 0x59, 0xad, 0xa8, 0xea, 0xf4, 0xd0, 0x47, + 0x0d, 0xce, 0x31, 0x54, 0xff, 0xdb, 0x25, 0x2e, 0xfe, 0x00, 0xeb, 0x6f, 0x64, 0xb9, 0x94, 0x74, 0x48, 0xbb, 0x4a, 0x32, 0x56, + 0xbd, 0x73, 0x23, 0x68, 0x7d, 0x85, 0xeb, 0x1e, 0x98, 0xfe, 0xc6, 0xfc, 0xbb, 0xa2, 0x1c, 0xf8, 0xab, 0x52, 0xd7, 0x2e, 0x36, + 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0x4d, 0x63, 0x5b, 0x35, 0xd7, 0x94, 0x28, 0xee, + 0x3c, 0x31, 0xab, 0xa1, 0xfe, 0x8c, 0x7f, 0x6a, 0xe5, 0x70, 0xfb, 0xab, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, + 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0xbd, 0x0a, 0x46, + 0x66, 0x18, 0x3a, 0x3f, 0xcc, 0xe2, 0x5b, 0xb6, 0x0c, 0x14, 0xc2, 0xb3, 0x2b, 0x39, 0xb2, 0x44, 0x3a, 0x7e, 0x15, 0x15, 0x0d, + 0xed, 0x9e, 0x00, 0x88, 0x8f, 0x16, 0x17, 0xbb, 0x30, 0xfe, 0x1b, 0xbd, 0x4e, 0xb6, 0xa8, 0xeb, 0x7b, 0x7e, 0x6e, 0x55, 0xec, + 0x42, 0xaf, 0x92, 0x9b, 0xfa, 0x18, 0xbd, 0x6a, 0x80, 0xf0, 0x78, 0xa9, 0x93, 0x8a, 0x09, 0x93, 0x7d, 0x94, 0x23, 0x18, +}; +const uint8_t sChipTest_RCAC_Subject_FabricId_Twice_Cert_CHIP[272] = { + 0x15, 0x30, 0x01, 0x08, 0x11, 0xaf, 0xf1, 0x5d, 0x5b, 0x2a, 0xb1, 0xd8, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x15, 0x1d, 0x00, + 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x27, 0x15, 0x27, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, 0xef, 0x17, + 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x27, + 0x15, 0x27, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x5f, + 0x58, 0x23, 0x5d, 0x8e, 0x74, 0xa3, 0x62, 0xbf, 0x2d, 0x0f, 0x98, 0xb8, 0x4b, 0x92, 0x70, 0xea, 0xb6, 0x7f, 0xdd, 0x93, 0x73, + 0xe6, 0xac, 0xbe, 0xfc, 0x3d, 0x50, 0xec, 0xae, 0x67, 0x8e, 0xc7, 0x3a, 0x57, 0x8f, 0x07, 0x69, 0x83, 0x17, 0x6a, 0xcd, 0x31, + 0xde, 0x9e, 0xdc, 0x37, 0x93, 0x3f, 0xbd, 0xab, 0xde, 0x05, 0x05, 0x14, 0x92, 0x24, 0xab, 0x88, 0x0e, 0x6a, 0x2b, 0x04, 0xb7, + 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0xaa, 0x70, 0x1e, 0xbb, 0x93, 0x9e, 0xc8, 0x09, + 0x66, 0x56, 0x85, 0xbb, 0xc5, 0x7e, 0x86, 0x3b, 0x5d, 0x13, 0xbf, 0x27, 0x30, 0x05, 0x14, 0xaa, 0x70, 0x1e, 0xbb, 0x93, 0x9e, + 0xc8, 0x09, 0x66, 0x56, 0x85, 0xbb, 0xc5, 0x7e, 0x86, 0x3b, 0x5d, 0x13, 0xbf, 0x27, 0x18, 0x30, 0x0b, 0x40, 0xd3, 0x0b, 0x54, + 0xcb, 0x1e, 0x7a, 0x22, 0x55, 0x12, 0x55, 0x13, 0xfe, 0x02, 0x8f, 0xeb, 0xcb, 0x15, 0xd6, 0x44, 0x5d, 0x69, 0x9e, 0x8a, 0x7d, + 0xa4, 0x41, 0x9a, 0xff, 0x38, 0x3b, 0x5e, 0x4b, 0x93, 0x9a, 0x91, 0x2c, 0xe8, 0xb6, 0xb3, 0xab, 0x74, 0xc9, 0xfc, 0xe5, 0x05, + 0x4b, 0x2c, 0xc8, 0xf4, 0xf2, 0xee, 0x11, 0xb2, 0x14, 0x06, 0xb2, 0x06, 0xdb, 0xdf, 0x95, 0x4b, 0xad, 0xbe, 0x0d, 0x18, +}; +const uint8_t sChipTest_NOC_Subject_CAT_Invalid_Cert_CHIP[285] = { + 0x15, 0x30, 0x01, 0x08, 0x5a, 0xbc, 0xd8, 0x11, 0xf5, 0xa4, 0x99, 0xb7, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, 0xef, 0x17, + 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, 0xde, 0xde, 0x27, + 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x26, 0x16, 0x00, 0x00, 0xcd, 0xab, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, + 0x01, 0x30, 0x09, 0x41, 0x04, 0x8f, 0x2a, 0x1f, 0x4f, 0x6d, 0x32, 0xfe, 0x4c, 0x3a, 0xf0, 0x59, 0xac, 0xa1, 0xe7, 0xbf, 0x5f, + 0x3b, 0xb2, 0x4e, 0x57, 0x61, 0x4d, 0x5d, 0x42, 0x0e, 0xf4, 0x63, 0xbb, 0x5e, 0xee, 0xc5, 0x15, 0x71, 0xee, 0x08, 0xdd, 0x99, + 0x5c, 0x3e, 0x1f, 0x78, 0x4f, 0xde, 0x18, 0x3a, 0xfe, 0x10, 0x96, 0x4d, 0x2d, 0x4f, 0x3c, 0xf2, 0xd4, 0x44, 0xc5, 0xb3, 0x42, + 0xf4, 0x7c, 0x2b, 0x42, 0xab, 0xec, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, 0x02, 0x04, + 0x01, 0x18, 0x30, 0x04, 0x14, 0xef, 0x0b, 0x8c, 0x64, 0x6b, 0x96, 0x7f, 0x36, 0x86, 0x27, 0x72, 0xbd, 0x12, 0x6b, 0xe8, 0xaa, + 0x61, 0xa0, 0xc5, 0x25, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, 0x35, 0xec, + 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x6f, 0x67, 0x05, 0xc2, 0xa5, 0xd2, 0x31, 0xf6, 0xaf, 0x5a, 0x14, + 0x33, 0x8c, 0x83, 0x1a, 0x97, 0xd5, 0xc7, 0x2c, 0x16, 0x47, 0x08, 0x75, 0x1c, 0x61, 0x7d, 0x55, 0x5c, 0x96, 0xc0, 0x44, 0x88, + 0xce, 0x7f, 0x79, 0xff, 0xa5, 0x3c, 0x00, 0x41, 0xe4, 0x49, 0x4b, 0x9a, 0x20, 0xba, 0x48, 0x5b, 0x1d, 0xd2, 0x54, 0x25, 0x56, + 0x0a, 0x4c, 0xed, 0xa5, 0x6c, 0x5a, 0x47, 0xc0, 0x31, 0xd6, 0xa0, 0x18, +}; +const uint8_t sChipTest_ICAC_Subject_CAT_Invalid_Cert_CHIP[268] = { + 0x15, 0x30, 0x01, 0x08, 0x2a, 0xef, 0x84, 0xb8, 0x2d, 0x91, 0xfb, 0x38, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x26, + 0x16, 0x00, 0x00, 0xcd, 0xab, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x6c, 0x88, 0x89, 0x7b, 0x13, + 0x38, 0x2c, 0x0d, 0x71, 0x28, 0x6b, 0xa2, 0x6c, 0x27, 0x51, 0xf6, 0x39, 0x06, 0x05, 0x9f, 0xad, 0x66, 0x91, 0x3b, 0x2b, 0x9c, + 0x14, 0x21, 0x43, 0x4d, 0x4c, 0xd1, 0x35, 0x4c, 0x0a, 0x78, 0x64, 0xac, 0xa5, 0xb6, 0xa3, 0x78, 0xea, 0x41, 0x11, 0xd7, 0x4c, + 0xf3, 0xb8, 0x7f, 0xac, 0xda, 0x43, 0x46, 0xd6, 0x76, 0x8a, 0x2e, 0xf3, 0xca, 0xd4, 0x1e, 0x67, 0xa0, 0x37, 0x0a, 0x35, 0x01, + 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0x54, 0xc6, 0x6f, 0x7e, 0x9f, 0x3f, 0x62, 0x5b, 0x15, 0x59, 0x6d, 0xe1, + 0xeb, 0x09, 0x8e, 0x9d, 0x6f, 0xfc, 0x26, 0xb5, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, + 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0xa8, 0x1f, 0x12, 0x99, 0x5c, 0xa7, 0x04, + 0x9a, 0x24, 0xf8, 0xc1, 0xee, 0x23, 0x1b, 0xc4, 0xa1, 0x4e, 0x16, 0xe7, 0xe2, 0xb7, 0x67, 0xec, 0x49, 0x8d, 0x63, 0x19, 0x27, + 0xec, 0xc4, 0x51, 0xd9, 0x0f, 0xbe, 0x3e, 0x53, 0x27, 0xf4, 0x4b, 0x3d, 0xaa, 0xbf, 0x57, 0xbf, 0x93, 0x2b, 0xc1, 0xf3, 0xa8, + 0xfd, 0x19, 0x07, 0xb3, 0x80, 0x5a, 0x4f, 0x19, 0x13, 0xe7, 0x4e, 0x29, 0x68, 0xe9, 0x43, 0x18, +}; +const uint8_t sChipTest_RCAC_Subject_CAT_Invalid_Cert_CHIP[264] = { + 0x15, 0x30, 0x01, 0x08, 0x54, 0x65, 0x73, 0x85, 0xbf, 0x7a, 0xd6, 0xcf, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x26, 0x16, 0x00, 0x00, 0xcd, 0xab, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, + 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x26, 0x16, 0x00, 0x00, 0xcd, + 0xab, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xe2, 0x94, 0x79, 0xf0, 0xf7, 0xbb, 0x40, 0x96, 0x7c, + 0xf8, 0xa4, 0x52, 0x6c, 0xcb, 0x16, 0xab, 0x16, 0x9a, 0xb8, 0xba, 0x26, 0x18, 0xfa, 0x04, 0x20, 0xf4, 0xf1, 0x2f, 0xa3, 0xc2, + 0x71, 0x72, 0x23, 0x9e, 0x8d, 0xa3, 0xe7, 0x52, 0x4a, 0x55, 0xcd, 0xd5, 0xb1, 0x7f, 0x64, 0xd9, 0xff, 0xb2, 0x9e, 0xb2, 0x15, + 0x16, 0xf1, 0x41, 0x72, 0xa2, 0xa5, 0x0d, 0x5b, 0x0f, 0xa6, 0x73, 0xee, 0x7d, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, + 0x02, 0x60, 0x30, 0x04, 0x14, 0xc2, 0xde, 0x6b, 0x26, 0xc6, 0xbd, 0xa9, 0xac, 0x07, 0xe3, 0xd2, 0x9b, 0xd4, 0xe8, 0x22, 0x80, + 0x66, 0xce, 0x1d, 0x47, 0x30, 0x05, 0x14, 0xc2, 0xde, 0x6b, 0x26, 0xc6, 0xbd, 0xa9, 0xac, 0x07, 0xe3, 0xd2, 0x9b, 0xd4, 0xe8, + 0x22, 0x80, 0x66, 0xce, 0x1d, 0x47, 0x18, 0x30, 0x0b, 0x40, 0xdd, 0xb0, 0x97, 0x70, 0xc4, 0x03, 0x37, 0x21, 0x00, 0xc2, 0x6f, + 0xe9, 0x73, 0x75, 0x77, 0x62, 0xcc, 0xa4, 0xb1, 0x62, 0x35, 0x52, 0x6a, 0x93, 0x4d, 0x6a, 0xbd, 0xdd, 0xe1, 0xa0, 0xf0, 0x7d, + 0x05, 0x98, 0xe9, 0x11, 0xe0, 0x8f, 0xec, 0xd6, 0x28, 0x3a, 0x76, 0x32, 0xba, 0x3c, 0x1f, 0x36, 0xac, 0xcf, 0xbf, 0x58, 0x11, + 0xf5, 0x9d, 0x09, 0x27, 0xfe, 0x1c, 0xde, 0x69, 0x8d, 0xba, 0x86, 0x18, +}; +const uint8_t sChipTest_NOC_Subject_CAT_Twice_Cert_CHIP[291] = { + 0x15, 0x30, 0x01, 0x08, 0x20, 0xe6, 0xe5, 0x46, 0x55, 0x2a, 0xc3, 0x4f, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, 0xef, 0x17, + 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, 0xde, 0xde, 0x27, + 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x26, 0x16, 0x10, 0x00, 0xcd, 0xab, 0x26, 0x16, 0x18, 0x00, 0xcd, 0xab, + 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x5d, 0xf2, 0x97, 0x9a, 0xb0, 0xbe, 0x93, 0xba, 0x30, 0xdc, + 0xc4, 0xfa, 0x6b, 0x7e, 0x9d, 0xd9, 0x45, 0x88, 0x1d, 0xc7, 0xb3, 0x08, 0xf3, 0x65, 0xf1, 0x0b, 0xdd, 0x6e, 0xd1, 0x24, 0x70, + 0xef, 0x63, 0xdf, 0x5e, 0x45, 0xac, 0x0f, 0xbb, 0x3f, 0x2c, 0x4d, 0x6d, 0x86, 0x97, 0x0a, 0x02, 0x62, 0x73, 0xc7, 0x87, 0x3b, + 0x6c, 0x9d, 0x54, 0xb5, 0x2f, 0x9b, 0xa9, 0xb5, 0x0f, 0xbb, 0xdd, 0x96, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, + 0x01, 0x36, 0x03, 0x04, 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0xa0, 0x0d, 0xa4, 0x2a, 0x87, 0xe5, 0xb4, 0x0f, 0x07, 0xc7, + 0x44, 0x3c, 0x0f, 0x32, 0x94, 0x7f, 0x05, 0x73, 0x52, 0xc7, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, + 0x74, 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x0f, 0x15, 0xee, 0x8f, 0xd0, + 0x2b, 0xb7, 0x2d, 0x85, 0x04, 0x06, 0xf2, 0x0c, 0xfb, 0x96, 0x31, 0x22, 0x0f, 0x93, 0x97, 0x20, 0xd7, 0xc9, 0xef, 0x18, 0xa1, + 0x12, 0x92, 0x69, 0x7b, 0x81, 0x6a, 0xc4, 0x0d, 0xe9, 0x41, 0x57, 0x8b, 0x4c, 0xbb, 0x6f, 0x40, 0x27, 0x16, 0x31, 0xa4, 0xf6, + 0x1b, 0x13, 0xfe, 0x32, 0xb1, 0x01, 0xf4, 0x1c, 0xfb, 0xab, 0x2f, 0x0d, 0x7f, 0xf7, 0x14, 0x1a, 0x3e, 0x18, +}; +const uint8_t sChipTest_ICAC_Subject_CAT_Twice_Cert_CHIP[274] = { + 0x15, 0x30, 0x01, 0x08, 0x79, 0xbc, 0x9a, 0x7b, 0xbf, 0xe4, 0xc1, 0x38, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, + 0x37, 0x06, 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xb0, 0xfa, 0x26, 0x16, 0x10, 0x00, 0xcd, 0xab, 0x26, 0x16, 0x18, 0x00, 0xcd, 0xab, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, + 0x01, 0x30, 0x09, 0x41, 0x04, 0x8c, 0xe8, 0xef, 0x16, 0xf5, 0x88, 0x27, 0x6b, 0x44, 0x4c, 0x52, 0x98, 0x95, 0x89, 0x4f, + 0x42, 0x57, 0x17, 0xa7, 0xda, 0x26, 0x03, 0x1c, 0xe2, 0xfd, 0xe9, 0xa8, 0x3e, 0x2e, 0x44, 0x9d, 0x0e, 0xc1, 0x53, 0x54, + 0xa6, 0x76, 0x45, 0x81, 0x4b, 0x81, 0xc2, 0x43, 0x42, 0xc8, 0x17, 0x26, 0x8b, 0x06, 0x57, 0xef, 0x09, 0x73, 0x7a, 0xb1, + 0xfe, 0xff, 0xf6, 0xa6, 0xd7, 0x9e, 0x08, 0x2e, 0x2b, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, + 0x04, 0x14, 0x94, 0xb8, 0x85, 0x5c, 0xc5, 0x27, 0xb2, 0x7d, 0x0c, 0xaa, 0x9c, 0xbd, 0x8e, 0xf0, 0x3a, 0xc6, 0xd8, 0x78, + 0x62, 0xf0, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, + 0x31, 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0x27, 0xd9, 0xfa, 0x74, 0xc0, 0xdc, 0x4c, 0x34, 0xf9, 0xcd, 0xe7, + 0x1d, 0xf1, 0x00, 0xa5, 0x77, 0xce, 0xf4, 0x21, 0x0b, 0x8d, 0x2b, 0xa2, 0xc4, 0x3e, 0x54, 0xe7, 0x80, 0x6c, 0xe8, 0x50, + 0x7c, 0xd0, 0x3c, 0x29, 0x09, 0x41, 0xed, 0xb8, 0x1f, 0xa6, 0x35, 0x5d, 0x12, 0xac, 0x01, 0xe7, 0x85, 0xf3, 0x00, 0xd1, + 0x46, 0xff, 0x8a, 0xf5, 0xe2, 0xb7, 0xb5, 0xa3, 0xb5, 0xd3, 0x0b, 0xf6, 0xd3, 0x18, +}; +const uint8_t sChipTest_RCAC_Subject_CAT_Twice_Cert_CHIP[276] = { + 0x15, 0x30, 0x01, 0x08, 0x4b, 0x51, 0x29, 0x6c, 0x51, 0x83, 0x07, 0x2f, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x26, 0x16, 0x10, 0x00, 0xcd, 0xab, 0x26, 0x16, 0x18, 0x00, 0xcd, 0xab, 0x18, + 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, + 0xca, 0xca, 0xca, 0xca, 0x26, 0x16, 0x10, 0x00, 0xcd, 0xab, 0x26, 0x16, 0x18, 0x00, 0xcd, 0xab, 0x18, 0x24, 0x07, 0x01, + 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xd3, 0xc9, 0xb4, 0xf3, 0x38, 0xd2, 0xad, 0x5a, 0xa0, 0x73, 0x69, 0x2a, 0x63, + 0xe2, 0xac, 0xeb, 0x4e, 0x92, 0x5a, 0x54, 0xed, 0x21, 0x00, 0xa2, 0xa8, 0xdb, 0x2d, 0xf6, 0x54, 0xeb, 0x68, 0xbf, 0x93, + 0xd0, 0x6f, 0x6b, 0x25, 0x5b, 0xb3, 0x37, 0x25, 0xcf, 0x80, 0x17, 0x37, 0x7c, 0x5d, 0xfb, 0x95, 0x2a, 0x83, 0x9f, 0x63, + 0xd1, 0xd7, 0xf4, 0x2d, 0xd9, 0x80, 0x9b, 0x5a, 0x26, 0x73, 0xed, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, + 0x60, 0x30, 0x04, 0x14, 0xe7, 0x5c, 0x88, 0x76, 0x9d, 0xa5, 0xe7, 0xed, 0x35, 0x26, 0xe3, 0xb3, 0x0c, 0x1f, 0x93, 0xba, + 0x02, 0xa1, 0x1e, 0x46, 0x30, 0x05, 0x14, 0xe7, 0x5c, 0x88, 0x76, 0x9d, 0xa5, 0xe7, 0xed, 0x35, 0x26, 0xe3, 0xb3, 0x0c, + 0x1f, 0x93, 0xba, 0x02, 0xa1, 0x1e, 0x46, 0x18, 0x30, 0x0b, 0x40, 0xef, 0xd4, 0x61, 0xd5, 0xeb, 0xab, 0x97, 0xd0, 0x62, + 0x54, 0xd9, 0x2b, 0x18, 0xc8, 0x16, 0xe3, 0x57, 0x19, 0xea, 0xd6, 0xdc, 0xcb, 0x09, 0x4d, 0xdf, 0x74, 0x3a, 0x5e, 0xc7, + 0x59, 0xe0, 0xf3, 0x47, 0xe8, 0x67, 0xb4, 0xce, 0xac, 0x71, 0x26, 0xe4, 0x7a, 0x7f, 0x81, 0x08, 0x6d, 0xfa, 0xc5, 0x84, + 0x88, 0x7e, 0x8e, 0x17, 0x3a, 0xe6, 0x46, 0x17, 0x6e, 0x4a, 0xa2, 0x01, 0xef, 0x12, 0x08, 0x18, +}; +const uint8_t sChipTest_NOC_Sig_Curve_Secp256k1_Cert_CHIP[279] = { + 0x15, 0x30, 0x01, 0x08, 0x58, 0x17, 0x5b, 0x5f, 0x85, 0xea, 0xf7, 0x8b, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, + 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x02, 0x30, + 0x09, 0x41, 0x04, 0x12, 0x71, 0x0b, 0xc5, 0xdd, 0x35, 0x55, 0x76, 0x0e, 0x1d, 0x96, 0xf1, 0xe0, 0xa5, 0x3b, 0xaf, 0xf0, + 0x6f, 0xeb, 0xa8, 0xe9, 0x27, 0x03, 0xea, 0x7f, 0x76, 0x46, 0xac, 0x84, 0x20, 0x04, 0xaf, 0x60, 0xa6, 0x10, 0x93, 0x16, + 0x6a, 0x5c, 0x83, 0x53, 0x70, 0xcd, 0xa5, 0x89, 0x7a, 0x44, 0xe3, 0x85, 0x52, 0xfc, 0x2e, 0x87, 0x5a, 0xd5, 0x19, 0xa2, + 0xe5, 0x46, 0x56, 0x64, 0x71, 0xec, 0xf4, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, + 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0xfb, 0x15, 0x55, 0x08, 0xc8, 0x2d, 0x72, 0x9c, 0xa6, 0x65, 0xfa, 0xd8, 0xce, + 0x5e, 0xf5, 0x4f, 0xf9, 0xf9, 0xa4, 0xf9, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, + 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x95, 0x72, 0x89, 0x90, 0x7e, 0x40, + 0x68, 0x92, 0x9c, 0x9f, 0x2e, 0x47, 0x0c, 0xbd, 0x6f, 0x15, 0xfa, 0x2f, 0x51, 0x71, 0x8a, 0x47, 0xd1, 0x6a, 0x41, 0x64, + 0x24, 0x53, 0xb0, 0x23, 0x8d, 0xd5, 0x9a, 0x09, 0x61, 0x79, 0x02, 0x8d, 0x41, 0x78, 0x60, 0xf3, 0x0e, 0x29, 0xa5, 0x86, + 0x4c, 0xf0, 0xa1, 0xe2, 0xca, 0x63, 0xd1, 0xb9, 0x6a, 0x48, 0x6a, 0xb4, 0x30, 0x1a, 0xf1, 0xe6, 0x72, 0x18, 0x18, +}; +const uint8_t sChipTest_ICAC_Sig_Curve_Secp256k1_Cert_CHIP[262] = { + 0x15, 0x30, 0x01, 0x08, 0x4b, 0x48, 0x12, 0x3b, 0xd2, 0x84, 0x19, 0x26, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, + 0x24, 0x07, 0x01, 0x24, 0x08, 0x02, 0x30, 0x09, 0x41, 0x04, 0xbe, 0xe4, 0xd8, 0x9a, 0xee, 0x08, 0x9c, 0x78, 0xb5, 0x0b, 0x36, + 0x5f, 0xe5, 0xea, 0x9a, 0x39, 0x51, 0xb3, 0x90, 0x6d, 0x22, 0x28, 0xa0, 0x97, 0xb6, 0x8a, 0xe3, 0xf0, 0x28, 0x32, 0x60, 0x2f, + 0x0b, 0xad, 0x51, 0x9a, 0x56, 0xa7, 0x6d, 0x48, 0x0f, 0xd1, 0x04, 0xa7, 0x8f, 0x4d, 0x41, 0x28, 0xff, 0x34, 0xef, 0x88, 0x14, + 0x08, 0x13, 0x8b, 0xe2, 0xb3, 0xab, 0x53, 0x08, 0xa7, 0x4e, 0x2e, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, + 0x30, 0x04, 0x14, 0x94, 0xec, 0xca, 0x75, 0xf8, 0xe3, 0x79, 0xbb, 0xe5, 0xa4, 0x42, 0xdc, 0x33, 0x3b, 0x3b, 0x02, 0x4c, 0x11, + 0x40, 0xb9, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, + 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0x94, 0x82, 0xb8, 0x60, 0x36, 0x71, 0x8d, 0xdd, 0x3e, 0xa8, 0x6b, 0xef, 0x86, + 0x1c, 0xd7, 0xa5, 0x8d, 0x51, 0xf8, 0xe4, 0x59, 0xd0, 0x3c, 0x61, 0x03, 0x49, 0xe0, 0x9c, 0x3a, 0x57, 0x23, 0x71, 0xf9, 0xbb, + 0xa5, 0x6a, 0xbb, 0x02, 0xaf, 0x94, 0x4f, 0xc4, 0x67, 0x79, 0x95, 0xbd, 0x82, 0x16, 0x36, 0x11, 0x1c, 0xa9, 0x76, 0x30, 0x87, + 0x5c, 0x99, 0xf5, 0x64, 0x76, 0x4b, 0x54, 0x1e, 0x5e, 0x18, +}; +const uint8_t sChipTest_RCAC_Sig_Curve_Secp256k1_Cert_CHIP[252] = { + 0x15, 0x30, 0x01, 0x08, 0x3e, 0xf1, 0x12, 0x9c, 0x45, 0xd2, 0xc5, 0x56, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x02, 0x30, 0x09, 0x41, 0x04, + 0xa0, 0x7b, 0xce, 0xa5, 0x57, 0xe5, 0x11, 0x7c, 0x54, 0xd3, 0x72, 0xca, 0x90, 0x13, 0x8b, 0x1f, 0x7e, 0x02, 0xe5, 0x32, 0xe5, + 0x7c, 0x5b, 0x5e, 0x9a, 0xc2, 0x63, 0x46, 0x2b, 0xd4, 0x1d, 0xda, 0x1f, 0xdc, 0x5f, 0x85, 0xf9, 0x92, 0x83, 0x27, 0xf6, 0x21, + 0xad, 0x2a, 0x35, 0x3b, 0xd4, 0x3e, 0x5c, 0x99, 0x34, 0xf3, 0x9c, 0xdf, 0x8d, 0x0c, 0x68, 0x60, 0xe4, 0x72, 0xb6, 0x1e, 0x2b, + 0xf3, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0x01, 0xd7, 0xc7, 0xb5, 0x6f, 0x11, 0x67, + 0x7f, 0xdb, 0xaa, 0x94, 0x17, 0xf6, 0x8f, 0xb1, 0x8a, 0x85, 0x4d, 0xdc, 0x11, 0x30, 0x05, 0x14, 0x01, 0xd7, 0xc7, 0xb5, 0x6f, + 0x11, 0x67, 0x7f, 0xdb, 0xaa, 0x94, 0x17, 0xf6, 0x8f, 0xb1, 0x8a, 0x85, 0x4d, 0xdc, 0x11, 0x18, 0x30, 0x0b, 0x40, 0xbf, 0xf7, + 0xb7, 0x8a, 0xe9, 0x68, 0x30, 0xb3, 0x44, 0x89, 0x56, 0xfd, 0x20, 0x1f, 0xae, 0xd4, 0x06, 0xe6, 0x35, 0xc0, 0xfa, 0x86, 0xc8, + 0x8b, 0x5f, 0x5d, 0x8e, 0xd9, 0xcc, 0x75, 0xcb, 0x6d, 0x16, 0xb3, 0x41, 0xb6, 0x28, 0x09, 0xd9, 0x22, 0xdd, 0xe5, 0x23, 0x14, + 0x97, 0x7a, 0x30, 0x2e, 0x1b, 0xb6, 0x67, 0x89, 0x6a, 0x4c, 0xe8, 0x20, 0xdb, 0x3b, 0x19, 0x44, 0x83, 0x4e, 0x4a, 0x66, 0x18, +}; +const uint8_t sChipTest_NOC_PublicKey_Wrong_Cert_CHIP[279] = { + 0x15, 0x30, 0x01, 0x08, 0x13, 0xf3, 0xa8, 0xa4, 0x1e, 0x62, 0x47, 0x21, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, + 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, + 0x09, 0x41, 0x04, 0x56, 0x30, 0x4c, 0x8e, 0x94, 0x9a, 0x82, 0x0b, 0xd0, 0x3a, 0x1f, 0xb1, 0xf7, 0x58, 0x14, 0x0e, 0x29, + 0x68, 0x2f, 0x4f, 0x4a, 0x40, 0xad, 0xc8, 0x2d, 0x74, 0xbe, 0x1a, 0x46, 0x97, 0xc0, 0x44, 0x2f, 0xe3, 0xf7, 0xfd, 0xf9, + 0x5e, 0xa2, 0x88, 0x80, 0x3e, 0x00, 0xac, 0xa8, 0x67, 0xb5, 0xc3, 0x4c, 0x95, 0x0c, 0x95, 0xa3, 0xab, 0x96, 0xa3, 0x2d, + 0xbf, 0x08, 0xde, 0xc1, 0x2b, 0x74, 0xe4, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, + 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0x4d, 0x56, 0xbe, 0xfc, 0x99, 0x4b, 0xc4, 0xe5, 0x2b, 0xd0, 0x66, 0x20, 0x21, + 0x0f, 0x14, 0x9d, 0x34, 0x20, 0x0d, 0x80, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, + 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0xf5, 0x8f, 0xc2, 0x63, 0x73, 0xae, + 0x1f, 0x76, 0x9b, 0x01, 0x46, 0x05, 0xdb, 0x54, 0xf9, 0x25, 0xe5, 0xdf, 0x55, 0x41, 0xaf, 0xd9, 0xf4, 0x3e, 0xa1, 0xad, + 0xcc, 0xba, 0xb4, 0x02, 0x73, 0x8b, 0xeb, 0xd1, 0x61, 0xa9, 0xe3, 0xc2, 0xf2, 0xbb, 0x3a, 0x97, 0x7a, 0xfb, 0x00, 0x68, + 0x7b, 0x45, 0x3c, 0x74, 0xc3, 0xdd, 0xdf, 0x5b, 0xf4, 0x79, 0x1b, 0x09, 0x2e, 0x22, 0x13, 0xe0, 0x77, 0x7d, 0x18, +}; +const uint8_t sChipTest_ICAC_PublicKey_Wrong_Cert_CHIP[262] = { + 0x15, 0x30, 0x01, 0x08, 0x0e, 0x0d, 0x45, 0xcd, 0xc3, 0x15, 0x11, 0x23, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, + 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xc9, 0x13, 0xdf, 0x1a, 0x0c, 0x0f, 0xbc, 0x80, 0xc1, 0xd9, 0x5b, + 0xd7, 0x11, 0xbc, 0xff, 0x25, 0x1d, 0x93, 0xca, 0xd2, 0x68, 0x25, 0x0e, 0x19, 0x2d, 0xc5, 0x9c, 0x0e, 0x15, 0xfb, 0xcc, 0xd3, + 0xfd, 0x0d, 0x43, 0xce, 0x0b, 0x8f, 0xdf, 0x40, 0x1f, 0x75, 0xfb, 0xe0, 0x53, 0xb1, 0x49, 0x5c, 0xa9, 0x68, 0x6b, 0xe1, 0x6e, + 0x10, 0xe2, 0xc8, 0x4f, 0xd4, 0x7f, 0x28, 0x5b, 0x2a, 0x3d, 0x35, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, + 0x30, 0x04, 0x14, 0x33, 0xa8, 0xc2, 0x8d, 0x26, 0xad, 0xd9, 0xe6, 0x41, 0xa8, 0xd7, 0x43, 0x92, 0xa5, 0xdf, 0x3f, 0xca, 0x32, + 0x8f, 0x99, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, + 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0x1b, 0xed, 0x7e, 0x93, 0xa9, 0xd9, 0x05, 0x76, 0xc7, 0xb8, 0x79, 0xff, 0x00, + 0xb7, 0xdc, 0xf5, 0x6c, 0x84, 0x01, 0x4e, 0x32, 0xed, 0x0e, 0xe7, 0x8c, 0x97, 0x28, 0x3a, 0xa3, 0xff, 0x7a, 0x27, 0xc7, 0xe8, + 0x46, 0x26, 0xd4, 0x91, 0x3d, 0x7d, 0xf6, 0x16, 0xe4, 0x34, 0x26, 0xd1, 0xb3, 0xc5, 0x4a, 0x77, 0x61, 0x46, 0x4f, 0xc9, 0x80, + 0x2b, 0x6a, 0xae, 0xb0, 0x29, 0x19, 0xf0, 0x22, 0xfe, 0x18, +}; +const uint8_t sChipTest_RCAC_PublicKey_Wrong_Cert_CHIP[252] = { + 0x15, 0x30, 0x01, 0x08, 0x00, 0xe0, 0xca, 0x7a, 0xf4, 0xe5, 0xf7, 0x8f, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, + 0x81, 0x61, 0xde, 0xd1, 0xe5, 0xb6, 0x27, 0xae, 0xa9, 0x67, 0x77, 0xe0, 0xd4, 0x53, 0xbb, 0x14, 0xe8, 0x64, 0xa4, 0xc7, 0x49, + 0xfe, 0x81, 0x53, 0xea, 0x9a, 0x11, 0x79, 0x4b, 0x0a, 0x5f, 0x37, 0xcf, 0xd7, 0x10, 0x97, 0x78, 0x68, 0xb0, 0x98, 0xec, 0xe7, + 0x0e, 0xb6, 0x33, 0x03, 0x98, 0xb8, 0x16, 0x4d, 0x18, 0x3f, 0x2a, 0xc0, 0x9c, 0xd4, 0xf4, 0x68, 0x52, 0x33, 0x84, 0x16, 0x71, + 0x50, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0xa1, 0xf7, 0x7a, 0x1a, 0x56, 0xa0, 0xb8, + 0xef, 0x31, 0xb2, 0x45, 0xc2, 0x24, 0x4b, 0x0f, 0x4a, 0x28, 0x71, 0x8c, 0x4d, 0x30, 0x05, 0x14, 0x6c, 0x52, 0x92, 0x2c, 0xc3, + 0x72, 0x18, 0x09, 0x04, 0x13, 0x7c, 0x08, 0x73, 0x95, 0xd2, 0x67, 0xe9, 0x8e, 0x7f, 0x11, 0x18, 0x30, 0x0b, 0x40, 0xb6, 0x3c, + 0xe4, 0x42, 0xf4, 0x7c, 0x3b, 0xac, 0x78, 0x47, 0x00, 0x26, 0x1a, 0xa0, 0x5e, 0x87, 0x17, 0x6e, 0x97, 0xa6, 0x8d, 0x78, 0x86, + 0x34, 0xa3, 0x76, 0x31, 0x7f, 0x5f, 0x26, 0xcb, 0xe0, 0x57, 0x73, 0xc1, 0x30, 0x86, 0x5a, 0x4a, 0x5c, 0x3f, 0xa7, 0xf7, 0x41, + 0x90, 0x3b, 0x97, 0xf0, 0xbb, 0xfc, 0x19, 0x86, 0xdf, 0xcf, 0x64, 0x8a, 0x47, 0x9c, 0x71, 0xe1, 0x3b, 0xa7, 0xa0, 0xea, 0x18, +}; +const uint8_t sChipTest_NOC_Ext_Basic_Missing_Cert_CHIP[274] = { + 0x15, 0x30, 0x01, 0x08, 0x00, 0xe0, 0x71, 0xab, 0x27, 0xaa, 0xa5, 0x83, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, + 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, + 0x09, 0x41, 0x04, 0x68, 0x64, 0x1c, 0x55, 0x4e, 0x8a, 0x76, 0xb3, 0x74, 0xf5, 0x48, 0x51, 0x30, 0x26, 0x4c, 0xed, 0xe2, + 0xc3, 0xf2, 0xc7, 0x31, 0x80, 0xc3, 0x06, 0xe3, 0xd8, 0xd9, 0xe8, 0xc2, 0x28, 0xc4, 0x50, 0x3e, 0xf5, 0xfc, 0x17, 0xcd, + 0xa8, 0x59, 0x3e, 0x6b, 0x21, 0x51, 0xe6, 0x97, 0x33, 0x8b, 0x29, 0x75, 0x11, 0x10, 0x7a, 0xab, 0x5b, 0xcc, 0xf8, 0x2f, + 0x5b, 0xda, 0xcd, 0xc5, 0x2c, 0x8d, 0xa4, 0x37, 0x0a, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, 0x02, 0x04, 0x01, 0x18, 0x30, + 0x04, 0x14, 0xb2, 0xa3, 0x1a, 0x8d, 0xfc, 0x1d, 0x8f, 0x51, 0x9e, 0x47, 0xca, 0x0d, 0x6f, 0x90, 0x31, 0x2a, 0x1d, 0xd2, + 0x24, 0xc6, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, 0x35, 0xec, 0x3c, + 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x1f, 0xa5, 0x65, 0xb4, 0xd3, 0x29, 0xb5, 0x71, 0xa5, 0xfc, 0x7b, + 0xcc, 0x97, 0x99, 0xd1, 0x76, 0xd2, 0x4b, 0xd8, 0x60, 0x81, 0x0d, 0x3e, 0x8c, 0x3e, 0x1f, 0x0c, 0x6c, 0x4c, 0xb2, 0xa7, + 0x32, 0x54, 0x3c, 0x8a, 0xcb, 0xbd, 0x13, 0xc3, 0x5e, 0x1c, 0x13, 0xc7, 0xfa, 0xc7, 0x9e, 0x40, 0xe5, 0xc8, 0xa5, 0x40, + 0x76, 0xff, 0xe1, 0x11, 0x9d, 0xea, 0xcf, 0xa9, 0x8b, 0x60, 0xd9, 0x69, 0xcc, 0x18, +}; +const uint8_t sChipTest_ICAC_Ext_Basic_Missing_Cert_CHIP[257] = { + 0x15, 0x30, 0x01, 0x08, 0x34, 0x0c, 0xdd, 0x5f, 0xfa, 0x7c, 0x8c, 0xae, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, + 0x37, 0x06, 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xf3, 0x0d, 0x52, 0xe1, 0x77, 0xd9, 0x50, + 0x71, 0x06, 0x76, 0x7e, 0xd6, 0x4c, 0x4a, 0x94, 0x8c, 0xe0, 0x30, 0x2d, 0x02, 0xca, 0xf2, 0xf5, 0xb6, 0x08, 0xd4, 0x4d, + 0x18, 0x93, 0xfa, 0xb6, 0xa2, 0x11, 0x61, 0x38, 0x84, 0x8a, 0xd6, 0x81, 0x34, 0xdc, 0xd4, 0xe3, 0x4a, 0xc7, 0x1b, 0x27, + 0x29, 0xea, 0xd2, 0x09, 0xd8, 0x2d, 0x2f, 0xbd, 0x2c, 0x6a, 0xbf, 0x82, 0xe8, 0x1d, 0x1d, 0xd8, 0x41, 0x37, 0x0a, 0x24, + 0x02, 0x60, 0x30, 0x04, 0x14, 0x6d, 0x1a, 0x02, 0x87, 0x1a, 0x68, 0x7b, 0xdd, 0xda, 0x5d, 0x03, 0xa0, 0x17, 0x1a, 0xd0, + 0x47, 0x21, 0x7a, 0x91, 0x9c, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, + 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0x85, 0x8c, 0xa7, 0x02, 0x4c, 0xea, 0xaa, 0xb9, + 0x34, 0x52, 0xc9, 0xa8, 0x8c, 0xfc, 0x01, 0xa9, 0xae, 0x58, 0x91, 0x5a, 0x80, 0x2c, 0x73, 0x79, 0x7d, 0x1c, 0x8a, 0x73, + 0xb8, 0x82, 0xe7, 0xf6, 0xb8, 0x32, 0xe4, 0xef, 0x5c, 0xb5, 0x6f, 0xed, 0xd5, 0x9a, 0x92, 0x51, 0x48, 0x87, 0x7f, 0x77, + 0xb0, 0xc4, 0xcd, 0xd8, 0x37, 0x08, 0xe6, 0xf1, 0xa4, 0x77, 0x1c, 0x40, 0xa0, 0x4d, 0x96, 0xc3, 0x18, +}; +const uint8_t sChipTest_RCAC_Ext_Basic_Missing_Cert_CHIP[247] = { + 0x15, 0x30, 0x01, 0x08, 0x13, 0x05, 0x5d, 0xd2, 0xa1, 0x17, 0x56, 0xdd, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, + 0xbf, 0xd3, 0x50, 0x87, 0xee, 0x5e, 0x1f, 0x38, 0xb5, 0x35, 0x47, 0x58, 0x76, 0xb5, 0x56, 0x3f, 0x61, 0x7e, 0xbe, 0x29, 0x80, + 0x8b, 0xb6, 0x6a, 0x36, 0x35, 0xf4, 0x03, 0xc2, 0xbd, 0x11, 0xee, 0x1a, 0xf1, 0x22, 0x86, 0x11, 0x36, 0x11, 0xa6, 0xcc, 0xc1, + 0xda, 0xd9, 0xd3, 0xe9, 0x18, 0x9d, 0x74, 0x2f, 0x08, 0x43, 0x94, 0x17, 0xf8, 0xd6, 0xdd, 0x11, 0x05, 0x66, 0x7d, 0xf0, 0x2d, + 0xdd, 0x37, 0x0a, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0xf4, 0xfc, 0x4a, 0xa4, 0xb6, 0x79, 0xeb, 0xe3, 0xdf, 0xe2, 0x03, 0xa1, + 0xae, 0xc7, 0xfe, 0x89, 0xc5, 0x22, 0x88, 0xee, 0x30, 0x05, 0x14, 0xf4, 0xfc, 0x4a, 0xa4, 0xb6, 0x79, 0xeb, 0xe3, 0xdf, 0xe2, + 0x03, 0xa1, 0xae, 0xc7, 0xfe, 0x89, 0xc5, 0x22, 0x88, 0xee, 0x18, 0x30, 0x0b, 0x40, 0x45, 0xc9, 0x0e, 0x3a, 0x48, 0xee, 0xc0, + 0x12, 0x4f, 0x02, 0xce, 0x8a, 0x96, 0x83, 0xf5, 0x49, 0xa7, 0x17, 0x5d, 0x07, 0xab, 0x79, 0xca, 0xec, 0x51, 0x79, 0x70, 0x83, + 0xd1, 0xe7, 0xb7, 0xa0, 0xc1, 0xd7, 0xc0, 0xa3, 0x20, 0x8c, 0xb5, 0xce, 0x75, 0x77, 0x16, 0xb8, 0xfd, 0x3a, 0x79, 0x9a, 0x00, + 0x09, 0x02, 0xbe, 0x54, 0xb8, 0x5b, 0x8a, 0xe0, 0xfa, 0xd8, 0x48, 0x3d, 0xbe, 0xd9, 0xa6, 0x18, +}; +const uint8_t sChipTest_NOC_Ext_Basic_CA_Missing_Cert_CHIP[277] = { + 0x15, 0x30, 0x01, 0x08, 0x01, 0xd0, 0xb3, 0x6c, 0x8d, 0x34, 0x5a, 0x06, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, + 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, + 0x09, 0x41, 0x04, 0xcc, 0xf8, 0x1a, 0x8f, 0xcf, 0xfe, 0x8c, 0x9a, 0x32, 0x80, 0x24, 0x93, 0xe6, 0xa1, 0x61, 0x7c, 0x91, + 0xfb, 0x93, 0x57, 0x0a, 0x8d, 0xcb, 0x1f, 0x29, 0x38, 0x7b, 0x20, 0xa4, 0x56, 0xb3, 0x89, 0x02, 0x54, 0xeb, 0x75, 0x60, + 0x87, 0xda, 0x8a, 0xd2, 0x6d, 0xad, 0x7d, 0x73, 0x12, 0x47, 0x33, 0x02, 0xe2, 0xa7, 0x96, 0xec, 0x35, 0x85, 0xba, 0x22, + 0x27, 0x61, 0x0c, 0x9b, 0xff, 0xb0, 0xdd, 0x37, 0x0a, 0x35, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, 0x02, 0x04, + 0x01, 0x18, 0x30, 0x04, 0x14, 0xe4, 0x11, 0x07, 0xf6, 0x0f, 0xde, 0xdc, 0x3c, 0xe1, 0x98, 0xcd, 0x00, 0xf0, 0x27, 0x59, + 0x49, 0x4d, 0x59, 0x6d, 0x0c, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, + 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x41, 0x82, 0x1e, 0x05, 0x48, 0x09, 0x56, 0xbe, + 0xd7, 0xa2, 0xe5, 0x09, 0x7b, 0x51, 0xe7, 0xa1, 0x5c, 0x7b, 0x63, 0x7e, 0xec, 0x77, 0xe2, 0xae, 0x0b, 0xf3, 0x9f, 0x70, + 0x39, 0x3e, 0x48, 0xb2, 0x63, 0x8d, 0xdb, 0xae, 0x5f, 0xe6, 0x26, 0x8d, 0x05, 0x6b, 0xca, 0xeb, 0x82, 0xb0, 0x7c, 0xde, + 0xb0, 0x72, 0xda, 0xf0, 0x75, 0x66, 0x40, 0x90, 0x8a, 0xbd, 0x80, 0x69, 0x17, 0x1b, 0x98, 0x63, 0x18, +}; +const uint8_t sChipTest_ICAC_Ext_Basic_CA_Missing_Cert_CHIP[260] = { + 0x15, 0x30, 0x01, 0x08, 0x10, 0x0d, 0xad, 0x02, 0x89, 0x70, 0x22, 0xae, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, + 0x37, 0x06, 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x28, 0x4c, 0x4b, 0x79, 0xc1, 0x14, 0x18, + 0x3a, 0xa5, 0x1f, 0xd0, 0xc0, 0x06, 0xbd, 0x93, 0xcd, 0x79, 0xd9, 0x26, 0xef, 0x04, 0x86, 0x4e, 0x4b, 0xa6, 0x6a, 0xd4, + 0xe9, 0xc8, 0x55, 0xf7, 0xbf, 0x1b, 0x4a, 0xea, 0x9f, 0xdd, 0xa3, 0x55, 0x71, 0xd5, 0xf0, 0xd8, 0xdb, 0xe2, 0xad, 0x15, + 0x3e, 0xae, 0x51, 0xf7, 0x5b, 0x6c, 0xd4, 0x8b, 0x8f, 0x3e, 0xb3, 0xcc, 0xb1, 0xcc, 0xe0, 0xe8, 0xb3, 0x37, 0x0a, 0x35, + 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0xbd, 0x58, 0x18, 0x0c, 0x57, 0x40, 0x57, 0x10, 0x30, 0x36, 0x31, 0x9d, + 0x5d, 0x65, 0xa0, 0x1d, 0xcc, 0x75, 0x47, 0x4d, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, + 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0x89, 0x8e, 0x01, 0x71, 0x56, + 0xd6, 0xaf, 0x3b, 0x03, 0x0a, 0x70, 0x7b, 0x81, 0xba, 0x1f, 0xc3, 0xb3, 0x79, 0x29, 0xd3, 0xb0, 0x58, 0xa1, 0x88, 0xca, + 0xb0, 0xef, 0x73, 0xb7, 0x5f, 0xd8, 0x32, 0x7f, 0xe7, 0x03, 0xf3, 0xef, 0x8a, 0x16, 0x7d, 0x6f, 0xe0, 0xd7, 0xf9, 0x82, + 0x4f, 0x6a, 0x1a, 0x70, 0xec, 0x2f, 0x74, 0x41, 0x95, 0x52, 0x23, 0x4e, 0x45, 0xed, 0x11, 0xbd, 0x58, 0xe4, 0x07, 0x18, +}; +const uint8_t sChipTest_RCAC_Ext_Basic_CA_Missing_Cert_CHIP[250] = { + 0x15, 0x30, 0x01, 0x08, 0x6b, 0xb5, 0x91, 0x53, 0x37, 0xee, 0x45, 0x2a, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, + 0xb9, 0x0f, 0xc8, 0x38, 0x83, 0x30, 0xfa, 0x0a, 0xa1, 0x4b, 0x27, 0x1c, 0x38, 0xa2, 0x8a, 0xae, 0xba, 0x80, 0x57, 0x7b, 0x84, + 0xf9, 0x1b, 0x5f, 0xbd, 0xb4, 0x1c, 0x0b, 0x71, 0x9e, 0xca, 0x59, 0xac, 0x9f, 0x1f, 0x84, 0x31, 0x89, 0x0c, 0xd3, 0xa9, 0x19, + 0x65, 0xe3, 0xe4, 0xb4, 0xf9, 0x0e, 0x35, 0x6a, 0xae, 0x8f, 0x81, 0x43, 0x73, 0x62, 0x21, 0x22, 0x1b, 0xce, 0xc8, 0xff, 0x45, + 0x75, 0x37, 0x0a, 0x35, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0x39, 0x97, 0xc6, 0xe1, 0x60, 0x9e, 0xaa, 0x5a, 0x58, + 0x58, 0xa5, 0xcf, 0xa8, 0xa7, 0x7a, 0xfd, 0x51, 0x3c, 0xe0, 0x18, 0x30, 0x05, 0x14, 0x39, 0x97, 0xc6, 0xe1, 0x60, 0x9e, 0xaa, + 0x5a, 0x58, 0x58, 0xa5, 0xcf, 0xa8, 0xa7, 0x7a, 0xfd, 0x51, 0x3c, 0xe0, 0x18, 0x18, 0x30, 0x0b, 0x40, 0x33, 0x91, 0x30, 0xae, + 0xac, 0xce, 0x99, 0xd8, 0x7b, 0x34, 0x1f, 0x41, 0x01, 0xf5, 0x86, 0x0a, 0xaf, 0xc0, 0xce, 0x23, 0xa0, 0x70, 0x4a, 0x8a, 0xfd, + 0x9e, 0x5c, 0x4e, 0xd8, 0x7d, 0xfb, 0x92, 0xa6, 0x21, 0xb6, 0x94, 0xa0, 0xb1, 0x1e, 0x01, 0x93, 0x59, 0x39, 0x01, 0xc0, 0x73, + 0x10, 0x9a, 0x1d, 0xfa, 0x00, 0x2e, 0xbc, 0xcc, 0x81, 0x3c, 0xcf, 0x12, 0x0c, 0x79, 0xbc, 0x43, 0x37, 0x6f, 0x18, +}; +const uint8_t sChipTest_NOC_Ext_Basic_CA_Wrong_Cert_CHIP[279] = { + 0x15, 0x30, 0x01, 0x08, 0x33, 0xc1, 0xc7, 0x50, 0x36, 0x97, 0x62, 0xc1, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, + 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, + 0x09, 0x41, 0x04, 0xf0, 0xbe, 0x75, 0xfe, 0x3a, 0xc6, 0x9d, 0xca, 0xf6, 0xd1, 0x7c, 0xff, 0xa7, 0x04, 0xaf, 0x89, 0xd6, + 0x83, 0x15, 0xb6, 0xec, 0x92, 0x2a, 0xbb, 0xb7, 0x9a, 0xee, 0x81, 0x0c, 0xa4, 0x03, 0x7d, 0xe5, 0x58, 0x33, 0x8a, 0x75, + 0x8e, 0xac, 0xb2, 0x9c, 0x93, 0x02, 0x82, 0xe6, 0xbf, 0x72, 0xdb, 0xef, 0x0f, 0x47, 0x9a, 0xf2, 0x5f, 0x16, 0xd9, 0xca, + 0xb8, 0x23, 0x20, 0xe7, 0x49, 0x44, 0x1d, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, + 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0xb1, 0x65, 0xc3, 0xb6, 0xc2, 0xac, 0x74, 0x7b, 0xa5, 0x32, 0xbc, 0xbc, 0xa8, + 0xf5, 0x15, 0x0a, 0xda, 0x38, 0x82, 0xc5, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, + 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0xd2, 0xe1, 0x56, 0x47, 0x7f, 0x56, + 0x02, 0xa9, 0xbf, 0xe3, 0x6f, 0x13, 0x72, 0xab, 0x17, 0x47, 0x93, 0x21, 0x4e, 0xd6, 0x3f, 0xaf, 0x55, 0xf7, 0x06, 0x5f, + 0x22, 0x44, 0x5d, 0x44, 0xc0, 0x06, 0x89, 0x1a, 0x9c, 0x43, 0x80, 0xb0, 0xa5, 0x06, 0x3f, 0x17, 0xef, 0x00, 0x11, 0x2f, + 0x6d, 0xcf, 0xe4, 0x4a, 0x41, 0x2c, 0x2f, 0xd0, 0xc1, 0x03, 0xf2, 0xba, 0x43, 0x53, 0xb1, 0x6d, 0x9a, 0x90, 0x18, +}; +const uint8_t sChipTest_ICAC_Ext_Basic_CA_Wrong_Cert_CHIP[262] = { + 0x15, 0x30, 0x01, 0x08, 0x22, 0xb0, 0x7e, 0x34, 0xb5, 0xa2, 0xa9, 0x4c, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, + 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x66, 0xde, 0x11, 0xa9, 0x1b, 0xb9, 0x6a, 0x41, 0x38, 0x92, 0xc2, + 0x1e, 0xf2, 0xff, 0xee, 0x41, 0xb9, 0x3d, 0x73, 0x22, 0xf3, 0xf7, 0x3b, 0xca, 0xa5, 0x76, 0x03, 0x0b, 0x44, 0x6c, 0xb7, 0x1e, + 0xac, 0x96, 0x3a, 0x6e, 0xaf, 0x8f, 0xd5, 0x0e, 0xa8, 0xda, 0x82, 0x52, 0xdc, 0xea, 0xff, 0x7a, 0xc4, 0x9a, 0x8b, 0xc5, 0x75, + 0x49, 0x34, 0x12, 0x73, 0x0a, 0xb9, 0xb1, 0x19, 0xc3, 0x15, 0xe1, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x60, + 0x30, 0x04, 0x14, 0xac, 0x4b, 0x2f, 0x72, 0x10, 0x8b, 0x47, 0xf0, 0x39, 0xad, 0x4f, 0x5c, 0x17, 0x83, 0x57, 0xb3, 0xf9, 0x12, + 0x31, 0x0c, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, + 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0x14, 0x6e, 0xe5, 0x42, 0x98, 0xfe, 0xc6, 0x01, 0xbc, 0x29, 0x93, 0x94, 0x58, + 0xd7, 0xb7, 0x69, 0xb4, 0x53, 0xe1, 0xdb, 0x7e, 0x85, 0xe8, 0x57, 0xc9, 0x47, 0x4e, 0xa9, 0xf0, 0xd3, 0x22, 0x2b, 0x8c, 0x7d, + 0xff, 0xdd, 0xc1, 0x17, 0x6b, 0xdf, 0x77, 0xb5, 0xb8, 0xc1, 0xa1, 0x22, 0xd8, 0xbf, 0x4f, 0x63, 0x3b, 0x92, 0x26, 0x96, 0xf8, + 0xde, 0x9c, 0xc0, 0x23, 0x06, 0x3a, 0x41, 0x58, 0x23, 0x18, +}; +const uint8_t sChipTest_RCAC_Ext_Basic_CA_Wrong_Cert_CHIP[252] = { + 0x15, 0x30, 0x01, 0x08, 0x23, 0x34, 0xfc, 0x3d, 0xef, 0x9a, 0xdc, 0x0c, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, + 0x4f, 0x7c, 0x91, 0x26, 0xb0, 0xff, 0xd9, 0x1b, 0x0c, 0x10, 0xcb, 0x15, 0x2f, 0x9c, 0x28, 0x2b, 0xb1, 0x85, 0xe0, 0x37, 0x8a, + 0x84, 0xb7, 0x67, 0xf1, 0x08, 0xbe, 0xfb, 0x7d, 0xdc, 0xda, 0xaa, 0x6d, 0xf9, 0x1a, 0xbf, 0x18, 0x01, 0x92, 0x50, 0x94, 0xb6, + 0x4e, 0x8f, 0xbc, 0xee, 0xb9, 0x69, 0x2f, 0x7c, 0xe6, 0x1c, 0x55, 0x75, 0xad, 0xd8, 0x73, 0xd4, 0x71, 0x3e, 0xa8, 0x34, 0x4e, + 0x43, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0xf3, 0x1b, 0x77, 0x75, 0x13, 0x0d, 0x0b, + 0x90, 0xf0, 0x75, 0x26, 0x71, 0x57, 0xa0, 0x22, 0xd7, 0xac, 0x5e, 0x7b, 0x5d, 0x30, 0x05, 0x14, 0xf3, 0x1b, 0x77, 0x75, 0x13, + 0x0d, 0x0b, 0x90, 0xf0, 0x75, 0x26, 0x71, 0x57, 0xa0, 0x22, 0xd7, 0xac, 0x5e, 0x7b, 0x5d, 0x18, 0x30, 0x0b, 0x40, 0x81, 0x7f, + 0x7e, 0x13, 0xcf, 0x62, 0xcd, 0xca, 0xc9, 0x0b, 0xc7, 0xb4, 0x04, 0xb0, 0xdc, 0x2a, 0x8d, 0x7f, 0x6b, 0x59, 0x1b, 0xcc, 0xec, + 0x04, 0x6b, 0x88, 0x46, 0x11, 0x49, 0xf0, 0xd3, 0x74, 0x0b, 0xe0, 0x71, 0x98, 0x32, 0x49, 0x3a, 0x2e, 0x16, 0x8e, 0x39, 0xd6, + 0x12, 0x4e, 0x5f, 0xe2, 0xf4, 0xad, 0x98, 0xdb, 0x5d, 0x49, 0x9d, 0x5c, 0x76, 0xac, 0x4b, 0xbb, 0x81, 0xd2, 0x83, 0x9f, 0x18, +}; +const uint8_t sChipTest_NOC_Ext_Basic_PathLen_Presence_Wrong_Cert_CHIP[279] = { + 0x15, 0x30, 0x01, 0x08, 0x0b, 0x86, 0x21, 0x41, 0x75, 0x05, 0x6a, 0x67, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, + 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, + 0x09, 0x41, 0x04, 0x82, 0xb7, 0x8f, 0x7d, 0x7c, 0x8e, 0x9c, 0x30, 0x8f, 0xde, 0x67, 0x48, 0xca, 0x74, 0xad, 0xe6, 0x3d, + 0xb0, 0xbc, 0x3f, 0x48, 0xc2, 0xf7, 0x1a, 0xb6, 0x1e, 0x06, 0x98, 0xdc, 0x0c, 0x15, 0x5f, 0x2a, 0x16, 0xbe, 0xf2, 0x99, + 0x5c, 0xf3, 0x5e, 0xbc, 0x77, 0x3a, 0x22, 0xad, 0x76, 0x42, 0x7b, 0x7e, 0xd9, 0x15, 0xdb, 0x30, 0xde, 0x2a, 0xe6, 0xc1, + 0x41, 0xe9, 0x6a, 0x35, 0xa9, 0xad, 0xfc, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, + 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0x98, 0x53, 0x74, 0x33, 0xef, 0x7f, 0xab, 0xee, 0x7a, 0x65, 0xcf, 0x4b, 0x36, + 0x06, 0x01, 0x00, 0xe8, 0xe8, 0x34, 0xb7, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, + 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0xb9, 0x65, 0x67, 0xd7, 0xc8, 0x35, + 0x24, 0x49, 0xf6, 0x53, 0x8c, 0xe3, 0x95, 0x34, 0x42, 0x92, 0x92, 0x29, 0xda, 0xbc, 0x36, 0xf2, 0xd3, 0xce, 0xe5, 0x98, + 0x5d, 0x1a, 0xe4, 0x7b, 0xfa, 0xe5, 0x1f, 0x34, 0x1e, 0x39, 0x94, 0xb1, 0x1b, 0xbb, 0x99, 0x10, 0xc3, 0x2b, 0xf9, 0x5b, + 0xff, 0x1a, 0xce, 0xb8, 0x24, 0x86, 0xb5, 0x1b, 0x60, 0x03, 0xcc, 0x27, 0x94, 0x48, 0x2d, 0x82, 0x42, 0x3a, 0x18, +}; +const uint8_t sChipTest_ICAC_Ext_Basic_PathLen_Presence_Wrong_Cert_CHIP[262] = { + 0x15, 0x30, 0x01, 0x08, 0x5a, 0xf2, 0x09, 0x6a, 0x40, 0x21, 0x27, 0xc8, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, + 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x2c, 0x32, 0xf6, 0x21, 0xd5, 0x18, 0xf9, 0x75, 0xa0, 0xd5, 0x6d, + 0x94, 0x68, 0x68, 0x32, 0x70, 0xc3, 0xe2, 0x43, 0x81, 0x09, 0xee, 0xee, 0x55, 0xc0, 0xa7, 0xea, 0xa9, 0x27, 0x71, 0x7b, 0x1a, + 0x1d, 0xe6, 0x1f, 0xa4, 0x03, 0x08, 0x30, 0xd3, 0x1b, 0xb7, 0x8f, 0xb8, 0xd0, 0x69, 0x8b, 0xa0, 0x4a, 0x39, 0xeb, 0x79, 0x2c, + 0x38, 0x38, 0xf5, 0x93, 0x5a, 0xe5, 0x38, 0xe9, 0x59, 0x6c, 0x45, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, + 0x30, 0x04, 0x14, 0xce, 0x05, 0x35, 0x98, 0xfe, 0xbf, 0xee, 0xa4, 0x60, 0x96, 0x9e, 0x22, 0xdc, 0x96, 0x4d, 0x48, 0xdc, 0xa9, + 0xd9, 0x9b, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, + 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0x80, 0x3e, 0x5a, 0x3a, 0x2b, 0xef, 0x3a, 0xcf, 0x2d, 0x2f, 0x4f, 0x7a, 0x0c, + 0x60, 0x5a, 0x82, 0x8f, 0xf0, 0x6e, 0x49, 0x6a, 0xf0, 0x6b, 0x01, 0x69, 0xa2, 0xb5, 0xf2, 0x67, 0x63, 0xbe, 0x63, 0xf5, 0x42, + 0x86, 0x0b, 0xb8, 0xc0, 0x8b, 0x0a, 0x39, 0x00, 0xb5, 0x6b, 0xfd, 0x4a, 0x7e, 0x88, 0x5c, 0xae, 0x2a, 0xbe, 0x65, 0x2a, 0x38, + 0xcc, 0xf5, 0xdb, 0xf7, 0xdf, 0x68, 0xbe, 0xf0, 0x2a, 0x18, +}; +const uint8_t sChipTest_RCAC_Ext_Basic_PathLen_Presence_Wrong_Cert_CHIP[252] = { + 0x15, 0x30, 0x01, 0x08, 0x11, 0xab, 0x40, 0x8a, 0x5e, 0x23, 0x2a, 0xb7, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, + 0x0d, 0x7b, 0x7b, 0x41, 0xde, 0x22, 0x27, 0xbc, 0x12, 0x3a, 0xab, 0xc3, 0x80, 0x9a, 0x12, 0x2f, 0x8b, 0x3c, 0x6a, 0x36, 0xb9, + 0xfc, 0xe2, 0x94, 0xff, 0xc2, 0x1f, 0x13, 0x8c, 0xed, 0xbd, 0x9f, 0xe9, 0x7a, 0xef, 0x36, 0x83, 0x98, 0xe9, 0x0b, 0x52, 0x56, + 0xbf, 0xc9, 0xfe, 0x97, 0x14, 0x4e, 0x74, 0xe9, 0xd2, 0xc9, 0x14, 0x36, 0x6a, 0x85, 0x1c, 0xb2, 0x32, 0xca, 0xb6, 0xfb, 0x4b, + 0x44, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0xa5, 0xb5, 0x94, 0x8f, 0x3d, 0xd5, 0x36, + 0x4f, 0xb7, 0xc1, 0x35, 0x49, 0x3a, 0xd9, 0xc6, 0x89, 0xdd, 0xa8, 0x12, 0x7f, 0x30, 0x05, 0x14, 0xa5, 0xb5, 0x94, 0x8f, 0x3d, + 0xd5, 0x36, 0x4f, 0xb7, 0xc1, 0x35, 0x49, 0x3a, 0xd9, 0xc6, 0x89, 0xdd, 0xa8, 0x12, 0x7f, 0x18, 0x30, 0x0b, 0x40, 0x64, 0x6c, + 0xf1, 0x7d, 0xef, 0x94, 0xfb, 0xc8, 0x96, 0xcb, 0x29, 0x1b, 0x7e, 0x40, 0xb4, 0x89, 0x18, 0xb5, 0x91, 0xe5, 0xf8, 0x87, 0x93, + 0x81, 0x15, 0x95, 0xd8, 0x44, 0x9b, 0x28, 0x61, 0x1d, 0x06, 0xee, 0x26, 0x33, 0xad, 0x4b, 0x5d, 0x30, 0x46, 0x26, 0xe0, 0x13, + 0xfc, 0x6c, 0xcf, 0x95, 0x3b, 0x17, 0xa4, 0xf8, 0xea, 0xd2, 0x67, 0x63, 0xb4, 0x42, 0xb1, 0x9d, 0x67, 0x56, 0xf5, 0x2e, 0x18, +}; +const uint8_t sChipTest_NOC_Ext_Basic_PathLen2_Cert_CHIP[279] = { + 0x15, 0x30, 0x01, 0x08, 0x7b, 0xfb, 0x4a, 0xdc, 0x30, 0xef, 0x6f, 0x33, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, + 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, + 0x09, 0x41, 0x04, 0xb2, 0xe4, 0xf1, 0xce, 0xfa, 0xfc, 0x69, 0xd4, 0x4a, 0xc4, 0x82, 0x39, 0x85, 0xa2, 0xcc, 0x63, 0x59, + 0x88, 0x48, 0x04, 0xb6, 0xe8, 0x83, 0x18, 0xdd, 0x24, 0x3b, 0x13, 0x27, 0xed, 0xef, 0xfc, 0x13, 0x51, 0x5b, 0x1a, 0x3d, + 0x15, 0x05, 0x0a, 0x62, 0x37, 0x15, 0xf3, 0xe8, 0xdd, 0xf0, 0xc9, 0x5c, 0x82, 0x41, 0x83, 0xe3, 0xdc, 0x24, 0x4f, 0x34, + 0xb3, 0x0b, 0x47, 0x72, 0xc4, 0x23, 0x6c, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, + 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0x3c, 0x14, 0xc4, 0x0f, 0xb9, 0xd9, 0x6d, 0x9d, 0x8b, 0xab, 0x28, 0x72, 0xe4, + 0xbf, 0x6e, 0x3c, 0xe6, 0x4b, 0xbd, 0x5d, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, + 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x4d, 0x1d, 0xcd, 0x3a, 0x43, 0x17, + 0x90, 0xeb, 0xa0, 0x3f, 0x00, 0x6e, 0xdd, 0x87, 0x89, 0x3b, 0x47, 0x6e, 0x42, 0xf2, 0x81, 0x8e, 0x9e, 0x9a, 0xe2, 0x7e, + 0x85, 0xd7, 0x9b, 0xfa, 0x3f, 0xab, 0x71, 0x5e, 0x76, 0x64, 0x77, 0x8f, 0x1c, 0xf3, 0xe7, 0xe0, 0x38, 0xc3, 0x55, 0x1e, + 0xc9, 0xdb, 0x07, 0xc2, 0x4b, 0x52, 0x60, 0xa0, 0x1d, 0xc6, 0x21, 0x02, 0x2a, 0x40, 0x15, 0xda, 0x7e, 0x05, 0x18, +}; +const uint8_t sChipTest_ICAC_Ext_Basic_PathLen2_Cert_CHIP[262] = { + 0x15, 0x30, 0x01, 0x08, 0x12, 0x85, 0x81, 0xb1, 0x01, 0x89, 0x25, 0xac, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, + 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x40, 0x23, 0x59, 0xd5, 0x9f, 0x61, 0x50, 0x09, 0xf2, 0x0d, 0xab, + 0x26, 0xd7, 0x1a, 0x3a, 0xf3, 0x07, 0x11, 0xef, 0x14, 0x7a, 0xab, 0x2f, 0x11, 0x07, 0xe0, 0xcd, 0x0e, 0x51, 0x7b, 0x61, 0x95, + 0x7c, 0xe2, 0x29, 0x3f, 0xea, 0xe3, 0x17, 0xb3, 0x30, 0xcd, 0xdb, 0x69, 0xbc, 0xe9, 0x6c, 0x85, 0x55, 0xbd, 0x42, 0xf8, 0xfc, + 0x86, 0x2b, 0x4c, 0x17, 0xe9, 0xf0, 0xaf, 0x2b, 0xa2, 0x0d, 0x25, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, + 0x30, 0x04, 0x14, 0x22, 0x82, 0x7e, 0x5c, 0xf1, 0x13, 0x34, 0xac, 0x84, 0x79, 0x34, 0xd1, 0x59, 0x80, 0x79, 0x43, 0x85, 0xbc, + 0xdc, 0x84, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, + 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0x81, 0x28, 0x95, 0x14, 0x24, 0x10, 0xf5, 0x26, 0x54, 0x10, 0xa4, 0xc1, 0xad, + 0xfe, 0xc9, 0xa0, 0xd2, 0x82, 0x1c, 0x33, 0x3b, 0x19, 0xf1, 0xa7, 0x31, 0x09, 0xc7, 0xec, 0x44, 0xa8, 0x70, 0xa9, 0x5c, 0x7d, + 0xef, 0x95, 0x75, 0xf9, 0xf8, 0xe1, 0x96, 0xff, 0x97, 0x20, 0x2d, 0xec, 0xf2, 0x78, 0x8a, 0xae, 0x29, 0xea, 0xf0, 0x1a, 0x53, + 0x58, 0xd6, 0x46, 0xb8, 0x25, 0x83, 0xd8, 0xe9, 0xd0, 0x18, +}; +const uint8_t sChipTest_RCAC_Ext_Basic_PathLen2_Cert_CHIP[252] = { + 0x15, 0x30, 0x01, 0x08, 0x55, 0xc3, 0xe6, 0xec, 0xd7, 0x17, 0xdd, 0xd5, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, + 0x3c, 0x24, 0x36, 0x76, 0xa7, 0xc2, 0x5e, 0x73, 0xea, 0x82, 0x8f, 0x20, 0x60, 0xdb, 0xe7, 0xb9, 0x2c, 0x5f, 0x22, 0xf9, 0x63, + 0x6e, 0xe3, 0xcb, 0x8b, 0x53, 0xcd, 0xd6, 0x4a, 0xf9, 0x31, 0x0f, 0x0d, 0x20, 0x75, 0xdd, 0x03, 0x2d, 0x28, 0x6d, 0x5b, 0xda, + 0x0f, 0x65, 0x50, 0xe3, 0x37, 0x33, 0x96, 0x64, 0x1a, 0xb3, 0x1e, 0x40, 0xf6, 0xaa, 0x2d, 0x43, 0xd5, 0x25, 0x94, 0xb1, 0x15, + 0x8b, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0x7a, 0x89, 0x5c, 0xe2, 0x66, 0x80, 0xad, + 0x0b, 0xa8, 0xd4, 0xa9, 0x57, 0x08, 0x2b, 0xc6, 0x82, 0xd6, 0xfb, 0x2a, 0x90, 0x30, 0x05, 0x14, 0x7a, 0x89, 0x5c, 0xe2, 0x66, + 0x80, 0xad, 0x0b, 0xa8, 0xd4, 0xa9, 0x57, 0x08, 0x2b, 0xc6, 0x82, 0xd6, 0xfb, 0x2a, 0x90, 0x18, 0x30, 0x0b, 0x40, 0xe9, 0x60, + 0x25, 0xc0, 0x02, 0xdd, 0xc2, 0x98, 0x4c, 0xba, 0x43, 0xd3, 0x62, 0xcd, 0x95, 0x44, 0xe1, 0x0c, 0x96, 0xe5, 0x0b, 0x89, 0x2e, + 0xcd, 0x1a, 0x64, 0x14, 0x55, 0x22, 0xad, 0x60, 0x55, 0xa3, 0xcb, 0xe7, 0x5f, 0x28, 0xd8, 0xe0, 0x7b, 0xbe, 0x54, 0x07, 0x31, + 0x12, 0x03, 0x65, 0x8f, 0x56, 0x0b, 0x6e, 0xd6, 0x12, 0x90, 0x66, 0x74, 0x30, 0x08, 0x67, 0x93, 0x02, 0x43, 0x90, 0x7d, 0x18, +}; +const uint8_t sChipTest_NOC_Ext_KeyUsage_Missing_Cert_CHIP[276] = { + 0x15, 0x30, 0x01, 0x08, 0x7a, 0xb2, 0x45, 0x84, 0xb2, 0x67, 0x7b, 0x5e, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, + 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, + 0x09, 0x41, 0x04, 0xa5, 0x2e, 0xe5, 0x6e, 0xd1, 0xb2, 0x6c, 0x75, 0x6c, 0xaf, 0x5d, 0x19, 0x7b, 0xc7, 0x14, 0xd1, 0x6b, + 0x0e, 0x88, 0x66, 0x62, 0xf7, 0xf0, 0x27, 0xee, 0x8f, 0x52, 0xa3, 0x49, 0xf5, 0xb5, 0x25, 0x6b, 0x58, 0xa0, 0x7d, 0x62, + 0x09, 0x88, 0x5a, 0xc8, 0xb1, 0x94, 0xaf, 0x86, 0x53, 0xb7, 0x50, 0x87, 0x15, 0x33, 0x21, 0x6e, 0x8c, 0x7a, 0x5e, 0x9e, + 0xb9, 0x10, 0xff, 0xa1, 0xa9, 0x16, 0xb0, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x36, 0x03, 0x04, 0x02, 0x04, 0x01, + 0x18, 0x30, 0x04, 0x14, 0xfd, 0xb8, 0x06, 0xb8, 0x7b, 0xae, 0x68, 0x63, 0x1e, 0x3d, 0x6b, 0x54, 0xb1, 0x33, 0x89, 0xd6, + 0x11, 0xe3, 0x93, 0xc6, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, 0x35, + 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x00, 0x63, 0x9b, 0x17, 0x04, 0x95, 0xb8, 0xc6, 0xad, + 0x29, 0x57, 0x4d, 0xcb, 0x11, 0x43, 0xea, 0x87, 0xcd, 0x1f, 0x7b, 0x18, 0x27, 0xfe, 0x98, 0x28, 0x96, 0x77, 0xc4, 0xc9, + 0x9c, 0xaa, 0xd2, 0x94, 0x5e, 0x9d, 0x67, 0x46, 0x9e, 0x93, 0x9e, 0x28, 0xca, 0x68, 0x06, 0x6a, 0x0b, 0xc6, 0x34, 0xfc, + 0x75, 0xa0, 0x07, 0xe2, 0xd2, 0x8f, 0xe3, 0x18, 0x12, 0x82, 0xc0, 0x92, 0xbe, 0x69, 0xd2, 0x18, +}; +const uint8_t sChipTest_ICAC_Ext_KeyUsage_Missing_Cert_CHIP[259] = { + 0x15, 0x30, 0x01, 0x08, 0x25, 0x48, 0x17, 0x8e, 0xd6, 0x4d, 0x72, 0xf4, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, + 0x37, 0x06, 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xe6, 0xb7, 0x21, 0x87, 0x61, 0xdb, 0x4f, + 0x39, 0x8a, 0x7b, 0xe0, 0x26, 0x62, 0x78, 0x2c, 0xcd, 0xaf, 0xb0, 0x1e, 0xc9, 0x05, 0xd1, 0x5c, 0xd4, 0xdb, 0xc3, 0x0d, + 0x63, 0x0e, 0xde, 0x06, 0x05, 0xe3, 0xec, 0x66, 0xeb, 0x41, 0x77, 0x08, 0xf8, 0xdc, 0xd8, 0x86, 0x70, 0xde, 0x17, 0x25, + 0xce, 0x41, 0x00, 0x86, 0xbd, 0xb8, 0xd8, 0x98, 0x41, 0x15, 0xf0, 0x26, 0x3c, 0x4e, 0x91, 0x95, 0x37, 0x37, 0x0a, 0x35, + 0x01, 0x29, 0x01, 0x18, 0x30, 0x04, 0x14, 0x18, 0x3d, 0xad, 0x3f, 0x32, 0x9f, 0x2a, 0x3e, 0xa3, 0x92, 0xc6, 0xaa, 0x63, + 0x07, 0x32, 0x03, 0x6c, 0xcd, 0x13, 0xac, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, + 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0xd4, 0xb0, 0xc6, 0x32, 0xb4, 0xf9, + 0x11, 0x2c, 0x20, 0xba, 0xd6, 0xef, 0xa0, 0xc0, 0x28, 0x16, 0xf4, 0xac, 0x4e, 0x3a, 0xc2, 0xe0, 0x4e, 0x15, 0xd0, 0xaf, + 0x33, 0x44, 0xdd, 0x40, 0xcd, 0x3c, 0xb6, 0x97, 0x16, 0x20, 0xf0, 0x28, 0x20, 0x8c, 0x4e, 0x35, 0x93, 0xe6, 0x82, 0x2e, + 0xcd, 0x27, 0x52, 0xde, 0xd3, 0x5e, 0x21, 0x1a, 0x69, 0x53, 0x84, 0x3a, 0xbb, 0x0d, 0x53, 0x3e, 0xf0, 0x6f, 0x18, +}; +const uint8_t sChipTest_RCAC_Ext_KeyUsage_Missing_Cert_CHIP[249] = { + 0x15, 0x30, 0x01, 0x08, 0x40, 0xdb, 0xdb, 0x9f, 0x3a, 0xb7, 0xfb, 0xec, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, + 0x07, 0x6c, 0x3e, 0x47, 0x9e, 0x7e, 0x0e, 0x5e, 0xb2, 0xb4, 0xe7, 0x03, 0xf7, 0xac, 0x4f, 0xb7, 0xa0, 0xf7, 0xe8, 0x5b, 0xad, + 0xbb, 0xec, 0x5d, 0x33, 0x56, 0x1c, 0x65, 0x87, 0x1c, 0xc9, 0x25, 0xa3, 0x53, 0xee, 0x03, 0x02, 0x80, 0x3c, 0xde, 0x69, 0x3c, + 0x5d, 0xb1, 0x7d, 0x1d, 0x77, 0xa8, 0x0d, 0x1e, 0x4e, 0xa1, 0x9c, 0xc9, 0x38, 0x13, 0x96, 0x6e, 0x62, 0x50, 0x0b, 0x87, 0x6a, + 0x91, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x30, 0x04, 0x14, 0xbf, 0x0b, 0x96, 0x88, 0xb5, 0x03, 0xbb, 0x6d, 0x7d, 0x90, + 0x6b, 0xb2, 0x9c, 0x50, 0x14, 0xab, 0xce, 0x68, 0x86, 0x29, 0x30, 0x05, 0x14, 0xbf, 0x0b, 0x96, 0x88, 0xb5, 0x03, 0xbb, 0x6d, + 0x7d, 0x90, 0x6b, 0xb2, 0x9c, 0x50, 0x14, 0xab, 0xce, 0x68, 0x86, 0x29, 0x18, 0x30, 0x0b, 0x40, 0x5a, 0x69, 0x47, 0x41, 0x9b, + 0x9e, 0x13, 0xe4, 0xda, 0x7f, 0x38, 0x92, 0x13, 0x43, 0x7d, 0x6e, 0x09, 0xe2, 0x23, 0x8b, 0x5e, 0x8b, 0x83, 0xdd, 0xcc, 0x57, + 0x8c, 0x63, 0xa9, 0x31, 0x30, 0x67, 0xe4, 0xd5, 0x8b, 0x96, 0xd0, 0x2f, 0x9a, 0x2e, 0x9f, 0xe2, 0x6d, 0xc4, 0xe0, 0x44, 0x58, + 0x7b, 0x67, 0x70, 0x6d, 0xc7, 0x4d, 0x5b, 0x2c, 0x31, 0x32, 0x5b, 0x31, 0x7d, 0x8b, 0xfc, 0x14, 0x86, 0x18, +}; +const uint8_t sChipTest_NOC_Ext_KeyUsage_KeyCertSign_Wrong_Cert_CHIP[279] = { + 0x15, 0x30, 0x01, 0x08, 0x61, 0xec, 0xf8, 0xbb, 0x7d, 0x9a, 0x24, 0xd4, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, + 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, + 0x09, 0x41, 0x04, 0xce, 0xde, 0x80, 0xfa, 0x95, 0x91, 0x7d, 0xa4, 0x1f, 0x1e, 0xf5, 0xe5, 0x03, 0x9a, 0x0e, 0x42, 0x8e, + 0xc7, 0x65, 0xcb, 0x67, 0x6d, 0xa2, 0x9d, 0x93, 0x0b, 0xa5, 0xc0, 0x89, 0x88, 0xf9, 0x44, 0x3b, 0x4c, 0xa0, 0xc4, 0x6a, + 0x3d, 0x1b, 0x6b, 0x2c, 0x91, 0xdc, 0x2c, 0x55, 0x31, 0xb2, 0x28, 0xfd, 0xc5, 0x50, 0xde, 0x0b, 0xbd, 0x10, 0x5c, 0x73, + 0xb6, 0x93, 0xdc, 0x52, 0x67, 0x01, 0xd0, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x21, 0x36, 0x03, 0x04, + 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0xb3, 0xfe, 0xd4, 0x5c, 0xf7, 0x72, 0x6f, 0xc7, 0x0a, 0xa2, 0x6a, 0xae, 0xce, + 0x34, 0x0a, 0xd8, 0xe3, 0xb8, 0xa2, 0xe0, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, + 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0xfe, 0x69, 0xd9, 0xef, 0x4a, 0xe0, + 0x0e, 0xe6, 0xca, 0xa6, 0xc3, 0xf4, 0xbc, 0x28, 0x12, 0x7b, 0xf2, 0x57, 0xcc, 0xe2, 0x7e, 0xc7, 0x21, 0x1a, 0x13, 0xbf, + 0x22, 0x56, 0xae, 0x8a, 0xa4, 0x60, 0xa6, 0x63, 0x3a, 0x60, 0xd7, 0xaf, 0x6e, 0x51, 0xaf, 0xcf, 0xb9, 0xcd, 0xc8, 0x9f, + 0x7b, 0x9e, 0xc9, 0xe2, 0x9c, 0x20, 0x89, 0x55, 0x0d, 0x27, 0xe2, 0xff, 0x36, 0xa1, 0x6b, 0x96, 0x66, 0x02, 0x18, +}; +const uint8_t sChipTest_ICAC_Ext_KeyUsage_KeyCertSign_Wrong_Cert_CHIP[262] = { + 0x15, 0x30, 0x01, 0x08, 0x02, 0x5a, 0x32, 0xde, 0x7e, 0x72, 0xfe, 0x3f, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, + 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x6e, 0x53, 0xbe, 0xb9, 0xc2, 0xd2, 0x5e, 0x61, 0x5e, 0xe4, 0xe5, + 0x8e, 0x03, 0x95, 0x05, 0x73, 0x8d, 0xda, 0xeb, 0x9c, 0x85, 0x82, 0xe1, 0x79, 0xb3, 0x77, 0xf5, 0x24, 0xff, 0x6e, 0x86, 0x9e, + 0xe7, 0x39, 0xe6, 0x1f, 0xa3, 0x76, 0x33, 0x8e, 0x04, 0xee, 0xe5, 0xf5, 0x24, 0xe3, 0xd2, 0x68, 0x5a, 0xe6, 0xa1, 0x69, 0xd4, + 0x33, 0xf4, 0x5c, 0x8c, 0x14, 0x6b, 0xfe, 0xdc, 0x50, 0xef, 0x04, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x40, + 0x30, 0x04, 0x14, 0x1b, 0x3c, 0x23, 0x36, 0xbb, 0xac, 0x86, 0x37, 0x07, 0x2e, 0x00, 0x13, 0xc2, 0x8e, 0xc0, 0xf9, 0xf3, 0xe3, + 0x14, 0x22, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, + 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0xb6, 0x3e, 0x52, 0x57, 0x26, 0x50, 0x3e, 0xfa, 0xdc, 0x3b, 0xf7, 0x12, 0x1f, + 0x75, 0xb0, 0xa5, 0x55, 0x54, 0xbe, 0x8e, 0x7a, 0x94, 0x99, 0x3a, 0xa9, 0xed, 0x3d, 0x63, 0x8f, 0xa6, 0xc2, 0x7e, 0x17, 0x7b, + 0xf1, 0x74, 0x5d, 0x0b, 0xee, 0x0a, 0xc7, 0xa1, 0x5a, 0x2d, 0x35, 0x94, 0xdf, 0x98, 0x16, 0x01, 0x3b, 0x70, 0x2c, 0xa3, 0x13, + 0xe6, 0x91, 0x05, 0x64, 0x00, 0x75, 0x88, 0xbb, 0x3e, 0x18, +}; +const uint8_t sChipTest_RCAC_Ext_KeyUsage_KeyCertSign_Wrong_Cert_CHIP[252] = { + 0x15, 0x30, 0x01, 0x08, 0x3c, 0x32, 0x40, 0xab, 0x13, 0x12, 0xb7, 0xba, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, + 0xd4, 0x7b, 0xd1, 0x84, 0xb1, 0x58, 0x0e, 0x3d, 0x43, 0xb4, 0xcd, 0x11, 0x4f, 0xa2, 0x54, 0xae, 0xe8, 0xb3, 0x04, 0x9c, 0x02, + 0xdc, 0x51, 0xe7, 0x19, 0x24, 0x35, 0x8d, 0x5d, 0x4e, 0x8d, 0x2d, 0xb5, 0xf3, 0x88, 0x17, 0xb2, 0x9e, 0x90, 0x7a, 0xcc, 0xd8, + 0x28, 0xb3, 0x24, 0xc0, 0x20, 0x98, 0xed, 0x91, 0xa4, 0x76, 0x54, 0x5a, 0xe5, 0x5f, 0x93, 0xb9, 0x79, 0xc0, 0x1d, 0x87, 0xab, + 0x62, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x40, 0x30, 0x04, 0x14, 0x48, 0x4e, 0xc0, 0xc1, 0x11, 0x36, 0x78, + 0x58, 0x79, 0xe0, 0x80, 0xee, 0x0d, 0xab, 0x63, 0x4f, 0xf2, 0xf6, 0x1b, 0x04, 0x30, 0x05, 0x14, 0x48, 0x4e, 0xc0, 0xc1, 0x11, + 0x36, 0x78, 0x58, 0x79, 0xe0, 0x80, 0xee, 0x0d, 0xab, 0x63, 0x4f, 0xf2, 0xf6, 0x1b, 0x04, 0x18, 0x30, 0x0b, 0x40, 0x6b, 0xab, + 0x59, 0xc8, 0x42, 0x94, 0xd9, 0x4c, 0x2d, 0x6f, 0xc9, 0xdd, 0xf1, 0xbe, 0x2d, 0xd0, 0xa8, 0xd2, 0x74, 0x1a, 0xf9, 0xe6, 0xc8, + 0x9a, 0x08, 0xb4, 0x45, 0x3e, 0xdd, 0xac, 0xff, 0xe4, 0xfc, 0x82, 0x57, 0x7b, 0x35, 0xf1, 0x3c, 0xcb, 0x9d, 0x82, 0xf1, 0x9d, + 0x0c, 0x2e, 0xe9, 0xd5, 0x5d, 0x26, 0x03, 0x40, 0x7a, 0xdb, 0x52, 0xd6, 0x2f, 0xc3, 0x48, 0x0e, 0x5e, 0xb7, 0x93, 0xdc, 0x18, +}; +const uint8_t sChipTest_NOC_Ext_AKID_Missing_Cert_CHIP[256] = { + 0x15, 0x30, 0x01, 0x08, 0x0b, 0x1e, 0xe3, 0x0f, 0xf4, 0x00, 0xb3, 0x03, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, + 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, + 0x09, 0x41, 0x04, 0x1c, 0xd8, 0xa8, 0xbe, 0x15, 0xe3, 0x91, 0x2b, 0x15, 0x78, 0x24, 0x35, 0x12, 0xf5, 0x71, 0xe8, 0x48, + 0x8f, 0x61, 0xf7, 0xbb, 0x8a, 0x72, 0x34, 0x2d, 0x53, 0xd4, 0xdc, 0xe9, 0x9a, 0x65, 0x65, 0x40, 0xdd, 0x0a, 0x8d, 0xe7, + 0x28, 0x34, 0x71, 0x61, 0x5c, 0x03, 0x02, 0x9e, 0xba, 0x9a, 0xaf, 0x51, 0x53, 0xc1, 0xec, 0xf4, 0xac, 0x9c, 0xe2, 0xac, + 0x86, 0x9d, 0xc8, 0xa1, 0x93, 0x4f, 0xc9, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, + 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0x6c, 0xad, 0xd7, 0x94, 0x69, 0x7d, 0x20, 0xf3, 0x06, 0x88, 0x33, 0xb5, 0xf5, + 0xea, 0x3e, 0xc7, 0x34, 0x23, 0x2a, 0x46, 0x18, 0x30, 0x0b, 0x40, 0xcb, 0x70, 0xb1, 0xaf, 0x1f, 0x18, 0x94, 0x47, 0xeb, + 0x7a, 0x16, 0xac, 0xa5, 0x50, 0xfe, 0xa2, 0x6e, 0xb6, 0x91, 0x11, 0x1e, 0xc7, 0xe1, 0xda, 0x0c, 0x09, 0x15, 0x3f, 0x2f, + 0x4d, 0xdc, 0x80, 0x9b, 0x67, 0xeb, 0x30, 0xc4, 0x85, 0x35, 0x67, 0x81, 0x71, 0xd3, 0x7e, 0x1c, 0x36, 0xf9, 0x14, 0x96, + 0xd0, 0xb5, 0x10, 0x8b, 0x05, 0x5e, 0x3a, 0x9b, 0x4b, 0xa8, 0x76, 0xe5, 0x41, 0x0f, 0xe1, 0x18, +}; +const uint8_t sChipTest_ICAC_Ext_AKID_Missing_Cert_CHIP[239] = { + 0x15, 0x30, 0x01, 0x08, 0x52, 0x3d, 0xe1, 0x2f, 0xae, 0x0b, 0xeb, 0x15, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, + 0x37, 0x06, 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x6e, 0x22, 0x3c, 0xec, 0x0c, 0x95, 0x68, + 0xdc, 0x2e, 0xd7, 0x1f, 0xc0, 0x4c, 0xf3, 0x8a, 0x83, 0x3f, 0xfb, 0xa9, 0x00, 0x67, 0x03, 0xc5, 0x41, 0xa3, 0xea, 0xbc, + 0x29, 0xe7, 0x25, 0x19, 0xb4, 0xae, 0x2c, 0x23, 0xc5, 0xd9, 0xec, 0x3d, 0x22, 0xa4, 0x87, 0x50, 0x74, 0x36, 0x27, 0xa8, + 0x16, 0x41, 0xfb, 0xa7, 0x43, 0xa2, 0x0f, 0x4b, 0xd0, 0xbe, 0xbc, 0xd5, 0x37, 0x5e, 0x50, 0xdd, 0x0e, 0x37, 0x0a, 0x35, + 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0x9c, 0x6b, 0x54, 0xc1, 0x72, 0xca, 0xd9, 0x0b, 0xe6, 0x25, + 0x51, 0xc4, 0xd8, 0x51, 0x43, 0x3b, 0xbe, 0xea, 0xc2, 0xce, 0x18, 0x30, 0x0b, 0x40, 0x46, 0xbd, 0xff, 0x2f, 0x1c, 0x1f, + 0xd6, 0x14, 0x15, 0xe2, 0x73, 0xac, 0x2c, 0x4c, 0x48, 0xc3, 0xda, 0x5e, 0xb8, 0x49, 0x2a, 0xba, 0xd8, 0xb6, 0x2f, 0x4b, + 0x45, 0x31, 0x76, 0x59, 0xe9, 0x42, 0x90, 0xcf, 0x61, 0x42, 0x83, 0xdb, 0x6d, 0x02, 0xeb, 0x49, 0xe9, 0x52, 0xcd, 0x3f, + 0x21, 0xc3, 0xe5, 0xf2, 0x6a, 0x4e, 0x7f, 0x98, 0x55, 0xb1, 0xb8, 0x2c, 0x34, 0x80, 0xac, 0x28, 0xbb, 0x44, 0x18, +}; +const uint8_t sChipTest_RCAC_Ext_AKID_Missing_Cert_CHIP[229] = { + 0x15, 0x30, 0x01, 0x08, 0x1c, 0x8e, 0xf7, 0xa3, 0xf9, 0xde, 0x11, 0x3e, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, + 0xc0, 0xf1, 0x51, 0xd5, 0x3f, 0xe3, 0xf4, 0x77, 0xe2, 0x79, 0xc6, 0xb4, 0x5e, 0xb5, 0x53, 0xae, 0x81, 0x9c, 0xc9, 0x0b, 0x7f, + 0xbc, 0x84, 0xa6, 0x20, 0x77, 0x67, 0xa4, 0x5a, 0x66, 0x7c, 0x30, 0xe6, 0x2b, 0x5b, 0xa1, 0xd9, 0x14, 0xc6, 0x44, 0x95, 0x03, + 0x4a, 0xee, 0xa6, 0x87, 0xd9, 0x77, 0x54, 0x0e, 0x07, 0x58, 0x84, 0x22, 0x5c, 0xb5, 0x54, 0xf6, 0x2e, 0x67, 0x0e, 0x3e, 0xbd, + 0x07, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0xf4, 0xd6, 0x1d, 0x5b, 0xc8, 0x77, 0xc2, + 0xa8, 0xc7, 0xb9, 0x08, 0xd1, 0x9b, 0xe9, 0x36, 0xd4, 0xf6, 0xfb, 0x78, 0xd6, 0x18, 0x30, 0x0b, 0x40, 0x15, 0x18, 0x19, 0x44, + 0xbb, 0x4a, 0x6f, 0x72, 0x6f, 0xaa, 0xae, 0x96, 0x98, 0x01, 0x08, 0xde, 0x60, 0x58, 0x51, 0x88, 0x13, 0x47, 0xbd, 0x01, 0x8b, + 0xcd, 0x37, 0xd2, 0x6c, 0x77, 0xb6, 0xf5, 0xa2, 0xaf, 0xd1, 0x3b, 0xe2, 0x50, 0xaa, 0xc0, 0x3b, 0x48, 0x29, 0xcc, 0x21, 0x3c, + 0x6a, 0x6c, 0x56, 0xf5, 0x12, 0xad, 0x93, 0x69, 0x4c, 0xf9, 0x8c, 0xf3, 0xcc, 0x65, 0x26, 0xab, 0x9e, 0xf7, 0x18, +}; +const uint8_t sChipTest_NOC_Ext_AKID_Length_Invalid_Cert_CHIP[278] = { + 0x15, 0x30, 0x01, 0x08, 0x50, 0xc7, 0xf7, 0x27, 0x54, 0x2f, 0xa3, 0xf4, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, + 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, + 0x09, 0x41, 0x04, 0x46, 0x13, 0x5f, 0x7b, 0xf5, 0x64, 0x2c, 0x32, 0x35, 0xe9, 0xc9, 0x88, 0x5f, 0x4d, 0xb1, 0x36, 0x2e, + 0x43, 0x92, 0x27, 0x23, 0xe9, 0x12, 0x92, 0xd5, 0xac, 0x5d, 0x9f, 0xd9, 0x17, 0xa3, 0x92, 0xcc, 0xd1, 0xef, 0x95, 0x39, + 0x14, 0x5b, 0x71, 0xef, 0x7d, 0x49, 0x13, 0xb9, 0x5a, 0x2b, 0xa1, 0xb6, 0x21, 0x62, 0x24, 0x17, 0x71, 0xa3, 0xc8, 0xbd, + 0x8d, 0x6f, 0x28, 0xc8, 0xf6, 0x48, 0xd2, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, + 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0x17, 0x12, 0x8b, 0xdc, 0x64, 0x8a, 0x6e, 0x31, 0xb8, 0xc9, 0x19, 0x4d, 0xc9, + 0xc4, 0x20, 0x60, 0x95, 0x5b, 0x4f, 0xc9, 0x30, 0x05, 0x13, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, + 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0x18, 0x30, 0x0b, 0x40, 0x61, 0x85, 0x61, 0xb2, 0x37, 0x51, 0xbf, + 0x12, 0x00, 0x7a, 0xa2, 0x73, 0x9f, 0xd0, 0x98, 0x62, 0x00, 0x08, 0x52, 0xd1, 0x1b, 0x26, 0x59, 0x7b, 0x8e, 0x4c, 0xc5, + 0xd5, 0x38, 0x73, 0x2e, 0x44, 0xf3, 0xb9, 0x6e, 0x9a, 0x23, 0x7d, 0x21, 0x4c, 0xb9, 0xae, 0xe8, 0x95, 0xc8, 0x44, 0x0b, + 0x6a, 0x93, 0x90, 0x60, 0x6b, 0xfa, 0xd8, 0x75, 0xfd, 0x3e, 0xd7, 0x49, 0x82, 0xfb, 0x76, 0xac, 0x17, 0x18, +}; +const uint8_t sChipTest_ICAC_Ext_AKID_Length_Invalid_Cert_CHIP[261] = { + 0x15, 0x30, 0x01, 0x08, 0x52, 0x2a, 0xac, 0x6e, 0xca, 0x29, 0xe1, 0x43, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, + 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x4e, 0xcf, 0x1d, 0x41, 0x57, 0x53, 0xa9, 0xcf, 0x88, 0x6a, 0x2a, + 0x72, 0xeb, 0x06, 0x95, 0x53, 0x1f, 0x91, 0x49, 0x41, 0xdb, 0x73, 0xbe, 0x8c, 0x20, 0x9a, 0xa6, 0xc0, 0x46, 0xe7, 0x6b, 0x9c, + 0x6a, 0xfb, 0x7b, 0x40, 0xe7, 0xac, 0x45, 0xef, 0x22, 0x70, 0x4e, 0x1a, 0xd6, 0x20, 0xd3, 0x13, 0x4f, 0xdf, 0x5e, 0x02, 0x2b, + 0xf7, 0xde, 0x32, 0x28, 0x44, 0x55, 0xcd, 0x56, 0xab, 0xc6, 0x64, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, + 0x30, 0x04, 0x14, 0x9c, 0x44, 0x7b, 0x13, 0xda, 0x60, 0x05, 0x33, 0xd1, 0x46, 0x31, 0xeb, 0xc7, 0xc7, 0xcd, 0x11, 0x18, 0x25, + 0x93, 0x0e, 0x30, 0x05, 0x13, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, + 0x16, 0x65, 0x53, 0x18, 0x30, 0x0b, 0x40, 0xea, 0xbe, 0x0a, 0x48, 0xab, 0x8e, 0x69, 0xcf, 0x64, 0x43, 0x80, 0xe3, 0x00, 0x01, + 0x61, 0x64, 0xca, 0x5c, 0x8b, 0x1d, 0x6a, 0x2a, 0x01, 0xde, 0x48, 0xbf, 0xfc, 0xe0, 0xe4, 0x24, 0x91, 0x69, 0x6d, 0x37, 0xce, + 0x29, 0x54, 0x42, 0x6c, 0xbf, 0x3f, 0x5c, 0xb2, 0xcb, 0xf3, 0xe2, 0x1a, 0x35, 0xb7, 0xb1, 0x36, 0x68, 0xbf, 0xd0, 0xad, 0x1b, + 0xad, 0x89, 0x0c, 0x49, 0x4c, 0x47, 0x7f, 0xf9, 0x18, +}; +const uint8_t sChipTest_RCAC_Ext_AKID_Length_Invalid_Cert_CHIP[251] = { + 0x15, 0x30, 0x01, 0x08, 0x06, 0x0c, 0x59, 0xd1, 0xc8, 0x43, 0xeb, 0xce, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, + 0xa5, 0x9f, 0x4e, 0x8e, 0xbc, 0xf3, 0x2a, 0xf6, 0x49, 0xd6, 0x17, 0x02, 0x56, 0x0d, 0x5f, 0x0d, 0xcc, 0x11, 0xd0, 0xa5, 0x7a, + 0x21, 0x9f, 0xa3, 0xaf, 0x46, 0x6e, 0x4e, 0x7e, 0x32, 0xfd, 0x2f, 0x0b, 0x74, 0x45, 0x70, 0xef, 0x2c, 0x9b, 0xa2, 0xe7, 0xd0, + 0xe0, 0xb9, 0xc4, 0x21, 0x10, 0xcf, 0xa9, 0x61, 0x98, 0xb6, 0xa6, 0x64, 0x96, 0xfd, 0x2d, 0x19, 0x7c, 0xe2, 0x1e, 0x30, 0xc7, + 0xee, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0x5e, 0x3f, 0x82, 0x29, 0x3c, 0xa4, 0x32, + 0x16, 0x1a, 0x7f, 0x33, 0xab, 0x86, 0x39, 0x83, 0xef, 0x85, 0x0c, 0x0f, 0xf0, 0x30, 0x05, 0x13, 0x5e, 0x3f, 0x82, 0x29, 0x3c, + 0xa4, 0x32, 0x16, 0x1a, 0x7f, 0x33, 0xab, 0x86, 0x39, 0x83, 0xef, 0x85, 0x0c, 0x0f, 0x18, 0x30, 0x0b, 0x40, 0x75, 0x73, 0x77, + 0xc7, 0x2e, 0xaa, 0xe7, 0xfb, 0x79, 0xc3, 0xe7, 0x25, 0x42, 0x9b, 0xd9, 0xdf, 0xfb, 0xc1, 0x99, 0x85, 0x60, 0xbc, 0x40, 0xc7, + 0x11, 0x51, 0x32, 0x54, 0xd1, 0xb7, 0xf0, 0x14, 0x66, 0x08, 0x3d, 0x5f, 0x38, 0xb9, 0x90, 0x14, 0x3b, 0x83, 0xe8, 0x88, 0x57, + 0x53, 0xf4, 0xe1, 0x10, 0xa6, 0x74, 0x0d, 0x22, 0x16, 0x85, 0x49, 0x90, 0x8a, 0x10, 0xf9, 0x88, 0xe6, 0x83, 0x57, 0x18, +}; +const uint8_t sChipTest_NOC_Ext_SKID_Missing_Cert_CHIP[256] = { + 0x15, 0x30, 0x01, 0x08, 0x2e, 0x4c, 0xee, 0x19, 0x9f, 0xa2, 0xad, 0x45, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, + 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, + 0x09, 0x41, 0x04, 0xf0, 0xc0, 0x57, 0x7d, 0x53, 0xce, 0x29, 0x40, 0x85, 0x72, 0xe9, 0x6c, 0x47, 0xe7, 0x98, 0x78, 0xa6, + 0xf4, 0x18, 0xee, 0x86, 0x03, 0x74, 0xfd, 0x72, 0x1f, 0x95, 0x39, 0x10, 0xb1, 0x02, 0xda, 0x04, 0x76, 0xcf, 0x6b, 0xf4, + 0xca, 0x93, 0x91, 0x81, 0xe4, 0xaa, 0x17, 0x5a, 0x3b, 0x3e, 0xaa, 0x58, 0xcf, 0x56, 0xc8, 0xd0, 0x86, 0x1d, 0x64, 0xb3, + 0x9c, 0x64, 0x9e, 0xab, 0x51, 0x65, 0xc0, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, + 0x02, 0x04, 0x01, 0x18, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, 0xdd, 0x35, + 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x64, 0x64, 0xab, 0x64, 0x0a, 0x25, 0x9b, 0xd8, 0x80, + 0xaa, 0x07, 0xa6, 0x8a, 0x00, 0xee, 0x70, 0xe7, 0x4f, 0x12, 0xa9, 0x09, 0x38, 0x05, 0x0d, 0x97, 0x15, 0xfd, 0x4e, 0x94, + 0x9b, 0xea, 0x3d, 0x11, 0x3a, 0x71, 0x7a, 0x81, 0xcb, 0x9f, 0x21, 0xf9, 0x29, 0xe5, 0x59, 0x5a, 0x96, 0xf8, 0xa3, 0x68, + 0xf7, 0xc8, 0xe7, 0xe6, 0x8f, 0xc3, 0xda, 0xb5, 0x21, 0x44, 0x76, 0x8a, 0x2d, 0x01, 0x61, 0x18, +}; +const uint8_t sChipTest_ICAC_Ext_SKID_Missing_Cert_CHIP[239] = { + 0x15, 0x30, 0x01, 0x08, 0x37, 0x66, 0x06, 0x6f, 0x0b, 0x93, 0x68, 0xb6, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, + 0x37, 0x06, 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xd8, 0xfd, 0x54, 0xae, 0x92, 0x38, 0x3a, + 0x96, 0x5d, 0x88, 0x89, 0xe8, 0x55, 0x01, 0x6c, 0x92, 0x1c, 0xee, 0x1e, 0x0f, 0xf8, 0xa8, 0x59, 0x1d, 0x49, 0x01, 0x86, + 0x6c, 0x41, 0x76, 0x7f, 0xa6, 0xaf, 0x17, 0x9f, 0x47, 0xb4, 0x05, 0x81, 0x13, 0x94, 0x94, 0x35, 0x7d, 0x4a, 0xfa, 0xa3, + 0x51, 0xc3, 0xce, 0xc4, 0x66, 0x94, 0x06, 0xf2, 0x01, 0xfb, 0x9c, 0xce, 0xdc, 0x30, 0x86, 0x82, 0x4e, 0x37, 0x0a, 0x35, + 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, + 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0xa7, 0x75, 0xa9, 0xe5, 0xe5, 0x5d, + 0xc1, 0xbd, 0xa2, 0x2d, 0xc1, 0xbb, 0xbd, 0x2b, 0x76, 0xea, 0x7e, 0xef, 0x9d, 0x25, 0xd9, 0x5d, 0x0f, 0x1c, 0xb9, 0xeb, + 0xb8, 0xa7, 0xac, 0x8f, 0x17, 0x8b, 0xe5, 0x82, 0xd8, 0xe8, 0x5e, 0x32, 0x62, 0xfe, 0xa1, 0xdb, 0x28, 0x02, 0x53, 0xce, + 0x8c, 0xf1, 0x51, 0x81, 0x09, 0xf9, 0x6c, 0x1a, 0x79, 0x8c, 0xbb, 0xff, 0x55, 0x81, 0xa3, 0xef, 0xdb, 0x35, 0x18, +}; +const uint8_t sChipTest_RCAC_Ext_SKID_Missing_Cert_CHIP[229] = { + 0x15, 0x30, 0x01, 0x08, 0x4e, 0xdf, 0xe6, 0xc4, 0xc5, 0xcc, 0x38, 0x50, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, + 0xe8, 0x3d, 0x1b, 0xde, 0xd8, 0xbb, 0x0b, 0x58, 0xc4, 0x8c, 0xcd, 0xac, 0xc8, 0xf9, 0x8a, 0xd0, 0xc8, 0x5b, 0xf3, 0x03, 0x9a, + 0x6e, 0x2c, 0xda, 0xcd, 0x1e, 0x17, 0x3a, 0xf1, 0xa9, 0xf8, 0xa7, 0xda, 0xd0, 0x5c, 0x5f, 0x4a, 0x61, 0xc3, 0x57, 0x10, 0x2c, + 0x62, 0x49, 0xd5, 0x46, 0xae, 0x14, 0x94, 0x4f, 0xc7, 0xc0, 0x9c, 0x58, 0x7f, 0xb0, 0x5e, 0xc2, 0xb6, 0xe8, 0xb5, 0xfc, 0x97, + 0x2f, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x05, 0x14, 0xaf, 0xa9, 0x6b, 0x75, 0xfd, 0xd1, 0xfc, + 0xfe, 0x7e, 0xac, 0xec, 0x5a, 0x38, 0xa9, 0x31, 0x36, 0x6f, 0x5e, 0xed, 0x24, 0x18, 0x30, 0x0b, 0x40, 0x16, 0xad, 0x18, 0x22, + 0xb1, 0x10, 0x19, 0x2d, 0x7c, 0x99, 0x0e, 0xb8, 0xe9, 0x10, 0x9d, 0xd5, 0xaf, 0x91, 0x26, 0x52, 0x70, 0xd1, 0x80, 0x33, 0xfc, + 0xef, 0x8c, 0x08, 0xdb, 0x01, 0x83, 0x3c, 0x63, 0x91, 0x49, 0xda, 0x9d, 0x47, 0x49, 0x23, 0x1f, 0x16, 0x81, 0x65, 0x4b, 0x51, + 0xc3, 0xb3, 0x88, 0xa7, 0x0d, 0x8c, 0x36, 0x66, 0x07, 0x4d, 0x6f, 0xa8, 0x95, 0xfe, 0x31, 0xa7, 0xa3, 0x36, 0x18, +}; +const uint8_t sChipTest_NOC_Ext_SKID_Length_Invalid_Cert_CHIP[278] = { + 0x15, 0x30, 0x01, 0x08, 0x16, 0x2a, 0x4d, 0xfa, 0x70, 0x32, 0x14, 0x48, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, + 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, + 0x09, 0x41, 0x04, 0xe5, 0xa6, 0xef, 0x84, 0x17, 0xc6, 0x1b, 0xf5, 0x49, 0x29, 0x16, 0x6f, 0x85, 0x30, 0xa6, 0xf4, 0xa2, + 0x72, 0xb0, 0x52, 0x61, 0x65, 0x3a, 0xfc, 0xe7, 0x83, 0xeb, 0x91, 0x8f, 0x4d, 0x81, 0x65, 0xdd, 0xee, 0x11, 0xf6, 0x49, + 0x8a, 0xf7, 0xba, 0x40, 0xfa, 0xae, 0x8a, 0x02, 0x86, 0x5a, 0xa9, 0xc8, 0x84, 0x69, 0xf6, 0x27, 0x2b, 0x0c, 0xc6, 0xee, + 0x4d, 0x21, 0x6c, 0x67, 0xee, 0x4d, 0x7d, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, + 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x13, 0xf1, 0x2b, 0x5c, 0x1e, 0xdd, 0x4c, 0x02, 0x0f, 0x81, 0xbc, 0x1e, 0xe8, 0x20, + 0x1f, 0x15, 0x55, 0x93, 0x4f, 0x4e, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, 0xbd, + 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x89, 0xdc, 0xa5, 0x60, 0x10, 0x2e, 0x18, + 0xdf, 0xeb, 0xeb, 0x88, 0xee, 0x90, 0x8f, 0xfe, 0x5b, 0xde, 0x72, 0x91, 0xa0, 0x2f, 0x8d, 0xf2, 0x78, 0xce, 0x32, 0xc0, + 0x03, 0x77, 0x1a, 0x7c, 0xde, 0x66, 0x90, 0x35, 0x31, 0x9e, 0x44, 0xac, 0xc9, 0x14, 0xb2, 0x7a, 0x1e, 0x48, 0xb7, 0xa0, + 0xce, 0x1c, 0x6a, 0x1e, 0x8f, 0xa6, 0x4e, 0xa1, 0xb4, 0xe9, 0xb0, 0xc9, 0x9c, 0x4b, 0x84, 0xa6, 0x11, 0x18, +}; +const uint8_t sChipTest_ICAC_Ext_SKID_Length_Invalid_Cert_CHIP[261] = { + 0x15, 0x30, 0x01, 0x08, 0x31, 0x69, 0xff, 0xf4, 0x94, 0x51, 0xeb, 0x37, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, + 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0x8f, 0x44, 0xc1, 0xa4, 0xbc, 0xfa, 0xf1, 0xe9, 0x52, 0xfa, 0xe1, + 0x2b, 0xcf, 0xbd, 0x86, 0x2a, 0xa7, 0xd3, 0x66, 0xfe, 0x47, 0xcf, 0x01, 0x3e, 0xad, 0x89, 0x81, 0xae, 0xb6, 0xfd, 0xcd, 0x3a, + 0xc4, 0x3c, 0x20, 0x65, 0xc5, 0x67, 0xa6, 0x54, 0xf8, 0x90, 0x07, 0xf8, 0x32, 0x04, 0xd8, 0xce, 0xc0, 0xaa, 0x2b, 0xdf, 0x16, + 0x1d, 0x9a, 0x77, 0xb0, 0x99, 0x1d, 0x43, 0x18, 0x30, 0x47, 0x71, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, + 0x30, 0x04, 0x13, 0xd8, 0x55, 0xc2, 0x42, 0x8d, 0x42, 0xe3, 0xb9, 0x15, 0x62, 0xde, 0x58, 0x92, 0x39, 0xae, 0x6f, 0x75, 0x9a, + 0xad, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, 0x16, + 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0x88, 0x3d, 0xc8, 0xa6, 0x2c, 0xd2, 0xfb, 0x32, 0x17, 0xc3, 0x75, 0x16, 0x32, 0x60, + 0xfb, 0xd7, 0xe2, 0xfc, 0x0a, 0xad, 0xd9, 0xff, 0x5e, 0xe4, 0x70, 0x87, 0xe8, 0xae, 0xad, 0x03, 0x7d, 0x17, 0x78, 0x7c, 0xc9, + 0xc1, 0x68, 0x62, 0xb4, 0x35, 0x85, 0x73, 0xb5, 0xc1, 0x2f, 0xcc, 0x90, 0xeb, 0xbd, 0xdb, 0x6c, 0x8b, 0x8c, 0x93, 0x24, 0x1b, + 0x25, 0xc4, 0x6f, 0x75, 0x9e, 0x4e, 0x95, 0xf9, 0x18, +}; +const uint8_t sChipTest_RCAC_Ext_SKID_Length_Invalid_Cert_CHIP[251] = { + 0x15, 0x30, 0x01, 0x08, 0x02, 0xb4, 0xb6, 0x62, 0x7b, 0xff, 0x57, 0x93, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, + 0x2a, 0x0c, 0x81, 0x05, 0x76, 0x80, 0x80, 0xfd, 0x64, 0x6c, 0xf3, 0x2a, 0x91, 0x6f, 0xb7, 0x80, 0x9c, 0x63, 0xd3, 0x49, 0x8f, + 0x6c, 0x1a, 0xf9, 0x4a, 0x2d, 0x04, 0x50, 0xda, 0x6f, 0xda, 0x10, 0xd6, 0x98, 0xb1, 0x18, 0xe6, 0x17, 0x45, 0x97, 0x57, 0x00, + 0x78, 0xec, 0x82, 0x3c, 0xbb, 0xe3, 0x86, 0x61, 0x05, 0xd4, 0xc0, 0x87, 0x49, 0x96, 0xb1, 0xc3, 0x79, 0x89, 0x43, 0xbf, 0x3b, + 0xd9, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x13, 0x81, 0x61, 0x7b, 0x70, 0xb4, 0x50, 0x6e, + 0x5e, 0x58, 0xa0, 0xac, 0xd5, 0x0a, 0x8c, 0x47, 0x0f, 0x98, 0xf4, 0x85, 0x30, 0x05, 0x14, 0x81, 0x61, 0x7b, 0x70, 0xb4, 0x50, + 0x6e, 0x5e, 0x58, 0xa0, 0xac, 0xd5, 0x0a, 0x8c, 0x47, 0x0f, 0x98, 0xf4, 0x85, 0xd3, 0x18, 0x30, 0x0b, 0x40, 0x6f, 0xa4, 0x7d, + 0x61, 0xe2, 0x7d, 0x71, 0x3a, 0xf0, 0x52, 0x37, 0x9a, 0x6f, 0x9c, 0x0e, 0x75, 0x3a, 0x47, 0x9d, 0x64, 0x35, 0x3b, 0x82, 0xfa, + 0xb7, 0xbf, 0xfd, 0x64, 0xad, 0x39, 0xaa, 0x06, 0x97, 0x73, 0x06, 0x34, 0x3a, 0xbc, 0x17, 0x21, 0x38, 0x1f, 0xd2, 0x40, 0xaf, + 0x35, 0x0a, 0x1a, 0x4e, 0x58, 0xeb, 0x6b, 0xb2, 0x41, 0x92, 0xce, 0xc4, 0xe5, 0x06, 0x4b, 0xf2, 0xcf, 0xbf, 0x38, 0x18, +}; +const uint8_t sChipTest_NOC_Signature_Wrong_Cert_CHIP[279] = { + 0x15, 0x30, 0x01, 0x08, 0x07, 0x8d, 0xc6, 0xdc, 0x67, 0x57, 0xed, 0xe4, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x13, 0x04, + 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x26, 0x04, + 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, 0x27, 0x11, 0x01, 0x00, 0x01, 0x00, 0xde, 0xde, + 0xde, 0xde, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, + 0x09, 0x41, 0x04, 0x3d, 0x3a, 0x0a, 0x8b, 0xa4, 0x6e, 0x18, 0x2a, 0xcc, 0x52, 0x2e, 0xb5, 0xa4, 0xce, 0x75, 0x46, 0xd1, + 0xa6, 0x3f, 0x5c, 0x97, 0xcf, 0x10, 0x89, 0xb9, 0xbf, 0x6b, 0x6e, 0xad, 0xea, 0xbc, 0xb9, 0x36, 0xda, 0xd5, 0x3b, 0x87, + 0xfa, 0x0b, 0xd0, 0xb1, 0x2d, 0x15, 0xa3, 0xa1, 0xea, 0xc9, 0x42, 0x2b, 0x81, 0xff, 0x78, 0x7f, 0x6d, 0x97, 0x52, 0x8e, + 0xd3, 0x7f, 0xfb, 0xba, 0xaa, 0x4e, 0xe6, 0x37, 0x0a, 0x35, 0x01, 0x28, 0x01, 0x18, 0x24, 0x02, 0x01, 0x36, 0x03, 0x04, + 0x02, 0x04, 0x01, 0x18, 0x30, 0x04, 0x14, 0x6a, 0x67, 0x69, 0x94, 0x96, 0x61, 0x3f, 0xdd, 0x40, 0x0e, 0x6b, 0xed, 0xa3, + 0xc2, 0x9b, 0xa7, 0x50, 0xb0, 0x23, 0xa4, 0x30, 0x05, 0x14, 0xe1, 0xe7, 0x6e, 0x67, 0x77, 0x85, 0x1d, 0xd7, 0x74, 0x16, + 0xbd, 0xdd, 0x35, 0xec, 0x3c, 0x13, 0x7c, 0x47, 0x29, 0xdc, 0x18, 0x30, 0x0b, 0x40, 0x80, 0x43, 0xed, 0x58, 0x96, 0x01, + 0xca, 0xd8, 0x74, 0xf4, 0x5c, 0xdc, 0xfb, 0xd2, 0xaa, 0xd5, 0x30, 0x97, 0x7c, 0xde, 0xd0, 0x02, 0x62, 0x20, 0x8a, 0x10, + 0x67, 0x16, 0x2a, 0x20, 0x20, 0xc6, 0x9f, 0xf1, 0xb1, 0x93, 0x2b, 0x3c, 0xbe, 0xb2, 0xe0, 0x1d, 0x74, 0x22, 0xd2, 0x50, + 0x25, 0x70, 0xef, 0x9a, 0x31, 0xcd, 0x4c, 0x2c, 0x62, 0x98, 0x23, 0xe8, 0xcb, 0xd0, 0x12, 0x2a, 0x71, 0x30, 0x18, +}; +const uint8_t sChipTest_ICAC_Signature_Wrong_Cert_CHIP[262] = { + 0x15, 0x30, 0x01, 0x08, 0x4d, 0x7b, 0x5c, 0x64, 0x3e, 0x8f, 0xf8, 0x21, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x13, 0x03, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x27, 0x15, 0x1d, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0xfa, 0x18, + 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, 0xf9, 0x58, 0x6b, 0x4b, 0x22, 0x8f, 0x60, 0x30, 0x67, 0x8b, 0x56, + 0x6e, 0x09, 0x82, 0xf2, 0x9a, 0x51, 0x03, 0x48, 0xf8, 0x0a, 0xa4, 0x02, 0x0f, 0xe6, 0x30, 0x3b, 0xaa, 0xb7, 0xcc, 0x13, 0x34, + 0x40, 0xe1, 0x0c, 0x63, 0x43, 0xd2, 0x3e, 0x18, 0xdd, 0x84, 0x8e, 0x08, 0xd5, 0x0b, 0x14, 0xb6, 0xc8, 0xdd, 0x91, 0xf7, 0x5a, + 0x7b, 0x4c, 0x54, 0x23, 0x70, 0xdd, 0x61, 0x8e, 0x70, 0x89, 0xec, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, + 0x30, 0x04, 0x14, 0x60, 0x7a, 0xbc, 0x9b, 0x24, 0x39, 0x4f, 0x8d, 0x4a, 0x67, 0x62, 0x06, 0xb5, 0xd3, 0x01, 0x64, 0xd4, 0x46, + 0x70, 0x8d, 0x30, 0x05, 0x14, 0xcc, 0x13, 0x08, 0xaf, 0x82, 0xcf, 0xee, 0x50, 0x5e, 0xb2, 0x3b, 0x57, 0xbf, 0xe8, 0x6a, 0x31, + 0x16, 0x65, 0x53, 0x5f, 0x18, 0x30, 0x0b, 0x40, 0x92, 0x84, 0x3c, 0xf4, 0x88, 0x57, 0x2f, 0x12, 0xb4, 0x3e, 0xb9, 0xe3, 0x6e, + 0x58, 0xb1, 0x9a, 0xae, 0xe9, 0x5a, 0x7f, 0xf5, 0x8d, 0x46, 0xf6, 0x1f, 0xad, 0x94, 0xeb, 0x60, 0x6c, 0x1e, 0xf9, 0xc3, 0x6b, + 0xd5, 0x13, 0xef, 0x70, 0x6e, 0xa5, 0x29, 0xa7, 0x66, 0x73, 0x44, 0x81, 0xeb, 0x6a, 0xa2, 0xce, 0x0a, 0x91, 0x40, 0xcf, 0xa5, + 0xd0, 0x50, 0x58, 0x4f, 0x1f, 0x2b, 0xb6, 0x7e, 0xd0, 0x18, +}; +const uint8_t sChipTest_RCAC_Signature_Wrong_Cert_CHIP[252] = { + 0x15, 0x30, 0x01, 0x08, 0x6c, 0x65, 0x68, 0x4e, 0x24, 0xa0, 0x80, 0xbf, 0x24, 0x02, 0x01, 0x37, 0x03, 0x27, 0x14, 0x01, 0x00, + 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x26, 0x04, 0xef, 0x17, 0x1b, 0x27, 0x26, 0x05, 0x6e, 0xb5, 0xb9, 0x4c, 0x37, 0x06, + 0x27, 0x14, 0x01, 0x00, 0x00, 0x00, 0xca, 0xca, 0xca, 0xca, 0x18, 0x24, 0x07, 0x01, 0x24, 0x08, 0x01, 0x30, 0x09, 0x41, 0x04, + 0x08, 0x51, 0x72, 0x73, 0xf4, 0x99, 0xaa, 0x26, 0x17, 0x61, 0xa9, 0x2a, 0xf1, 0x9e, 0xda, 0x34, 0x10, 0xd4, 0x52, 0xca, 0x5c, + 0x54, 0xe9, 0xe7, 0xd5, 0x84, 0x11, 0x77, 0xee, 0x19, 0x7d, 0xa1, 0xba, 0x17, 0x69, 0xa2, 0x4c, 0x92, 0xaf, 0x52, 0xba, 0x87, + 0x3d, 0xc8, 0x39, 0x58, 0xc3, 0x4b, 0x52, 0xc5, 0xb5, 0xe1, 0x3c, 0x6e, 0xe8, 0xf9, 0x47, 0xd1, 0xbc, 0x2a, 0x58, 0x8a, 0x72, + 0x4d, 0x37, 0x0a, 0x35, 0x01, 0x29, 0x01, 0x18, 0x24, 0x02, 0x60, 0x30, 0x04, 0x14, 0xb7, 0xbd, 0x43, 0xca, 0xa4, 0x43, 0x0c, + 0x68, 0xf1, 0x10, 0x0e, 0x1d, 0xe3, 0xf5, 0xed, 0xbc, 0x2b, 0xd8, 0x39, 0xea, 0x30, 0x05, 0x14, 0xb7, 0xbd, 0x43, 0xca, 0xa4, + 0x43, 0x0c, 0x68, 0xf1, 0x10, 0x0e, 0x1d, 0xe3, 0xf5, 0xed, 0xbc, 0x2b, 0xd8, 0x39, 0xea, 0x18, 0x30, 0x0b, 0x40, 0x1e, 0xe6, + 0x74, 0xe2, 0xba, 0xe0, 0x7c, 0x3d, 0x7b, 0x97, 0x39, 0x90, 0x8e, 0xb3, 0x4c, 0xf6, 0x91, 0xc2, 0x17, 0x17, 0x8d, 0x20, 0xdb, + 0x2b, 0x0d, 0x97, 0xcf, 0x47, 0x74, 0xd0, 0x52, 0xa5, 0xe8, 0x68, 0xe6, 0xbe, 0x5d, 0x13, 0xb6, 0x0d, 0x75, 0x5d, 0xfd, 0x39, + 0xb2, 0x36, 0x5f, 0x4d, 0x06, 0x4e, 0x20, 0xd1, 0xa0, 0x5a, 0x61, 0x77, 0x74, 0x4e, 0xa1, 0x06, 0x99, 0x92, 0x43, 0x01, 0x18, +}; } // namespace TestCerts } // namespace chip diff --git a/src/credentials/tests/CHIPCert_error_test_vectors.h b/src/credentials/tests/CHIPCert_error_test_vectors.h index 49f46f5121622f..6083576556f4d1 100644 --- a/src/credentials/tests/CHIPCert_error_test_vectors.h +++ b/src/credentials/tests/CHIPCert_error_test_vectors.h @@ -17,28 +17,157 @@ #pragma once -#include - #include namespace chip { namespace TestCerts { -extern const uint8_t kTestErrorCert_NOC_0001_InvCATVerZero_Cert_Array[275]; -extern const uint8_t kTestErrorCert_NOC_0001_InvCATVerZero_PublicKey_Array[65]; -extern const uint8_t kTestErrorCert_NOC_0001_InvCATVerZero_PrivateKey_Array[32]; +extern const ByteSpan gTestCert_X509ToChip_ErrorCases[50]; + +extern const ByteSpan gTestCert_ChipToX509_ErrorCases[43]; + +extern const ByteSpan gTestCert_ChipCertLoad_ErrorCases[40]; -extern ByteSpan kTestErrorCert_NOC_0001_InvCATVerZero_Cert; -extern ByteSpan kTestErrorCert_NOC_0001_InvCATVerZero_PrivateKey; -extern ByteSpan kTestErrorCert_NOC_0001_InvCATVerZero_PublicKey; +extern const ByteSpan gTestCert_ValidateChipRCAC_ErrorCases[84]; -extern const uint8_t kTestErrorCert_NOC_0002_InvCATMulVers_Cert_Array[287]; -extern const uint8_t kTestErrorCert_NOC_0002_InvCATMulVers_PublicKey_Array[65]; -extern const uint8_t kTestErrorCert_NOC_0002_InvCATMulVers_PrivateKey_Array[32]; +extern const ByteSpan gTestCert_GetCertType_ErrorCases[12]; -extern ByteSpan kTestErrorCert_NOC_0002_InvCATMulVers_Cert; -extern ByteSpan kTestErrorCert_NOC_0002_InvCATMulVers_PrivateKey; -extern ByteSpan kTestErrorCert_NOC_0002_InvCATMulVers_PublicKey; +extern const uint8_t sChipTest_NOC_Oversized_Cert_DER[744]; +extern const uint8_t sChipTest_ICAC_Oversized_Cert_DER[678]; +extern const uint8_t sChipTest_RCAC_Oversized_Cert_DER[871]; +extern const uint8_t sChipTest_NOC_Cert_Version_V2_Cert_DER[519]; +extern const uint8_t sChipTest_ICAC_Cert_Version_V2_Cert_DER[451]; +extern const uint8_t sChipTest_RCAC_Cert_Version_V2_Cert_DER[416]; +extern const uint8_t sChipTest_NOC_Sig_Algo_ECDSA_With_SHA1_Cert_DER[517]; +extern const uint8_t sChipTest_ICAC_Sig_Algo_ECDSA_With_SHA1_Cert_DER[448]; +extern const uint8_t sChipTest_RCAC_Sig_Algo_ECDSA_With_SHA1_Cert_DER[414]; +extern const uint8_t sChipTest_NOC_Validity_Not_Before_Missing_Cert_DER[505]; +extern const uint8_t sChipTest_ICAC_Validity_Not_Before_Missing_Cert_DER[439]; +extern const uint8_t sChipTest_RCAC_Validity_Not_Before_Missing_Cert_DER[404]; +extern const uint8_t sChipTest_NOC_Validity_Not_After_Missing_Cert_DER[506]; +extern const uint8_t sChipTest_ICAC_Validity_Not_After_Missing_Cert_DER[439]; +extern const uint8_t sChipTest_RCAC_Validity_Not_After_Missing_Cert_DER[403]; +extern const uint8_t sChipTest_NOC_Validity_Wrong_Cert_DER[519]; +extern const uint8_t sChipTest_ICAC_Validity_Wrong_Cert_DER[451]; +extern const uint8_t sChipTest_RCAC_Validity_Wrong_Cert_DER[417]; +extern const uint8_t sChipTest_NOC_Subject_NodeId_Invalid_Cert_DER[517]; +extern const uint8_t sChipTest_NOC_Subject_FabricId_Invalid_Cert_DER[518]; +extern const uint8_t sChipTest_ICAC_Subject_FabricId_Invalid_Cert_DER[451]; +extern const uint8_t sChipTest_RCAC_Subject_FabricId_Invalid_Cert_DER[416]; +extern const uint8_t sChipTest_NOC_Subject_CAT_Invalid_Cert_DER[544]; +extern const uint8_t sChipTest_ICAC_Subject_CAT_Invalid_Cert_DER[477]; +extern const uint8_t sChipTest_RCAC_Subject_CAT_Invalid_Cert_DER[470]; +extern const uint8_t sChipTest_NOC_Sig_Curve_Secp256k1_Cert_DER[515]; +extern const uint8_t sChipTest_ICAC_Sig_Curve_Secp256k1_Cert_DER[448]; +extern const uint8_t sChipTest_RCAC_Sig_Curve_Secp256k1_Cert_DER[414]; +extern const uint8_t sChipTest_NOC_Ext_Basic_Critical_Missing_Cert_DER[513]; +extern const uint8_t sChipTest_ICAC_Ext_Basic_Critical_Missing_Cert_DER[447]; +extern const uint8_t sChipTest_RCAC_Ext_Basic_Critical_Missing_Cert_DER[414]; +extern const uint8_t sChipTest_NOC_Ext_Basic_Critical_Wrong_Cert_DER[513]; +extern const uint8_t sChipTest_ICAC_Ext_Basic_Critical_Wrong_Cert_DER[448]; +extern const uint8_t sChipTest_RCAC_Ext_Basic_Critical_Wrong_Cert_DER[414]; +extern const uint8_t sChipTest_NOC_Ext_Basic_CA_Missing_Cert_DER[522]; +extern const uint8_t sChipTest_ICAC_Ext_Basic_CA_Missing_Cert_DER[450]; +extern const uint8_t sChipTest_RCAC_Ext_Basic_CA_Missing_Cert_DER[417]; +extern const uint8_t sChipTest_NOC_Ext_Basic_PathLen_Presence_Wrong_Cert_DER[520]; +extern const uint8_t sChipTest_NOC_Ext_KeyUsage_Critical_Missing_Cert_DER[512]; +extern const uint8_t sChipTest_ICAC_Ext_KeyUsage_Critical_Missing_Cert_DER[448]; +extern const uint8_t sChipTest_RCAC_Ext_KeyUsage_Critical_Missing_Cert_DER[414]; +extern const uint8_t sChipTest_NOC_Ext_KeyUsage_Critical_Wrong_Cert_DER[513]; +extern const uint8_t sChipTest_ICAC_Ext_KeyUsage_Critical_Wrong_Cert_DER[448]; +extern const uint8_t sChipTest_RCAC_Ext_KeyUsage_Critical_Wrong_Cert_DER[414]; +extern const uint8_t sChipTest_NOC_Ext_AKID_Length_Invalid_Cert_DER[516]; +extern const uint8_t sChipTest_ICAC_Ext_AKID_Length_Invalid_Cert_DER[450]; +extern const uint8_t sChipTest_RCAC_Ext_AKID_Length_Invalid_Cert_DER[415]; +extern const uint8_t sChipTest_NOC_Ext_SKID_Length_Invalid_Cert_DER[515]; +extern const uint8_t sChipTest_ICAC_Ext_SKID_Length_Invalid_Cert_DER[449]; +extern const uint8_t sChipTest_RCAC_Ext_SKID_Length_Invalid_Cert_DER[414]; +extern const uint8_t sChipTest_NOC_Oversized_Cert_CHIP[480]; +extern const uint8_t sChipTest_ICAC_Oversized_Cert_CHIP[463]; +extern const uint8_t sChipTest_RCAC_Oversized_Cert_CHIP[654]; +extern const uint8_t sChipTest_NOC_Serial_Number_Missing_Cert_CHIP[268]; +extern const uint8_t sChipTest_ICAC_Serial_Number_Missing_Cert_CHIP[251]; +extern const uint8_t sChipTest_RCAC_Serial_Number_Missing_Cert_CHIP[241]; +extern const uint8_t sChipTest_NOC_Sig_Algo_ECDSA_With_SHA1_Cert_CHIP[279]; +extern const uint8_t sChipTest_ICAC_Sig_Algo_ECDSA_With_SHA1_Cert_CHIP[262]; +extern const uint8_t sChipTest_RCAC_Sig_Algo_ECDSA_With_SHA1_Cert_CHIP[252]; +extern const uint8_t sChipTest_NOC_Issuer_Missing_Cert_CHIP[256]; +extern const uint8_t sChipTest_ICAC_Issuer_Missing_Cert_CHIP[249]; +extern const uint8_t sChipTest_RCAC_Issuer_Missing_Cert_CHIP[239]; +extern const uint8_t sChipTest_NOC_Validity_Not_Before_Missing_Cert_CHIP[273]; +extern const uint8_t sChipTest_ICAC_Validity_Not_Before_Missing_Cert_CHIP[256]; +extern const uint8_t sChipTest_RCAC_Validity_Not_Before_Missing_Cert_CHIP[246]; +extern const uint8_t sChipTest_NOC_Validity_Not_After_Missing_Cert_CHIP[273]; +extern const uint8_t sChipTest_ICAC_Validity_Not_After_Missing_Cert_CHIP[256]; +extern const uint8_t sChipTest_RCAC_Validity_Not_After_Missing_Cert_CHIP[246]; +extern const uint8_t sChipTest_NOC_Validity_Wrong_Cert_CHIP[279]; +extern const uint8_t sChipTest_ICAC_Validity_Wrong_Cert_CHIP[262]; +extern const uint8_t sChipTest_RCAC_Validity_Wrong_Cert_CHIP[252]; +extern const uint8_t sChipTest_NOC_Subject_Missing_Cert_CHIP[256]; +extern const uint8_t sChipTest_ICAC_Subject_Missing_Cert_CHIP[239]; +extern const uint8_t sChipTest_RCAC_Subject_Missing_Cert_CHIP[239]; +extern const uint8_t sChipTest_NOC_Subject_MatterId_Missing_Cert_CHIP[269]; +extern const uint8_t sChipTest_ICAC_Subject_MatterId_Missing_Cert_CHIP[252]; +extern const uint8_t sChipTest_RCAC_Subject_MatterId_Missing_Cert_CHIP[232]; +extern const uint8_t sChipTest_NOC_Subject_NodeId_Invalid_Cert_CHIP[279]; +extern const uint8_t sChipTest_NOC_Subject_MatterId_Twice_Cert_CHIP[289]; +extern const uint8_t sChipTest_ICAC_Subject_MatterId_Twice_Cert_CHIP[272]; +extern const uint8_t sChipTest_RCAC_Subject_MatterId_Twice_Cert_CHIP[272]; +extern const uint8_t sChipTest_NOC_Subject_FabricId_Missing_Cert_CHIP[269]; +extern const uint8_t sChipTest_NOC_Subject_FabricId_Invalid_Cert_CHIP[272]; +extern const uint8_t sChipTest_ICAC_Subject_FabricId_Invalid_Cert_CHIP[255]; +extern const uint8_t sChipTest_RCAC_Subject_FabricId_Invalid_Cert_CHIP[238]; +extern const uint8_t sChipTest_NOC_Subject_FabricId_Twice_Cert_CHIP[289]; +extern const uint8_t sChipTest_ICAC_Subject_FabricId_Twice_Cert_CHIP[272]; +extern const uint8_t sChipTest_RCAC_Subject_FabricId_Twice_Cert_CHIP[272]; +extern const uint8_t sChipTest_NOC_Subject_CAT_Invalid_Cert_CHIP[285]; +extern const uint8_t sChipTest_ICAC_Subject_CAT_Invalid_Cert_CHIP[268]; +extern const uint8_t sChipTest_RCAC_Subject_CAT_Invalid_Cert_CHIP[264]; +extern const uint8_t sChipTest_NOC_Subject_CAT_Twice_Cert_CHIP[291]; +extern const uint8_t sChipTest_ICAC_Subject_CAT_Twice_Cert_CHIP[274]; +extern const uint8_t sChipTest_RCAC_Subject_CAT_Twice_Cert_CHIP[276]; +extern const uint8_t sChipTest_NOC_Sig_Curve_Secp256k1_Cert_CHIP[279]; +extern const uint8_t sChipTest_ICAC_Sig_Curve_Secp256k1_Cert_CHIP[262]; +extern const uint8_t sChipTest_RCAC_Sig_Curve_Secp256k1_Cert_CHIP[252]; +extern const uint8_t sChipTest_NOC_PublicKey_Wrong_Cert_CHIP[279]; +extern const uint8_t sChipTest_ICAC_PublicKey_Wrong_Cert_CHIP[262]; +extern const uint8_t sChipTest_RCAC_PublicKey_Wrong_Cert_CHIP[252]; +extern const uint8_t sChipTest_NOC_Ext_Basic_Missing_Cert_CHIP[274]; +extern const uint8_t sChipTest_ICAC_Ext_Basic_Missing_Cert_CHIP[257]; +extern const uint8_t sChipTest_RCAC_Ext_Basic_Missing_Cert_CHIP[247]; +extern const uint8_t sChipTest_NOC_Ext_Basic_CA_Missing_Cert_CHIP[277]; +extern const uint8_t sChipTest_ICAC_Ext_Basic_CA_Missing_Cert_CHIP[260]; +extern const uint8_t sChipTest_RCAC_Ext_Basic_CA_Missing_Cert_CHIP[250]; +extern const uint8_t sChipTest_NOC_Ext_Basic_CA_Wrong_Cert_CHIP[279]; +extern const uint8_t sChipTest_ICAC_Ext_Basic_CA_Wrong_Cert_CHIP[262]; +extern const uint8_t sChipTest_RCAC_Ext_Basic_CA_Wrong_Cert_CHIP[252]; +extern const uint8_t sChipTest_NOC_Ext_Basic_PathLen_Presence_Wrong_Cert_CHIP[279]; +extern const uint8_t sChipTest_ICAC_Ext_Basic_PathLen_Presence_Wrong_Cert_CHIP[262]; +extern const uint8_t sChipTest_RCAC_Ext_Basic_PathLen_Presence_Wrong_Cert_CHIP[252]; +extern const uint8_t sChipTest_NOC_Ext_Basic_PathLen2_Cert_CHIP[279]; +extern const uint8_t sChipTest_ICAC_Ext_Basic_PathLen2_Cert_CHIP[262]; +extern const uint8_t sChipTest_RCAC_Ext_Basic_PathLen2_Cert_CHIP[252]; +extern const uint8_t sChipTest_NOC_Ext_KeyUsage_Missing_Cert_CHIP[276]; +extern const uint8_t sChipTest_ICAC_Ext_KeyUsage_Missing_Cert_CHIP[259]; +extern const uint8_t sChipTest_RCAC_Ext_KeyUsage_Missing_Cert_CHIP[249]; +extern const uint8_t sChipTest_NOC_Ext_KeyUsage_KeyCertSign_Wrong_Cert_CHIP[279]; +extern const uint8_t sChipTest_ICAC_Ext_KeyUsage_KeyCertSign_Wrong_Cert_CHIP[262]; +extern const uint8_t sChipTest_RCAC_Ext_KeyUsage_KeyCertSign_Wrong_Cert_CHIP[252]; +extern const uint8_t sChipTest_NOC_Ext_AKID_Missing_Cert_CHIP[256]; +extern const uint8_t sChipTest_ICAC_Ext_AKID_Missing_Cert_CHIP[239]; +extern const uint8_t sChipTest_RCAC_Ext_AKID_Missing_Cert_CHIP[229]; +extern const uint8_t sChipTest_NOC_Ext_AKID_Length_Invalid_Cert_CHIP[278]; +extern const uint8_t sChipTest_ICAC_Ext_AKID_Length_Invalid_Cert_CHIP[261]; +extern const uint8_t sChipTest_RCAC_Ext_AKID_Length_Invalid_Cert_CHIP[251]; +extern const uint8_t sChipTest_NOC_Ext_SKID_Missing_Cert_CHIP[256]; +extern const uint8_t sChipTest_ICAC_Ext_SKID_Missing_Cert_CHIP[239]; +extern const uint8_t sChipTest_RCAC_Ext_SKID_Missing_Cert_CHIP[229]; +extern const uint8_t sChipTest_NOC_Ext_SKID_Length_Invalid_Cert_CHIP[278]; +extern const uint8_t sChipTest_ICAC_Ext_SKID_Length_Invalid_Cert_CHIP[261]; +extern const uint8_t sChipTest_RCAC_Ext_SKID_Length_Invalid_Cert_CHIP[251]; +extern const uint8_t sChipTest_NOC_Signature_Wrong_Cert_CHIP[279]; +extern const uint8_t sChipTest_ICAC_Signature_Wrong_Cert_CHIP[262]; +extern const uint8_t sChipTest_RCAC_Signature_Wrong_Cert_CHIP[252]; } // namespace TestCerts } // namespace chip diff --git a/src/credentials/tests/TestChipCert.cpp b/src/credentials/tests/TestChipCert.cpp index a61da27841e4ef..97db2695424514 100644 --- a/src/credentials/tests/TestChipCert.cpp +++ b/src/credentials/tests/TestChipCert.cpp @@ -190,6 +190,74 @@ static void TestChipCert_ChipToX509(nlTestSuite * inSuite, void * inContext) NL_TEST_ASSERT(inSuite, err == CHIP_ERROR_INVALID_TLV_TAG); } +static void TestChipCert_ChipToX509_ErrorCases(nlTestSuite * inSuite, void * inContext) +{ + CHIP_ERROR err; + uint8_t outCertBuf[kMaxDERCertLength]; + + for (auto chipCert : gTestCert_ChipToX509_ErrorCases) + { + MutableByteSpan outCert(outCertBuf); + + err = ConvertChipCertToX509Cert(chipCert, outCert); + NL_TEST_ASSERT(inSuite, err != CHIP_NO_ERROR); + } +} + +static void TestChipCert_ChipCertLoad_ErrorCases(nlTestSuite * inSuite, void * inContext) +{ + CHIP_ERROR err; + ChipCertificateSet certSet; + + err = certSet.Init(1); + NL_TEST_ASSERT(inSuite, err == CHIP_NO_ERROR); + + for (auto chipCert : gTestCert_ChipCertLoad_ErrorCases) + { + err = certSet.LoadCert(chipCert, sNullDecodeFlag); + NL_TEST_ASSERT(inSuite, err != CHIP_NO_ERROR); + + certSet.Clear(); + } + + certSet.Release(); +} + +static void TestChipCert_ValidateChipRCAC_ErrorCases(nlTestSuite * inSuite, void * inContext) +{ + CHIP_ERROR err; + + for (auto chipCert : gTestCert_ValidateChipRCAC_ErrorCases) + { + err = ValidateChipRCAC(chipCert); + NL_TEST_ASSERT(inSuite, err != CHIP_NO_ERROR); + } +} + +static void TestChipCert_GetCertType_ErrorCases(nlTestSuite * inSuite, void * inContext) +{ + CHIP_ERROR err; + ChipCertificateSet certSet; + + err = certSet.Init(1); + NL_TEST_ASSERT(inSuite, err == CHIP_NO_ERROR); + + for (auto chipCert : gTestCert_GetCertType_ErrorCases) + { + uint8_t certType; + + err = certSet.LoadCert(chipCert, sNullDecodeFlag); + NL_TEST_ASSERT(inSuite, err == CHIP_NO_ERROR); + + err = certSet.GetCertSet()->mSubjectDN.GetCertType(certType); + NL_TEST_ASSERT(inSuite, err != CHIP_NO_ERROR || certType == kCertType_NotSpecified); + + certSet.Clear(); + } + + certSet.Release(); +} + static void TestChipCert_X509ToChip(nlTestSuite * inSuite, void * inContext) { CHIP_ERROR err; @@ -213,6 +281,20 @@ static void TestChipCert_X509ToChip(nlTestSuite * inSuite, void * inContext) } } +static void TestChipCert_X509ToChip_ErrorCases(nlTestSuite * inSuite, void * inContext) +{ + CHIP_ERROR err; + uint8_t outCertBuf[kMaxCHIPCertLength]; + + for (auto derCert : gTestCert_X509ToChip_ErrorCases) + { + MutableByteSpan outCert(outCertBuf); + + err = ConvertX509CertToChipCert(derCert, outCert); + NL_TEST_ASSERT(inSuite, err != CHIP_NO_ERROR); + } +} + static void TestChipCert_ChipDN(nlTestSuite * inSuite, void * inContext) { const static char noc_rdn[] = "Test NOC"; @@ -1875,14 +1957,14 @@ static void TestChipCert_ExtractAndValidateCATsFromOpCert(nlTestSuite * inSuite, // Error case: NOC with invalid CAT version. { CATValues cats; - CHIP_ERROR err = ExtractCATsFromOpCert(kTestErrorCert_NOC_0001_InvCATVerZero_Cert, cats); + CHIP_ERROR err = ExtractCATsFromOpCert(ByteSpan(sChipTest_NOC_Subject_CAT_Invalid_Cert_CHIP), cats); NL_TEST_ASSERT(inSuite, err == CHIP_ERROR_INVALID_ARGUMENT); } // Error case: NOC with multiple versions of the same CAT tag. { CATValues cats; - CHIP_ERROR err = ExtractCATsFromOpCert(kTestErrorCert_NOC_0002_InvCATMulVers_Cert, cats); + CHIP_ERROR err = ExtractCATsFromOpCert(ByteSpan(sChipTest_NOC_Subject_CAT_Twice_Cert_CHIP), cats); NL_TEST_ASSERT(inSuite, err == CHIP_ERROR_WRONG_CERT_DN); } } @@ -2038,7 +2120,12 @@ int TestChipCert_Teardown(void * inContext) // clang-format off static const nlTest sTests[] = { NL_TEST_DEF("Test CHIP Certificate CHIP to X509 Conversion", TestChipCert_ChipToX509), + NL_TEST_DEF("Test CHIP Certificate CHIP to X509 Conversion - Error Cases", TestChipCert_ChipToX509_ErrorCases), + NL_TEST_DEF("Test CHIP Certificate Loading - Error Cases", TestChipCert_ChipCertLoad_ErrorCases), + NL_TEST_DEF("Test CHIP Certificate Validate RCAC - Error Cases", TestChipCert_ValidateChipRCAC_ErrorCases), + NL_TEST_DEF("Test CHIP Certificate Get Cert Type from Subject - Error Cases", TestChipCert_GetCertType_ErrorCases), NL_TEST_DEF("Test CHIP Certificate X509 to CHIP Conversion", TestChipCert_X509ToChip), + NL_TEST_DEF("Test CHIP Certificate X509 to CHIP Conversion - Error Cases", TestChipCert_X509ToChip_ErrorCases), NL_TEST_DEF("Test CHIP Certificate Distinguish Name", TestChipCert_ChipDN), NL_TEST_DEF("Test CHIP Certificate Validation", TestChipCert_CertValidation), NL_TEST_DEF("Test CHIP Certificate Validation time", TestChipCert_CertValidTime), diff --git a/src/tools/chip-cert/CertUtils.cpp b/src/tools/chip-cert/CertUtils.cpp index d275c9bf575929..ed7f09d040ad26 100644 --- a/src/tools/chip-cert/CertUtils.cpp +++ b/src/tools/chip-cert/CertUtils.cpp @@ -500,7 +500,7 @@ bool SetKeyUsageExtension(X509 * cert, bool isCA, CertStructConfig & certConfig) * value of the BIT STRING subjectPublicKey (excluding the tag, * length, and number of unused bits). */ -bool AddSubjectKeyId(X509 * cert) +bool AddSubjectKeyId(X509 * cert, bool isSKIDLengthValid) { bool res = true; ASN1_BIT_STRING * pk = X509_get0_pubkey_bitstr(cert); @@ -519,6 +519,11 @@ bool AddSubjectKeyId(X509 * cert) ExitNow(res = false); } + if (!isSKIDLengthValid) + { + pkHashLen--; + } + if (!ASN1_STRING_set(pkHashOS.get(), pkHash, static_cast(pkHashLen))) { ReportOpenSSLErrorAndExit("ASN1_STRING_set", res = false); @@ -533,7 +538,7 @@ bool AddSubjectKeyId(X509 * cert) return res; } -bool AddAuthorityKeyId(X509 * cert, X509 * caCert) +bool AddAuthorityKeyId(X509 * cert, X509 * caCert, bool isAKIDLengthValid) { bool res = true; int isCritical; @@ -546,6 +551,11 @@ bool AddAuthorityKeyId(X509 * cert, X509 * caCert) ReportOpenSSLErrorAndExit("X509_get_ext_d2i", res = false); } + if (!isAKIDLengthValid) + { + akid->keyid->length = 19; + } + if (!X509_add1_ext_i2d(cert, NID_authority_key_identifier, akid.get(), 0, X509V3_ADD_APPEND)) { ReportOpenSSLErrorAndExit("X509_add1_ext_i2d", res = false); @@ -922,7 +932,7 @@ bool MakeCert(uint8_t certType, const ToolChipDN * subjectDN, X509 * caCert, EVP // Add a subject key id extension for the certificate. if (certConfig.IsExtensionSKIDPresent()) { - res = AddSubjectKeyId(newCert); + res = AddSubjectKeyId(newCert, certConfig.IsExtensionSKIDLengthValid()); VerifyTrueOrExit(res); } @@ -932,9 +942,9 @@ bool MakeCert(uint8_t certType, const ToolChipDN * subjectDN, X509 * caCert, EVP { if ((certType == kCertType_Root) && !certConfig.IsExtensionSKIDPresent()) { - res = AddSubjectKeyId(newCert); + res = AddSubjectKeyId(newCert, certConfig.IsExtensionSKIDLengthValid()); VerifyTrueOrExit(res); - res = AddAuthorityKeyId(newCert, newCert); + res = AddAuthorityKeyId(newCert, newCert, certConfig.IsExtensionAKIDLengthValid()); VerifyTrueOrExit(res); // Remove that temporary added subject key id @@ -949,7 +959,7 @@ bool MakeCert(uint8_t certType, const ToolChipDN * subjectDN, X509 * caCert, EVP } else { - res = AddAuthorityKeyId(newCert, caCert); + res = AddAuthorityKeyId(newCert, caCert, certConfig.IsExtensionAKIDLengthValid()); VerifyTrueOrExit(res); } } @@ -1110,7 +1120,7 @@ CHIP_ERROR MakeCertChipTLV(uint8_t certType, const ToolChipDN * subjectDN, X509 if (certConfig.IsExtensionBasicCAPresent()) { ReturnErrorOnFailure(writer.PutBoolean(ContextTag(kTag_BasicConstraints_IsCA), - certConfig.IsExtensionBasicCACorrect() ? true : false)); + certConfig.IsExtensionBasicCACorrect() ? isCA : !isCA)); } // TODO if (pathLen != kPathLength_NotSpecified) @@ -1146,7 +1156,11 @@ CHIP_ERROR MakeCertChipTLV(uint8_t certType, const ToolChipDN * subjectDN, X509 if (certConfig.IsExtensionBasicPresent()) { ReturnErrorOnFailure(writer.StartContainer(ContextTag(kTag_BasicConstraints), kTLVType_Structure, containerType3)); - ReturnErrorOnFailure(writer.PutBoolean(ContextTag(kTag_BasicConstraints_IsCA), false)); + if (certConfig.IsExtensionBasicCAPresent()) + { + ReturnErrorOnFailure(writer.PutBoolean(ContextTag(kTag_BasicConstraints_IsCA), + certConfig.IsExtensionBasicCACorrect() ? isCA : !isCA)); + } ReturnErrorOnFailure(writer.EndContainer(containerType3)); } @@ -1190,14 +1204,16 @@ CHIP_ERROR MakeCertChipTLV(uint8_t certType, const ToolChipDN * subjectDN, X509 if (certConfig.IsExtensionSKIDPresent()) { ReturnErrorOnFailure(Crypto::Hash_SHA1(subjectPubkey, sizeof(subjectPubkey), keyid)); - ReturnErrorOnFailure(writer.Put(ContextTag(kTag_SubjectKeyIdentifier), ByteSpan(keyid))); + size_t keyIdLen = certConfig.IsExtensionSKIDLengthValid() ? sizeof(keyid) : sizeof(keyid) - 1; + ReturnErrorOnFailure(writer.Put(ContextTag(kTag_SubjectKeyIdentifier), ByteSpan(keyid, keyIdLen))); } // authority key identifier if (certConfig.IsExtensionAKIDPresent()) { ReturnErrorOnFailure(Crypto::Hash_SHA1(issuerPubkey, sizeof(issuerPubkey), keyid)); - ReturnErrorOnFailure(writer.Put(ContextTag(kTag_AuthorityKeyIdentifier), ByteSpan(keyid))); + size_t keyIdLen = certConfig.IsExtensionAKIDLengthValid() ? sizeof(keyid) : sizeof(keyid) - 1; + ReturnErrorOnFailure(writer.Put(ContextTag(kTag_AuthorityKeyIdentifier), ByteSpan(keyid, keyIdLen))); } for (uint8_t i = 0; i < futureExtsCount; i++) @@ -1252,7 +1268,7 @@ bool ResignCert(X509 * cert, X509 * caCert, EVP_PKEY * caKey) } } - res = AddAuthorityKeyId(cert, caCert); + res = AddAuthorityKeyId(cert, caCert, true); VerifyTrueOrExit(res); if (!X509_sign(cert, caKey, EVP_sha256())) @@ -1418,14 +1434,14 @@ bool MakeAttCert(AttCertType attCertType, const char * subjectCN, uint16_t subje if (certConfig.IsExtensionSKIDPresent()) { // Add a subject key id extension for the certificate. - res = AddSubjectKeyId(newCert); + res = AddSubjectKeyId(newCert, certConfig.IsExtensionSKIDLengthValid()); VerifyTrueOrExit(res); } if (certConfig.IsExtensionAKIDPresent()) { // Add the authority key id extension from the signing certificate. - res = AddAuthorityKeyId(newCert, caCert); + res = AddAuthorityKeyId(newCert, caCert, certConfig.IsExtensionAKIDLengthValid()); VerifyTrueOrExit(res); } diff --git a/src/tools/chip-cert/Cmd_GenCert.cpp b/src/tools/chip-cert/Cmd_GenCert.cpp index 32be5bdcbaf589..c17780eec584d4 100644 --- a/src/tools/chip-cert/Cmd_GenCert.cpp +++ b/src/tools/chip-cert/Cmd_GenCert.cpp @@ -230,14 +230,16 @@ const char * const gCmdOptionHelp = " validity-wrong - Certificate will have validity not-before and not-after values switched,\n" " where not-before will have greater value than not-after.\n" " subject-missing - Certificate won't have required Subject field.\n" - " subject-node-id-missing - Subject won't have NodeId attribute.\n" + " subject-matter-id-missing - Subject won't have Matter Id (Node, ICAC or RCAC identifier) attribute.\n" " subject-node-id-invalid - Subject will include invalid NodeId value.\n" - " subject-node-id-twice - Subject will include two NodeId attributes.\n" + " subject-matter-id-twice - Subject will include two Matter Id (Node, ICAC or RCAC identifier) attributes.\n" " subject-fabric-id-missing - Subject won't have FabricId attribute.\n" " subject-fabric-id-invalid - Subject will include invalid FabricId value.\n" " subject-fabric-id-twice - Subject will include two FabricId attributes.\n" " subject-fabric-id-mismatch - The FabricId in the subject won't match FabricId in the issuer field.\n" " subject-cat-invalid - Subject will include invalid CASE Authenticated Tag (CAT) value.\n" + " subject-cat-twice - Subject will include two valid CAT attributes with same Value component\n" + " but different Version components.\n" " sig-curve - Use secp256k1 curve to generate certificate signature instead of\n" " required secp256r1 (aka prime256v1).\n" " publickey - Error will be injected in one of the bytes of the public key value.\n" @@ -246,8 +248,8 @@ const char * const gCmdOptionHelp = " ext-basic-critical-missing - Basic Constraint extension won't have critical field.\n" " ext-basic-critical-wrong - Basic Constraint extension will be marked as non-critical.\n" " ext-basic-ca-missing - Basic Constraint extension won't have cA field.\n" - " ext-basic-ca-wrong - Basic Constraint extension cA field will be set to TRUE for DAC\n" - " and to FALSE for PAI and PAA.\n" + " ext-basic-ca-wrong - Basic Constraint extension cA field will be set to TRUE for NOC\n" + " and to FALSE for ICAC/RCAC.\n" " ext-basic-pathlen-presence-wrong - Basic Constraint extension will include pathLen field for NOC.\n" " ext-basic-pathlen0 - Basic Constraint extension pathLen field will be set to 0.\n" " ext-basic-pathlen1 - Basic Constraint extension pathLen field will be set to 1.\n" @@ -261,8 +263,10 @@ const char * const gCmdOptionHelp = " and won't be set for ICAC/RCAC.\n" " ext-key-usage-crl-sign - Key Usage extension cRLSign flag will be set for NOC\n" " and won't set for ICAC/RCAC.\n" - " ext-akid-missing - Certificate won't have required Authority Key ID extension.\n" - " ext-skid-missing - Certificate won't have required Subject Key ID extension.\n" + " ext-akid-missing - Certificate won't have required Authority Key ID (AKID) extension.\n" + " ext-akid-len-invalid - Authority Key ID (AKID) extension length is 19 bytes instead of required 20.\n" + " ext-skid-missing - Certificate won't have required Subject Key ID (SKID) extension.\n" + " ext-skid-len-invalid - Subject Key ID (SKID) extension length is 19 bytes instead of required 20.\n" " ext-extended-key-usage-missing - Certificate won't have required Extended Key Usage extension.\n" " signature - Error will be injected in one of the bytes of the signature value.\n" "\n" @@ -361,7 +365,7 @@ bool HandleOption(const char * progName, OptionSet * optSet, int id, const char PrintArgError("%s: Invalid value specified for chip node-id attribute: %s\n", progName, arg); return false; } - if (gCertConfig.IsSubjectNodeIdPresent()) + if (gCertConfig.IsSubjectMatterIdPresent()) { if (gCertConfig.IsSubjectNodeIdValid()) { @@ -371,7 +375,7 @@ bool HandleOption(const char * progName, OptionSet * optSet, int id, const char { err = gSubjectDN.AddAttribute_MatterNodeId(chip::kMaxOperationalNodeId + 10); } - if ((err == CHIP_NO_ERROR) && gCertConfig.IsSubjectNodeIdRepeatsTwice()) + if ((err == CHIP_NO_ERROR) && gCertConfig.IsSubjectMatterIdRepeatsTwice()) { err = gSubjectDN.AddAttribute_MatterNodeId(chip64bitAttr + 1); } @@ -381,10 +385,24 @@ bool HandleOption(const char * progName, OptionSet * optSet, int id, const char err = gSubjectDN.AddAttribute_MatterFirmwareSigningId(chip64bitAttr); break; case kCertType_ICA: - err = gSubjectDN.AddAttribute_MatterICACId(chip64bitAttr); + if (gCertConfig.IsSubjectMatterIdPresent()) + { + err = gSubjectDN.AddAttribute_MatterICACId(chip64bitAttr); + if ((err == CHIP_NO_ERROR) && gCertConfig.IsSubjectMatterIdRepeatsTwice()) + { + err = gSubjectDN.AddAttribute_MatterICACId(chip64bitAttr + 1); + } + } break; case kCertType_Root: - err = gSubjectDN.AddAttribute_MatterRCACId(chip64bitAttr); + if (gCertConfig.IsSubjectMatterIdPresent()) + { + err = gSubjectDN.AddAttribute_MatterRCACId(chip64bitAttr); + if ((err == CHIP_NO_ERROR) && gCertConfig.IsSubjectMatterIdRepeatsTwice()) + { + err = gSubjectDN.AddAttribute_MatterRCACId(chip64bitAttr + 1); + } + } break; default: PrintArgError("%s: Certificate type argument should be specified prior to subject attribute: %s\n", progName, arg); @@ -822,17 +840,17 @@ bool HandleOption(const char * progName, OptionSet * optSet, int id, const char { gCertConfig.SetSubjectMissing(); } - else if (strcmp(arg, "subject-node-id-missing") == 0) + else if (strcmp(arg, "subject-matter-id-missing") == 0) { - gCertConfig.SetSubjectNodeIdMissing(); + gCertConfig.SetSubjectMatterIdMissing(); } else if (strcmp(arg, "subject-node-id-invalid") == 0) { gCertConfig.SetSubjectNodeIdInvalid(); } - else if (strcmp(arg, "subject-node-id-twice") == 0) + else if (strcmp(arg, "subject-matter-id-twice") == 0) { - gCertConfig.SetSubjectNodeIdTwice(); + gCertConfig.SetSubjectMatterIdTwice(); } else if (strcmp(arg, "subject-fabric-id-missing") == 0) { @@ -854,6 +872,10 @@ bool HandleOption(const char * progName, OptionSet * optSet, int id, const char { gCertConfig.SetSubjectCATInvalid(); } + else if (strcmp(arg, "subject-cat-twice") == 0) + { + gCertConfig.SetSubjectCATTwice(); + } else if (strcmp(arg, "sig-curve") == 0) { gCertConfig.SetSigCurveWrong(); @@ -926,10 +948,18 @@ bool HandleOption(const char * progName, OptionSet * optSet, int id, const char { gCertConfig.SetExtensionAKIDMissing(); } + else if (strcmp(arg, "ext-akid-len-invalid") == 0) + { + gCertConfig.SetExtensionAKIDLengthInvalid(); + } else if (strcmp(arg, "ext-skid-missing") == 0) { gCertConfig.SetExtensionSKIDMissing(); } + else if (strcmp(arg, "ext-skid-len-invalid") == 0) + { + gCertConfig.SetExtensionSKIDLengthInvalid(); + } else if (strcmp(arg, "ext-extended-key-usage-missing") == 0) { gCertConfig.SetExtensionExtendedKeyUsageMissing(); @@ -991,7 +1021,7 @@ bool Cmd_GenCert(int argc, char * argv[]) "certificates.\n"); } - if (gSubjectDN.IsEmpty()) + if (gSubjectDN.IsEmpty() && gCertConfig.IsSubjectMatterIdPresent()) { fprintf(stderr, "Please specify the subject DN attributes.\n"); ExitNow(res = false); @@ -1012,9 +1042,15 @@ bool Cmd_GenCert(int argc, char * argv[]) } } - if (!gCertConfig.IsSubjectCATValid()) + if (!gCertConfig.IsSubjectCATValid() || gCertConfig.IsSubjectCATRepeatsTwice()) { - err = gSubjectDN.AddAttribute_MatterCASEAuthTag(0xABCD0000); + uint32_t cat = gCertConfig.IsSubjectCATValid() ? 0xABCD0010 : 0xABCD0000; + + err = gSubjectDN.AddAttribute_MatterCASEAuthTag(cat); + if ((err == CHIP_NO_ERROR) && gCertConfig.IsSubjectCATRepeatsTwice()) + { + err = gSubjectDN.AddAttribute_MatterCASEAuthTag(cat + 8); + } if (err != CHIP_NO_ERROR) { fprintf(stderr, "Failed to add Invalid CAT to the Subject DN: %s\n", chip::ErrorStr(err)); diff --git a/src/tools/chip-cert/Cmd_PrintCert.cpp b/src/tools/chip-cert/Cmd_PrintCert.cpp index 5ccc9fb536b446..76110b8dca5981 100644 --- a/src/tools/chip-cert/Cmd_PrintCert.cpp +++ b/src/tools/chip-cert/Cmd_PrintCert.cpp @@ -263,11 +263,8 @@ bool PrintCert(const char * fileName, X509 * cert) fprintf(file, "Extensions:\n"); indent += 4; - if (certData->mCertFlags.Has(CertFlags::kIsCA)) - { - Indent(file, indent); - fprintf(file, "Is CA : true\n"); - } + Indent(file, indent); + fprintf(file, "Is CA : %s\n", certData->mCertFlags.Has(CertFlags::kIsCA) ? "true" : "false"); if (certData->mCertFlags.Has(CertFlags::kPathLenConstraintPresent)) { diff --git a/src/tools/chip-cert/chip-cert.h b/src/tools/chip-cert/chip-cert.h index fe5d8e7f4d2160..28bd05a907a024 100644 --- a/src/tools/chip-cert/chip-cert.h +++ b/src/tools/chip-cert/chip-cert.h @@ -179,7 +179,9 @@ class CertStructConfig void SetExtensionKeyUsageKeyCertSignWrong() { mFlags.Set(CertErrorFlags::kExtKeyUsageKeyCertSign); } void SetExtensionKeyUsageCRLSignWrong() { mFlags.Set(CertErrorFlags::kExtKeyUsageCRLSign); } void SetExtensionAKIDMissing() { mFlags.Set(CertErrorFlags::kExtAKIDMissing); } + void SetExtensionAKIDLengthInvalid() { mFlags.Set(CertErrorFlags::kExtAKIDLenInvalid); } void SetExtensionSKIDMissing() { mFlags.Set(CertErrorFlags::kExtSKIDMissing); } + void SetExtensionSKIDLengthInvalid() { mFlags.Set(CertErrorFlags::kExtSKIDLenInvalid); } void SetExtensionExtendedKeyUsagePresent() { mFlags.Set(CertErrorFlags::kExtExtendedKeyUsage); } void SetExtensionAuthorityInfoAccessPresent() { mFlags.Set(CertErrorFlags::kExtAuthorityInfoAccess); } void SetExtensionSubjectAltNamePresent() { mFlags.Set(CertErrorFlags::kExtSubjectAltName); } @@ -192,14 +194,15 @@ class CertStructConfig void SetValidityNotAfterMissing() { mFlags.Set(CertErrorFlags::kValidityNotAfterMissing); } void SetValidityWrong() { mFlags.Set(CertErrorFlags::kValidityWrong); } void SetSubjectMissing() { mFlags.Set(CertErrorFlags::kSubjectMissing); } - void SetSubjectNodeIdMissing() { mFlags.Set(CertErrorFlags::kSubjectNodeIdMissing); } + void SetSubjectMatterIdMissing() { mFlags.Set(CertErrorFlags::kSubjectMatterIdMissing); } void SetSubjectNodeIdInvalid() { mFlags.Set(CertErrorFlags::kSubjectNodeIdInvalid); } - void SetSubjectNodeIdTwice() { mFlags.Set(CertErrorFlags::kSubjectNodeIdTwice); } + void SetSubjectMatterIdTwice() { mFlags.Set(CertErrorFlags::kSubjectMatterIdTwice); } void SetSubjectFabricIdMissing() { mFlags.Set(CertErrorFlags::kSubjectFabricIdMissing); } void SetSubjectFabricIdInvalid() { mFlags.Set(CertErrorFlags::kSubjectFabricIdInvalid); } void SetSubjectFabricIdTwice() { mFlags.Set(CertErrorFlags::kSubjectFabricIdTwice); } void SetSubjectFabricIdMismatch() { mFlags.Set(CertErrorFlags::kSubjectFabricIdMismatch); } void SetSubjectCATInvalid() { mFlags.Set(CertErrorFlags::kSubjectCATInvalid); } + void SetSubjectCATTwice() { mFlags.Set(CertErrorFlags::kSubjectCATTwice); } void SetExtensionExtendedKeyUsageMissing() { mFlags.Set(CertErrorFlags::kExtExtendedKeyUsageMissing); } bool IsErrorTestCaseEnabled() { return mEnabled; } @@ -305,7 +308,9 @@ class CertStructConfig bool IsExtensionKeyUsageKeyCertSignCorrect() { return (!mEnabled || !mFlags.Has(CertErrorFlags::kExtKeyUsageKeyCertSign)); } bool IsExtensionKeyUsageCRLSignCorrect() { return (!mEnabled || !mFlags.Has(CertErrorFlags::kExtKeyUsageCRLSign)); } bool IsExtensionAKIDPresent() { return (!mEnabled || !mFlags.Has(CertErrorFlags::kExtAKIDMissing)); } + bool IsExtensionAKIDLengthValid() { return (!mEnabled || !mFlags.Has(CertErrorFlags::kExtAKIDLenInvalid)); } bool IsExtensionSKIDPresent() { return (!mEnabled || !mFlags.Has(CertErrorFlags::kExtSKIDMissing)); } + bool IsExtensionSKIDLengthValid() { return (!mEnabled || !mFlags.Has(CertErrorFlags::kExtSKIDLenInvalid)); } bool IsExtensionExtendedKeyUsagePresent() { return (mEnabled && mFlags.Has(CertErrorFlags::kExtExtendedKeyUsage)); } bool IsExtensionAuthorityInfoAccessPresent() { return (mEnabled && mFlags.Has(CertErrorFlags::kExtAuthorityInfoAccess)); } bool IsExtensionSubjectAltNamePresent() { return (mEnabled && mFlags.Has(CertErrorFlags::kExtSubjectAltName)); } @@ -319,14 +324,15 @@ class CertStructConfig bool IsValidityNotAfterPresent() { return (!mEnabled || !mFlags.Has(CertErrorFlags::kValidityNotAfterMissing)); } bool IsValidityCorrect() { return (!mEnabled || !mFlags.Has(CertErrorFlags::kValidityWrong)); } bool IsSubjectPresent() { return (!mEnabled || !mFlags.Has(CertErrorFlags::kSubjectMissing)); } - bool IsSubjectNodeIdPresent() { return (!mEnabled || !mFlags.Has(CertErrorFlags::kSubjectNodeIdMissing)); } + bool IsSubjectMatterIdPresent() { return (!mEnabled || !mFlags.Has(CertErrorFlags::kSubjectMatterIdMissing)); } bool IsSubjectNodeIdValid() { return (!mEnabled || !mFlags.Has(CertErrorFlags::kSubjectNodeIdInvalid)); } - bool IsSubjectNodeIdRepeatsTwice() { return (mEnabled && mFlags.Has(CertErrorFlags::kSubjectNodeIdTwice)); } + bool IsSubjectMatterIdRepeatsTwice() { return (mEnabled && mFlags.Has(CertErrorFlags::kSubjectMatterIdTwice)); } bool IsSubjectFabricIdPresent() { return (!mEnabled || !mFlags.Has(CertErrorFlags::kSubjectFabricIdMissing)); } bool IsSubjectFabricIdValid() { return (!mEnabled || !mFlags.Has(CertErrorFlags::kSubjectFabricIdInvalid)); } bool IsSubjectFabricIdRepeatsTwice() { return (mEnabled && mFlags.Has(CertErrorFlags::kSubjectFabricIdTwice)); } bool IsSubjectFabricIdMismatch() { return (mEnabled && mFlags.Has(CertErrorFlags::kSubjectFabricIdMismatch)); } bool IsSubjectCATValid() { return (!mEnabled || !mFlags.Has(CertErrorFlags::kSubjectCATInvalid)); } + bool IsSubjectCATRepeatsTwice() { return (mEnabled && mFlags.Has(CertErrorFlags::kSubjectCATTwice)); } bool IsExtensionExtendedKeyUsageMissing() { return (mEnabled && mFlags.Has(CertErrorFlags::kExtExtendedKeyUsageMissing)); } static constexpr uint8_t kPublicKeyErrorByte = 20; @@ -356,11 +362,13 @@ class CertStructConfig kExtKeyUsageKeyCertSign = 0x0000000000080000, kExtKeyUsageCRLSign = 0x0000000000100000, kExtAKIDMissing = 0x0000000000200000, - kExtSKIDMissing = 0x0000000000400000, - kExtExtendedKeyUsage = 0x0000000000800000, // DA specific - kExtAuthorityInfoAccess = 0x0000000001000000, // DA specific - kExtSubjectAltName = 0x0000000002000000, // DA specific - kSignature = 0x0000000004000000, + kExtAKIDLenInvalid = 0x0000000000400000, + kExtSKIDMissing = 0x0000000000800000, + kExtSKIDLenInvalid = 0x0000000001000000, + kExtExtendedKeyUsage = 0x0000000002000000, // DA specific + kExtAuthorityInfoAccess = 0x0000000004000000, // DA specific + kExtSubjectAltName = 0x0000000008000000, // DA specific + kSignature = 0x0000000010000000, // Op Cert Specific Flags: kCertOversized = 0x0000000100000000, @@ -370,15 +378,16 @@ class CertStructConfig kValidityNotAfterMissing = 0x0000001000000000, kValidityWrong = 0x0000002000000000, kSubjectMissing = 0x0000004000000000, - kSubjectNodeIdMissing = 0x0000008000000000, + kSubjectMatterIdMissing = 0x0000008000000000, kSubjectNodeIdInvalid = 0x0000010000000000, - kSubjectNodeIdTwice = 0x0000020000000000, + kSubjectMatterIdTwice = 0x0000020000000000, kSubjectFabricIdMissing = 0x0000040000000000, kSubjectFabricIdInvalid = 0x0000080000000000, kSubjectFabricIdTwice = 0x0000100000000000, kSubjectFabricIdMismatch = 0x0000200000000000, kSubjectCATInvalid = 0x0000400000000000, - kExtExtendedKeyUsageMissing = 0x0000800000000000, + kSubjectCATTwice = 0x0000800000000000, + kExtExtendedKeyUsageMissing = 0x0001000000000000, }; static constexpr uint32_t kExtraBufferLengthForOvesizedCert = 300; diff --git a/src/tools/chip-cert/gen_com_dut_test_vectors.py b/src/tools/chip-cert/gen_com_dut_test_vectors.py index 3fb099d81c0052..96a8e88e6006bb 100755 --- a/src/tools/chip-cert/gen_com_dut_test_vectors.py +++ b/src/tools/chip-cert/gen_com_dut_test_vectors.py @@ -690,7 +690,7 @@ def __init__(self, cert_type: CertType, error_type: str, paa_path: str, test_cas def make_certs_and_keys(self) -> None: """Creates the PEM and DER certs and keyfiles""" - error_type_flag = ' -I -E' + self.error_type + error_type_flag = ' -I -E ' + self.error_type subject_name = self.custom_cn_attribute vid_flag = ' -V 0x{:X}'.format(self.vid) pid_flag = ' -P 0x{:X}'.format(self.pid) @@ -793,7 +793,7 @@ def main(): argparser.add_argument('-d', '--cd', dest='cdpath', default='credentials/test/certification-declaration/Chip-Test-CD-Signing-', help='CD Signing Key/Cert to use') - argparser.add_argument('-c', '--chip-cert_dir', dest='chipcertdir', + argparser.add_argument('-c', '--chip-cert-dir', dest='chipcertdir', default='out/debug/linux_x64_clang/', help='Directory where chip-cert tool is located') args = argparser.parse_args() diff --git a/src/tools/chip-cert/gen_op_cert_test_vectors.py b/src/tools/chip-cert/gen_op_cert_test_vectors.py new file mode 100755 index 00000000000000..4a737abad0dbb7 --- /dev/null +++ b/src/tools/chip-cert/gen_op_cert_test_vectors.py @@ -0,0 +1,733 @@ +#!/usr/bin/env python + +import argparse +import json +import os +import subprocess +import sys +import typing +import cryptography.x509 +import os.path +import glob +from binascii import hexlify, unhexlify +from enum import Enum +from dacs import copyrightNotice, bytes_from_hex, make_c_array, make_array_header, open_outfile + + +class CertType(Enum): + NOC = 1 + ICAC = 2 + RCAC = 3 + + +class CertFormat(Enum): + DER = 1 + CHIP = 2 + + +# +# Generate operational certificates (NOC, ICAC, RCAC) test vectors in DER format. +# All these certificates are expected to fail when converted to CHIP TLV form +# using ConvertX509CertToChipCert() function. +# +# Note that not all malformed DER certificates are expected to fail when converted +# to CHIP TLV format, however, they are expected to fail later at the validation process. +# +DER_CERT_ERROR_TEST_CASES = [ + { + "description": "Certificate size exceeds its muximum supported limit", + "test_name": 'Oversized', + "error_flag": 'cert-oversized', + }, + { + "description": 'Invalid certificate version field set to v2(1)', + "test_name": 'Cert-Version-V2', + "error_flag": 'cert-version', + }, + { + "description": 'Invalid certificate signature algorithm ECDSA_WITH_SHA1', + "test_name": 'Sig-Algo-ECDSA-With-SHA1', + "error_flag": 'sig-algo', + }, + { + "description": "Certificate doesn't include Validity not-before field", + "test_name": 'Validity-Not-Before-Missing', + "error_flag": 'validity-not-before-missing', + }, + { + "description": "Certificate doesn't include Validity not-after field", + "test_name": 'Validity-Not-After-Missing', + "error_flag": 'validity-not-after-missing', + }, + { + "description": "Certificate Validity fields are invalid (values are switched)", + "test_name": 'Validity-Wrong', + "error_flag": 'validity-wrong', + }, + { + "description": "Subject's NodeId value is invalid", + "test_name": 'Subject-NodeId-Invalid', + "error_flag": 'subject-node-id-invalid', + }, + { + "description": "Subject's FabricId value is invalid", + "test_name": 'Subject-FabricId-Invalid', + "error_flag": 'subject-fabric-id-invalid', + }, + { + "description": "Subject's CAT value is invalid", + "test_name": 'Subject-CAT-Invalid', + "error_flag": 'subject-cat-invalid', + }, + { + "description": "Invalid certificate public key curve secp256k1", + "test_name": 'Sig-Curve-Secp256k1', + "error_flag": 'sig-curve', + }, + { + "description": "Certificate Basic Constraint extension critical field is missing", + "test_name": 'Ext-Basic-Critical-Missing', + "error_flag": 'ext-basic-critical-missing', + }, + { + "description": "Certificate Basic Constraint extension critical field is set as 'non-critical'", + "test_name": 'Ext-Basic-Critical-Wrong', + "error_flag": 'ext-basic-critical-wrong', + }, + { + "description": "Certificate Basic Constraint extension CA field is missing", + "test_name": 'Ext-Basic-CA-Missing', + "error_flag": 'ext-basic-ca-missing', + }, + { + "description": "Certificate Basic Constraint extension PathLen field presence is wrong (present for NOC)", + "test_name": 'Ext-Basic-PathLen-Presence-Wrong', + "error_flag": 'ext-basic-pathlen-presence-wrong', + }, + { + "description": "Certificate Key Usage extension critical field is missing", + "test_name": 'Ext-KeyUsage-Critical-Missing', + "error_flag": 'ext-key-usage-critical-missing', + }, + { + "description": "Certificate Key Usage extension critical field is set as 'non-critical'", + "test_name": 'Ext-KeyUsage-Critical-Wrong', + "error_flag": 'ext-key-usage-critical-wrong', + }, + { + "description": "Authority Key ID (AKID) extension length is 19 bytes instead of required 20", + "test_name": 'Ext-AKID-Length-Invalid', + "error_flag": 'ext-akid-len-invalid', + }, + { + "description": "Subject Key ID (SKID) extension length is 19 bytes instead of required 20", + "test_name": 'Ext-SKID-Length-Invalid', + "error_flag": 'ext-skid-len-invalid', + }, +] + +CHIP_TLV_CERT_ERROR_TEST_CASES = [ + { + "description": "Certificate size exceeds its muximum supported limit", + "test_name": 'Oversized', + "error_flag": 'cert-oversized', + "is_chip_to_x509_expected_to_fail": True, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": 'Invalid certificate version field set to v2(1)', + "test_name": 'Cert-Version-V2', + "error_flag": 'cert-version', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": False, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate doesn't include Serial Number field", + "test_name": 'Serial-Number-Missing', + "error_flag": 'serial-number-missing', + "is_chip_to_x509_expected_to_fail": True, + "is_chip_cert_load_expected_to_fail": True, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": 'Invalid certificate signature algorithm ECDSA_WITH_SHA1', + "test_name": 'Sig-Algo-ECDSA-With-SHA1', + "error_flag": 'sig-algo', + "is_chip_to_x509_expected_to_fail": True, + "is_chip_cert_load_expected_to_fail": True, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate doesn't include Issuer field", + "test_name": 'Issuer-Missing', + "error_flag": 'issuer-missing', + "is_chip_to_x509_expected_to_fail": True, + "is_chip_cert_load_expected_to_fail": True, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate doesn't include Validity not-before field", + "test_name": 'Validity-Not-Before-Missing', + "error_flag": 'validity-not-before-missing', + "is_chip_to_x509_expected_to_fail": True, + "is_chip_cert_load_expected_to_fail": True, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate doesn't include Validity not-after field", + "test_name": 'Validity-Not-After-Missing', + "error_flag": 'validity-not-after-missing', + "is_chip_to_x509_expected_to_fail": True, + "is_chip_cert_load_expected_to_fail": True, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate Validity fields are invalid (values are switched)", + "test_name": 'Validity-Wrong', + "error_flag": 'validity-wrong', + "is_chip_to_x509_expected_to_fail": True, + "is_chip_cert_load_expected_to_fail": True, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate doesn't include Subject field", + "test_name": 'Subject-Missing', + "error_flag": 'subject-missing', + "is_chip_to_x509_expected_to_fail": True, + "is_chip_cert_load_expected_to_fail": True, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Subject doesn't have MatterId attribute", + "test_name": 'Subject-MatterId-Missing', + "error_flag": 'subject-matter-id-missing', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": True, + }, + { + "description": "Subject's NodeId value is invalid", + "test_name": 'Subject-NodeId-Invalid', + "error_flag": 'subject-node-id-invalid', + "is_chip_to_x509_expected_to_fail": True, + "is_chip_cert_load_expected_to_fail": True, + "is_validate_chip_rcac_expected_to_fail": False, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Subject includes two MatterId attributes", + "test_name": 'Subject-MatterId-Twice', + "error_flag": 'subject-matter-id-twice', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": True, + }, + { + "description": "Subject doesn't have FabricId field", + "test_name": 'Subject-FabricId-Missing', + "error_flag": 'subject-fabric-id-missing', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": False, + "is_get_cert_type_expected_to_fail": True, + }, + { + "description": "Subject's FabricId value is invalid", + "test_name": 'Subject-FabricId-Invalid', + "error_flag": 'subject-fabric-id-invalid', + "is_chip_to_x509_expected_to_fail": True, + "is_chip_cert_load_expected_to_fail": True, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Subject includes two FabricId attributes", + "test_name": 'Subject-FabricId-Twice', + "error_flag": 'subject-fabric-id-twice', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": True, + }, + { + "description": "Subject's FabricId doesn't match Issuer's FabricId value", + "test_name": 'Subject-FabricId-Mismatch', + "error_flag": 'subject-fabric-id-mismatch', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": False, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Subject's CAT value is invalid", + "test_name": 'Subject-CAT-Invalid', + "error_flag": 'subject-cat-invalid', + "is_chip_to_x509_expected_to_fail": True, + "is_chip_cert_load_expected_to_fail": True, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Subject includes two CAT attributes with the same CAT Values but different Versions", + "test_name": 'Subject-CAT-Twice', + "error_flag": 'subject-cat-twice', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": True, + }, + { + "description": "Invalid certificate public key curve secp256k1", + "test_name": 'Sig-Curve-Secp256k1', + "error_flag": 'sig-curve', + "is_chip_to_x509_expected_to_fail": True, + "is_chip_cert_load_expected_to_fail": True, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Error injected into one of the bytes of the public key", + "test_name": 'PublicKey-Wrong', + "error_flag": 'publickey', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate doesn't include Basic Constraint extension", + "test_name": 'Ext-Basic-Missing', + "error_flag": 'ext-basic-missing', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate Basic Constraint extension CA field is missing", + "test_name": 'Ext-Basic-CA-Missing', + "error_flag": 'ext-basic-ca-missing', + "is_chip_to_x509_expected_to_fail": True, + "is_chip_cert_load_expected_to_fail": True, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate Basic Constraint extension CA field is wrong (TRUE for NOC and FALSE for ICAC/RCAC)", + "test_name": 'Ext-Basic-CA-Wrong', + "error_flag": 'ext-basic-ca-wrong', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate Basic Constraint extension PathLen field presence is wrong (present for NOC)", + "test_name": 'Ext-Basic-PathLen-Presence-Wrong', + "error_flag": 'ext-basic-pathlen-presence-wrong', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate Basic Constraint extension PathLen field set to 0", + "test_name": 'Ext-Basic-PathLen0', + "error_flag": 'ext-basic-pathlen0', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": False, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate Basic Constraint extension PathLen field set to 1", + "test_name": 'Ext-Basic-PathLen1', + "error_flag": 'ext-basic-pathlen1', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": False, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate Basic Constraint extension PathLen field set to 2", + "test_name": 'Ext-Basic-PathLen2', + "error_flag": 'ext-basic-pathlen2', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate doesn't include Key Usage extension", + "test_name": 'Ext-KeyUsage-Missing', + "error_flag": 'ext-key-usage-missing', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate Key Usage extension diginalSignature field is wrong (not present for NOC and present for ICAC/RCAC)", + "test_name": 'Ext-KeyUsage-DigSig-Wrong', + "error_flag": 'ext-key-usage-dig-sig', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": False, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate Key Usage extension keyCertSign field is wrong (present for NOC and not present for ICAC/RCAC)", + "test_name": 'Ext-KeyUsage-KeyCertSign-Wrong', + "error_flag": 'ext-key-usage-key-cert-sign', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate Key Usage extension cRLSign field is wrong (present for NOC and not present for ICAC/RCAC)", + "test_name": 'Ext-KeyUsage-CRLSign-Wrong', + "error_flag": 'ext-key-usage-crl-sign', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": False, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate doesn't include Authority Key ID (AKID) extension", + "test_name": 'Ext-AKID-Missing', + "error_flag": 'ext-akid-missing', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Authority Key ID (AKID) extension length is 19 bytes instead of required 20", + "test_name": 'Ext-AKID-Length-Invalid', + "error_flag": 'ext-akid-len-invalid', + "is_chip_to_x509_expected_to_fail": True, + "is_chip_cert_load_expected_to_fail": True, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate doesn't include Subject Key ID (SKID) extension", + "test_name": 'Ext-SKID-Missing', + "error_flag": 'ext-skid-missing', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Subject Key ID (SKID) extension length is 19 bytes instead of required 20", + "test_name": 'Ext-SKID-Length-Invalid', + "error_flag": 'ext-skid-len-invalid', + "is_chip_to_x509_expected_to_fail": True, + "is_chip_cert_load_expected_to_fail": True, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Certificate includes optional Extended Key Usage extension", + "test_name": 'Ext-ExtendedKeyUsage-Missing', + "error_flag": 'ext-extended-key-usage-missing', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": False, + "is_get_cert_type_expected_to_fail": False, + }, + { + "description": "Error injected into one of the bytes of the signature", + "test_name": 'Signature-Wrong', + "error_flag": 'signature', + "is_chip_to_x509_expected_to_fail": False, + "is_chip_cert_load_expected_to_fail": False, + "is_validate_chip_rcac_expected_to_fail": True, + "is_get_cert_type_expected_to_fail": False, + }, +] + + +def cert_type_as_str(cert_type: CertType) -> str: + type_strs = {CertType.NOC: 'NOC', + CertType.ICAC: 'ICAC', + CertType.RCAC: 'RCAC'} + return type_strs[cert_type] + + +def headers(filepath: str) -> tuple[str, str]: + """Returns strings with the headers for the output C-formated (.h and .cpp) files""" + filename = filepath.split("/")[-1] + namespaces = 'namespace chip {\nnamespace TestCerts {\n\n' + h_top = copyrightNotice + '\n#pragma once\n\n#include \n\n' + namespaces + c_top = copyrightNotice + '\n#include "' + filename + '.h"\n\n' + namespaces + return [h_top, c_top] + + +def footer() -> str: + """Returns a string with the footer for the output C-formated (.h and .cpp) files""" + return '\n} // namespace TestCerts\n} // namespace chip\n' + + +def full_cert_arrays(cert_file: str, array_name: str) -> tuple[str, str]: + """Returns the certificate byte arrays and declarations""" + with open(cert_file, "rb") as infile: + b = infile.read() + cert = make_c_array(b, array_name, 21) + header = make_array_header(b, array_name) + return [header, cert] + + +def start_test_cases_array(array_name: str, array_size: int) -> tuple[str, str]: + """Returns strings with the headers for the test cases array""" + h = 'extern const ByteSpan %s[%d];\n\n' % (array_name, array_size) + c = 'const ByteSpan %s[%d] = {\n' % (array_name, array_size) + return [h, c] + + +class Names: + def __init__(self, cert_type: CertType, cert_form: CertFormat, test_case_out_dir: str, test_name: str): + files_path_prefix = test_case_out_dir + '/Chip-Test-' + cert_type_as_str(cert_type) + '-' + test_name + cert_array_name_prefix = 'sChipTest_' + cert_type_as_str(cert_type) + '_' + test_name.replace("-", "_") + '_Cert' + + if cert_form == CertFormat.DER: + self.cert_file_name = files_path_prefix + '-Cert.der' + self.key_file_name = files_path_prefix + '-Key.der' + self.cert_array_name = cert_array_name_prefix + '_DER' + else: + self.cert_file_name = files_path_prefix + '-Cert.chip' + self.key_file_name = files_path_prefix + '-Key.chip' + self.cert_array_name = cert_array_name_prefix + '_CHIP' + + +class OpCertBuilder: + def __init__(self, cert_type: CertType, cert_form: CertFormat, signer_cert: str, signer_key: str, error_type: str, test_name: str, test_case_out_dir: str, chip_cert: str): + self.cert_type = cert_type + self.cert_form = cert_form + self.error_type = error_type + self.chipcert = chip_cert + self.signer_cert = signer_cert + self.signer_key = signer_key + self.own = Names(cert_type, cert_form, test_case_out_dir, test_name) + + def make_certs_and_keys(self) -> None: + """Creates the PEM and DER certs and keyfiles""" + error_type_flag = ' -I -E ' + self.error_type + validity_flags = ' -V "2020-10-15 14:23:43" -l 7305 ' + + if self.cert_type == CertType.NOC: + type_flag = ' -t n ' + suject_id_flags = ' -i DEDEDEDE00010001 -f FAB000000000001D ' + signer_key_and_cert = ' -K ' + self.signer_key + ' -C ' + self.signer_cert + elif self.cert_type == CertType.ICAC: + type_flag = ' -t c ' + suject_id_flags = ' -i CACACACA00000003 -f FAB000000000001D ' + signer_key_and_cert = ' -K ' + self.signer_key + ' -C ' + self.signer_cert + else: + type_flag = ' -t r ' + suject_id_flags = ' -i CACACACA00000001 ' + if self.error_type == 'subject-fabric-id-invalid' or self.error_type == 'subject-fabric-id-twice': + suject_id_flags = ' -f FAB000000000001D ' + signer_key_and_cert = ' ' + + if self.cert_form == CertFormat.DER: + format_flag = ' -F x509-der ' + else: + format_flag = ' -F chip ' + + cmd = 'echo ' + self.own.cert_file_name + subprocess.run(cmd, shell=True) + + # Generate privatkey/certificate in DER or CHIP TLV format + cmd = self.chipcert + ' gen-cert ' + type_flag + error_type_flag + suject_id_flags + signer_key_and_cert \ + + validity_flags + format_flag + ' -o ' + self.own.cert_file_name + ' -O ' + self.own.key_file_name + subprocess.run(cmd, shell=True) + + def full_arrays(self) -> tuple[str, str]: + """Returns DER and CHIP TLV certificate byte arrays and declarations""" + return full_cert_arrays(self.own.cert_file_name, self.own.cert_array_name) + + def add_cert_to_error_cases(self) -> str: + """Returns a string with the new entry to the test cases array""" + return ' ByteSpan(' + self.own.cert_array_name + '),\n' + + +def main(): + argparser = argparse.ArgumentParser() + argparser.add_argument('-t', '--test_dir', dest='testdir', + default='credentials/test/operational-certificates-error-cases', + help='Output directory for all generated test vectors') + argparser.add_argument('-o', '--out_dir', dest='outfile', + default='src/credentials/tests/CHIPCert_error_test_vectors', + help='Output file for all C-Style arrays') + argparser.add_argument('-r', '--rcac', dest='rcacpath', + default='credentials/test/operational-certificates/Chip-Test-Root01-', + help='Valid RCAC to generate invalid ICACs') + argparser.add_argument('-i', '--icac', dest='icacpath', + default='credentials/test/operational-certificates/Chip-Test-ICA02-', + help='Valid ICAC to generate invalid NOCs') + argparser.add_argument('-c', '--chip-cert-dir', dest='chipcertdir', + default='out/debug/linux_x64_clang/', help='Directory where chip-cert tool is located') + + args = argparser.parse_args() + + chipcert = args.chipcertdir + 'chip-cert' + rcac_cert = args.rcacpath + 'Cert.pem' + rcac_key = args.rcacpath + 'Key.pem' + icac_cert = args.icacpath + 'Cert.pem' + icac_key = args.icacpath + 'Key.pem' + + if not os.path.exists(args.testdir): + os.mkdir(args.testdir) + + if not os.path.exists(chipcert): + raise Exception('Path not found: %s' % chipcert) + + if not os.path.exists(rcac_cert): + raise Exception('Path not found: %s' % rcac_cert) + + if not os.path.exists(rcac_key): + raise Exception('Path not found: %s' % rcac_key) + + if not os.path.exists(icac_cert): + raise Exception('Path not found: %s' % icac_cert) + + if not os.path.exists(icac_key): + raise Exception('Path not found: %s' % icac_key) + + with open(args.outfile + '.h', "w") as hfile: + with open(args.outfile + '.cpp', "w") as cfile: + h_cert_arrays_declarations = '' + c_cert_arrays_definitions = '' + + c_x509_to_chip_error_cases = '' + x509_to_chip_error_cases_count = 0 + for test_case in DER_CERT_ERROR_TEST_CASES: + for cert_type in [CertType.NOC, CertType.ICAC, CertType.RCAC]: + # The following error cases are applicable only for NOC + if (test_case["error_flag"] == 'subject-node-id-invalid' or test_case["error_flag"] == 'ext-basic-pathlen-presence-wrong') and cert_type != CertType.NOC: + break + + if cert_type == CertType.NOC: + signer_cert = icac_cert + signer_key = icac_key + elif cert_type == CertType.ICAC: + signer_cert = rcac_cert + signer_key = rcac_key + else: + signer_cert = "" + signer_key = "" + + # Generate Cert/Key + builder = OpCertBuilder(cert_type, CertFormat.DER, signer_cert, signer_key, + test_case["error_flag"], test_case["test_name"], args.testdir, chipcert) + builder.make_certs_and_keys() + + c_x509_to_chip_error_cases += builder.add_cert_to_error_cases() + + [h, c] = builder.full_arrays() + h_cert_arrays_declarations += h + c_cert_arrays_definitions += c + x509_to_chip_error_cases_count += 1 + + c_chip_to_x509_error_cases = '' + c_chip_cert_load_error_cases = '' + c_validate_chip_rcac_error_cases = '' + c_get_cert_type_error_cases = '' + chip_to_x509_error_cases_count = 0 + chip_cert_load_error_cases_count = 0 + validate_chip_rcac_error_cases_count = 0 + get_cert_type_error_cases_count = 0 + for test_case in CHIP_TLV_CERT_ERROR_TEST_CASES: + for cert_type in [CertType.NOC, CertType.ICAC, CertType.RCAC]: + if not (test_case["is_chip_to_x509_expected_to_fail"] or + test_case["is_chip_cert_load_expected_to_fail"] or + test_case["is_validate_chip_rcac_expected_to_fail"] or + test_case["is_get_cert_type_expected_to_fail"]): + break + + # The following error cases are applicable only for NOC + if (test_case["error_flag"] == 'subject-node-id-invalid' or test_case["error_flag"] == 'subject-fabric-id-missing') and cert_type != CertType.NOC: + break + + if cert_type == CertType.NOC: + signer_cert = icac_cert + signer_key = icac_key + elif cert_type == CertType.ICAC: + signer_cert = rcac_cert + signer_key = rcac_key + else: + signer_cert = "" + signer_key = "" + + # Generate Cert/Key + builder = OpCertBuilder(cert_type, CertFormat.CHIP, signer_cert, signer_key, + test_case["error_flag"], test_case["test_name"], args.testdir, chipcert) + builder.make_certs_and_keys() + + if test_case["is_chip_to_x509_expected_to_fail"]: + c_chip_to_x509_error_cases += builder.add_cert_to_error_cases() + chip_to_x509_error_cases_count += 1 + if test_case["is_chip_cert_load_expected_to_fail"]: + c_chip_cert_load_error_cases += builder.add_cert_to_error_cases() + chip_cert_load_error_cases_count += 1 + if test_case["is_validate_chip_rcac_expected_to_fail"]: + c_validate_chip_rcac_error_cases += builder.add_cert_to_error_cases() + validate_chip_rcac_error_cases_count += 1 + if test_case["is_get_cert_type_expected_to_fail"] and not (test_case["error_flag"] == 'subject-cat-twice' and cert_type == CertType.NOC): + c_get_cert_type_error_cases += builder.add_cert_to_error_cases() + get_cert_type_error_cases_count += 1 + + [h, c] = builder.full_arrays() + h_cert_arrays_declarations += h + c_cert_arrays_definitions += c + + [h_top, c_top] = headers(args.outfile) + [h_x509_to_chip_error_cases, c_x509_to_chip_error_cases_head] = start_test_cases_array( + 'gTestCert_X509ToChip_ErrorCases', x509_to_chip_error_cases_count) + [h_chip_to_x509_error_cases, c_chip_to_x509_error_cases_head] = start_test_cases_array( + 'gTestCert_ChipToX509_ErrorCases', chip_to_x509_error_cases_count) + [h_chip_cert_load_error_cases, c_chip_cert_load_error_cases_head] = start_test_cases_array( + 'gTestCert_ChipCertLoad_ErrorCases', chip_cert_load_error_cases_count) + [h_validate_chip_rcac_error_cases, c_validate_chip_rcac_error_cases_head] = start_test_cases_array( + 'gTestCert_ValidateChipRCAC_ErrorCases', validate_chip_rcac_error_cases_count) + [h_get_cert_type_error_cases, c_get_cert_type_error_cases_head] = start_test_cases_array( + 'gTestCert_GetCertType_ErrorCases', get_cert_type_error_cases_count) + foot = footer() + + hfile.write(h_top) + hfile.write(h_x509_to_chip_error_cases) + hfile.write(h_chip_to_x509_error_cases) + hfile.write(h_chip_cert_load_error_cases) + hfile.write(h_validate_chip_rcac_error_cases) + hfile.write(h_get_cert_type_error_cases) + hfile.write(h_cert_arrays_declarations) + hfile.write(foot) + + cfile.write(c_top) + cfile.write(c_x509_to_chip_error_cases_head + c_x509_to_chip_error_cases + '};\n\n') + cfile.write(c_chip_to_x509_error_cases_head + c_chip_to_x509_error_cases + '};\n\n') + cfile.write(c_chip_cert_load_error_cases_head + c_chip_cert_load_error_cases + '};\n\n') + cfile.write(c_validate_chip_rcac_error_cases_head + c_validate_chip_rcac_error_cases + '};\n\n') + cfile.write(c_get_cert_type_error_cases_head + c_get_cert_type_error_cases + '};\n\n') + cfile.write(c_cert_arrays_definitions) + cfile.write(foot) + + +if __name__ == '__main__': + sys.exit(main())