Skip to content

Commit 9f85b64

Browse files
committed
tests: misc changes
1 parent ecab1e9 commit 9f85b64

File tree

3 files changed

+87
-88
lines changed

3 files changed

+87
-88
lines changed

Yubico.YubiKey/tests/integration/Yubico/YubiKey/Piv/ImportTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ public void ImportPrivateKey_with_PrivateKeyParameters_Succeeds_and_HasExpectedV
109109
Assert.Equal(rsaParameters.Modulus, publicRSAParameters.Parameters.Modulus);
110110
Assert.Equal(rsaParameters.Exponent, publicRSAParameters.Parameters.Exponent);
111111
}
112-
113112
}
114113

115114
[SkippableTheory(typeof(NotSupportedException), typeof(DeviceNotFoundException))]

Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/ImportKeyCommandTests.cs

Lines changed: 78 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -558,95 +558,95 @@ private static ImportAsymmetricKeyCommand GetCommandObject(
558558
{
559559
KeyType.RSA1024 =>
560560
PivPrivateKey.Create(new byte[] {
561-
0x01, 0x40,
562-
0xdf, 0x2c, 0x15, 0xe7, 0x9f, 0xf7, 0xf0, 0xe4, 0x36, 0xfd, 0x93, 0x1f, 0xd7, 0x36, 0x20, 0x2e,
563-
0x70, 0xd2, 0x51, 0xe4, 0x4a, 0x5d, 0xf8, 0xbb, 0xfd, 0x2d, 0x66, 0xd1, 0xe5, 0x1d, 0x5e, 0x92,
564-
0x9b, 0xa8, 0xba, 0x9c, 0xfd, 0x53, 0x72, 0x93, 0xee, 0x98, 0x33, 0xc6, 0xe5, 0x23, 0xcb, 0x79,
565-
0x74, 0xad, 0x8f, 0x31, 0xb4, 0xa2, 0x6b, 0x46, 0xef, 0x8e, 0xad, 0x53, 0x6b, 0xb0, 0x5e, 0xc3,
566-
0x02, 0x40,
567-
0xd7, 0x96, 0x0f, 0x54, 0xfd, 0xc9, 0xa8, 0x6f, 0xcb, 0xc2, 0xea, 0x13, 0x58, 0xf6, 0x47, 0x87,
568-
0x59, 0x84, 0xba, 0x1c, 0x68, 0x9d, 0xbf, 0x29, 0xbd, 0x20, 0x7d, 0x84, 0xcf, 0x12, 0xcf, 0xe7,
569-
0xb5, 0x6f, 0x05, 0x37, 0xa3, 0x3a, 0x7c, 0x0a, 0x6f, 0x7c, 0x1b, 0xa0, 0x06, 0x23, 0x4b, 0x15,
570-
0x09, 0xbb, 0x46, 0x5d, 0xba, 0x28, 0x3d, 0x36, 0x58, 0x66, 0x34, 0x7d, 0x7f, 0x88, 0x1a, 0xa9,
571-
0x03, 0x40,
572-
0x1e, 0xfb, 0x35, 0xc7, 0x43, 0xf3, 0xdd, 0xa3, 0x30, 0xe7, 0x1e, 0xe7, 0x8a, 0xae, 0xde, 0xe4,
573-
0xd3, 0x90, 0xbf, 0x01, 0x9c, 0x39, 0x53, 0x70, 0x75, 0x83, 0x3a, 0x04, 0xe5, 0x73, 0xa0, 0x4f,
574-
0x66, 0x00, 0x94, 0x77, 0x7a, 0xcb, 0x7c, 0xda, 0x80, 0x82, 0xec, 0x9d, 0x2d, 0xee, 0x3c, 0x2f,
575-
0x0e, 0x3d, 0x91, 0xe5, 0x6a, 0x98, 0x29, 0xa0, 0x5d, 0x5d, 0x47, 0x3e, 0x8f, 0x72, 0x9a, 0x95,
576-
0x04, 0x40,
577-
0x8a, 0x40, 0xa5, 0x5c, 0x6f, 0xd4, 0x5e, 0xbc, 0x33, 0x03, 0xb0, 0x70, 0xef, 0xe0, 0x20, 0x46,
578-
0xe0, 0x55, 0x89, 0xb4, 0xa6, 0x32, 0x63, 0x61, 0x34, 0xf4, 0x1d, 0x0a, 0x8a, 0x71, 0x19, 0xfb,
579-
0x12, 0x13, 0x3c, 0x59, 0x4d, 0xc8, 0x37, 0xbb, 0xc9, 0x7a, 0xe1, 0x8c, 0x61, 0xe3, 0x48, 0x47,
580-
0x19, 0x92, 0x8b, 0xb1, 0x97, 0xac, 0x2e, 0x75, 0x27, 0x83, 0x83, 0xad, 0xe7, 0x97, 0x34, 0xe1,
581-
0x05, 0x40,
582-
0x19, 0x51, 0x79, 0x1e, 0x4e, 0x1f, 0xb1, 0xe9, 0xc1, 0x59, 0x9c, 0x69, 0xc8, 0xda, 0x2d, 0x8d,
583-
0xb7, 0x04, 0xa0, 0x7d, 0xd1, 0x45, 0x9f, 0xc8, 0xae, 0x97, 0xf7, 0x77, 0xe2, 0x53, 0x98, 0x48,
584-
0xd5, 0x75, 0xfb, 0xff, 0xfa, 0x17, 0xb0, 0xc7, 0x4a, 0x46, 0xb0, 0xa7, 0xa6, 0x0e, 0x5e, 0x2c,
585-
0xfd, 0xda, 0x5b, 0xbb, 0xc1, 0x0a, 0x77, 0x73, 0x0a, 0xaa, 0x1e, 0xc5, 0x66, 0x42, 0x96, 0xcf
586-
}),
561+
0x01, 0x40,
562+
0xdf, 0x2c, 0x15, 0xe7, 0x9f, 0xf7, 0xf0, 0xe4, 0x36, 0xfd, 0x93, 0x1f, 0xd7, 0x36, 0x20, 0x2e,
563+
0x70, 0xd2, 0x51, 0xe4, 0x4a, 0x5d, 0xf8, 0xbb, 0xfd, 0x2d, 0x66, 0xd1, 0xe5, 0x1d, 0x5e, 0x92,
564+
0x9b, 0xa8, 0xba, 0x9c, 0xfd, 0x53, 0x72, 0x93, 0xee, 0x98, 0x33, 0xc6, 0xe5, 0x23, 0xcb, 0x79,
565+
0x74, 0xad, 0x8f, 0x31, 0xb4, 0xa2, 0x6b, 0x46, 0xef, 0x8e, 0xad, 0x53, 0x6b, 0xb0, 0x5e, 0xc3,
566+
0x02, 0x40,
567+
0xd7, 0x96, 0x0f, 0x54, 0xfd, 0xc9, 0xa8, 0x6f, 0xcb, 0xc2, 0xea, 0x13, 0x58, 0xf6, 0x47, 0x87,
568+
0x59, 0x84, 0xba, 0x1c, 0x68, 0x9d, 0xbf, 0x29, 0xbd, 0x20, 0x7d, 0x84, 0xcf, 0x12, 0xcf, 0xe7,
569+
0xb5, 0x6f, 0x05, 0x37, 0xa3, 0x3a, 0x7c, 0x0a, 0x6f, 0x7c, 0x1b, 0xa0, 0x06, 0x23, 0x4b, 0x15,
570+
0x09, 0xbb, 0x46, 0x5d, 0xba, 0x28, 0x3d, 0x36, 0x58, 0x66, 0x34, 0x7d, 0x7f, 0x88, 0x1a, 0xa9,
571+
0x03, 0x40,
572+
0x1e, 0xfb, 0x35, 0xc7, 0x43, 0xf3, 0xdd, 0xa3, 0x30, 0xe7, 0x1e, 0xe7, 0x8a, 0xae, 0xde, 0xe4,
573+
0xd3, 0x90, 0xbf, 0x01, 0x9c, 0x39, 0x53, 0x70, 0x75, 0x83, 0x3a, 0x04, 0xe5, 0x73, 0xa0, 0x4f,
574+
0x66, 0x00, 0x94, 0x77, 0x7a, 0xcb, 0x7c, 0xda, 0x80, 0x82, 0xec, 0x9d, 0x2d, 0xee, 0x3c, 0x2f,
575+
0x0e, 0x3d, 0x91, 0xe5, 0x6a, 0x98, 0x29, 0xa0, 0x5d, 0x5d, 0x47, 0x3e, 0x8f, 0x72, 0x9a, 0x95,
576+
0x04, 0x40,
577+
0x8a, 0x40, 0xa5, 0x5c, 0x6f, 0xd4, 0x5e, 0xbc, 0x33, 0x03, 0xb0, 0x70, 0xef, 0xe0, 0x20, 0x46,
578+
0xe0, 0x55, 0x89, 0xb4, 0xa6, 0x32, 0x63, 0x61, 0x34, 0xf4, 0x1d, 0x0a, 0x8a, 0x71, 0x19, 0xfb,
579+
0x12, 0x13, 0x3c, 0x59, 0x4d, 0xc8, 0x37, 0xbb, 0xc9, 0x7a, 0xe1, 0x8c, 0x61, 0xe3, 0x48, 0x47,
580+
0x19, 0x92, 0x8b, 0xb1, 0x97, 0xac, 0x2e, 0x75, 0x27, 0x83, 0x83, 0xad, 0xe7, 0x97, 0x34, 0xe1,
581+
0x05, 0x40,
582+
0x19, 0x51, 0x79, 0x1e, 0x4e, 0x1f, 0xb1, 0xe9, 0xc1, 0x59, 0x9c, 0x69, 0xc8, 0xda, 0x2d, 0x8d,
583+
0xb7, 0x04, 0xa0, 0x7d, 0xd1, 0x45, 0x9f, 0xc8, 0xae, 0x97, 0xf7, 0x77, 0xe2, 0x53, 0x98, 0x48,
584+
0xd5, 0x75, 0xfb, 0xff, 0xfa, 0x17, 0xb0, 0xc7, 0x4a, 0x46, 0xb0, 0xa7, 0xa6, 0x0e, 0x5e, 0x2c,
585+
0xfd, 0xda, 0x5b, 0xbb, 0xc1, 0x0a, 0x77, 0x73, 0x0a, 0xaa, 0x1e, 0xc5, 0x66, 0x42, 0x96, 0xcf
586+
}),
587587

588588
KeyType.RSA2048 =>
589589
PivPrivateKey.Create(new byte[] {
590-
0x02, 0x81, 0x80,
591-
0xd0, 0xc0, 0x5a, 0xba, 0xec, 0x01, 0x46, 0x1b, 0x48, 0x98, 0xd2, 0x53, 0x97, 0x68, 0x47, 0xca,
592-
0xb1, 0x8e, 0xbe, 0xf2, 0x92, 0x6b, 0x62, 0x0f, 0xa7, 0x1b, 0x8c, 0x50, 0x38, 0x23, 0x2d, 0x1a,
593-
0x0a, 0xa4, 0x28, 0x14, 0xb5, 0xbe, 0x03, 0xe8, 0xf7, 0x88, 0x99, 0x7b, 0xa2, 0x20, 0xdc, 0xaa,
594-
0x09, 0x73, 0x7c, 0x30, 0xe1, 0x33, 0xb3, 0xf7, 0x2b, 0x7b, 0x5a, 0x7a, 0x1d, 0x54, 0xd4, 0xcf,
595-
0x99, 0xf5, 0x7f, 0x32, 0x46, 0x40, 0xf4, 0x8a, 0x5e, 0x71, 0x83, 0x72, 0x03, 0xee, 0xc4, 0xb3,
596-
0x5c, 0x3d, 0xb8, 0xee, 0xc1, 0x1c, 0xed, 0x05, 0x82, 0x2d, 0x04, 0x0d, 0x59, 0x73, 0x79, 0x2a,
597-
0x3b, 0x0e, 0x7d, 0xec, 0xc2, 0x3b, 0xbb, 0xa5, 0xa7, 0xa9, 0x13, 0x8b, 0xe3, 0x5e, 0xd7, 0x98,
598-
0x56, 0xcc, 0x53, 0x61, 0x6a, 0x57, 0x82, 0xb5, 0x1a, 0x5f, 0xcf, 0xf0, 0x1c, 0x25, 0x47, 0xaf,
599-
0x05, 0x81, 0x80,
600-
0x58, 0xb3, 0x00, 0xb0, 0x52, 0x4a, 0xf5, 0xba, 0x87, 0x4c, 0x88, 0xfe, 0xde, 0x01, 0x6b, 0xfe,
601-
0x0f, 0x07, 0x62, 0x9b, 0x93, 0x9c, 0xde, 0x34, 0xc6, 0x93, 0x5a, 0x8f, 0x3c, 0x7a, 0x1a, 0x15,
602-
0x4a, 0xed, 0x2d, 0x45, 0x18, 0xd7, 0x02, 0xdb, 0x95, 0x36, 0xea, 0x98, 0x09, 0x6d, 0x94, 0x34,
603-
0x4c, 0x58, 0xd2, 0x41, 0x8a, 0x87, 0x13, 0x50, 0xd5, 0x76, 0xf1, 0xae, 0x3a, 0x85, 0x26, 0x11,
604-
0x92, 0x14, 0x95, 0xa9, 0x85, 0x3b, 0x9e, 0xf0, 0xbc, 0x02, 0xd7, 0x76, 0xb8, 0x5a, 0x4d, 0xa9,
605-
0x4b, 0xd3, 0x0c, 0xa8, 0xb7, 0x96, 0xa4, 0x87, 0xe4, 0x6c, 0xeb, 0x85, 0xc8, 0x2c, 0xba, 0x76,
606-
0x9a, 0x89, 0x53, 0x35, 0xcd, 0xb8, 0x77, 0xa3, 0x99, 0xdc, 0xab, 0x42, 0x75, 0xf9, 0xc5, 0x0a,
607-
0xe6, 0x9d, 0xb4, 0x32, 0x63, 0x80, 0xe9, 0xce, 0xb2, 0x4b, 0x22, 0xe1, 0x13, 0xf7, 0x80, 0xb1,
608-
0x03, 0x81, 0x80,
609-
0x64, 0xf0, 0xf2, 0x94, 0x94, 0x41, 0x56, 0x13, 0x95, 0x93, 0xad, 0xd5, 0xce, 0x10, 0x26, 0x49,
610-
0xda, 0xc7, 0x00, 0xcc, 0xb0, 0xea, 0x05, 0xe7, 0xd1, 0xb0, 0x0c, 0xf9, 0xe9, 0x19, 0x36, 0xf1,
611-
0xe4, 0x23, 0x21, 0x6a, 0x64, 0x24, 0x3d, 0x32, 0xf6, 0x60, 0x16, 0x08, 0xa8, 0xd4, 0x87, 0x0f,
612-
0xfe, 0x0a, 0x96, 0x7f, 0x20, 0xb5, 0xde, 0x37, 0x6e, 0xa3, 0x0f, 0xa9, 0x6a, 0xd9, 0x87, 0x99,
613-
0x22, 0x85, 0xeb, 0x5a, 0x7f, 0xeb, 0xb0, 0xe8, 0x54, 0xe7, 0xfc, 0xd5, 0x95, 0x87, 0x0d, 0x4d,
614-
0x5a, 0xbf, 0x19, 0x45, 0xef, 0xb7, 0xb5, 0xf4, 0xa0, 0x33, 0x28, 0x01, 0xa8, 0x9e, 0x3c, 0x86,
615-
0x15, 0xb0, 0xad, 0x22, 0x83, 0x36, 0xb1, 0xa7, 0x86, 0xbd, 0xca, 0xe0, 0x40, 0x78, 0x5d, 0xf2,
616-
0xea, 0x9d, 0x26, 0xf1, 0x30, 0xf0, 0x94, 0x96, 0x5c, 0x25, 0xb6, 0xa3, 0x89, 0x77, 0x6d, 0x89,
617-
0x01, 0x81, 0x80,
618-
0x00, 0xee, 0xea, 0xd9, 0xdb, 0x94, 0x8c, 0x25, 0xa8, 0x08, 0xde, 0x71, 0x45, 0x8d, 0xa6, 0x8f,
619-
0xd2, 0xe4, 0x3e, 0x59, 0x1b, 0x13, 0xdb, 0x56, 0xf8, 0xae, 0xd9, 0xc1, 0xde, 0x9b, 0x13, 0xa5,
620-
0xae, 0x63, 0xea, 0xb6, 0x6d, 0xc2, 0x51, 0xcc, 0x6b, 0xc3, 0x1e, 0x56, 0xa3, 0x3f, 0x55, 0x6f,
621-
0xe7, 0x57, 0xd4, 0x2e, 0x5a, 0xc3, 0xf5, 0x99, 0x1b, 0xeb, 0x92, 0x67, 0xf1, 0x60, 0xd6, 0x5f,
622-
0x16, 0x5d, 0xb8, 0xfe, 0x38, 0x30, 0x0f, 0x64, 0x6a, 0x86, 0x86, 0x93, 0x68, 0x35, 0xbd, 0xb2,
623-
0xd7, 0x24, 0xf5, 0x69, 0xfd, 0xc5, 0x90, 0x9b, 0x4a, 0x95, 0xd4, 0xd3, 0x3f, 0xf5, 0x0d, 0x63,
624-
0x8c, 0xbf, 0x39, 0x35, 0xb7, 0xe8, 0x0b, 0xf4, 0x09, 0xcd, 0xcf, 0x11, 0xab, 0x2c, 0xdf, 0xd6,
625-
0xaf, 0x2b, 0xde, 0xea, 0x52, 0x86, 0x51, 0x35, 0x62, 0x1c, 0x7e, 0xd6, 0x73, 0xeb, 0xf2, 0x32,
626-
0x04, 0x81, 0x80,
627-
0xb7, 0xea, 0x81, 0x05, 0x66, 0xa0, 0xc8, 0xaf, 0x89, 0x0a, 0x7b, 0x64, 0x02, 0x65, 0x71, 0xba,
628-
0xf7, 0x2c, 0x98, 0xb7, 0x06, 0xa1, 0x6d, 0x47, 0xf5, 0x26, 0xa4, 0x3c, 0x98, 0xf9, 0x04, 0xe7,
629-
0x88, 0xb0, 0x90, 0x4f, 0x8e, 0xbf, 0xd6, 0x9a, 0x0e, 0x5c, 0x5f, 0x3d, 0x39, 0xde, 0x52, 0x0b,
630-
0xcd, 0x3f, 0xde, 0x0f, 0x02, 0x9a, 0x96, 0xd8, 0x11, 0x8b, 0x20, 0x6f, 0xae, 0x1f, 0xeb, 0x4e,
631-
0xec, 0x8a, 0x0a, 0x82, 0xb4, 0xba, 0xcd, 0xb8, 0x8a, 0xf4, 0xdf, 0xa6, 0x38, 0x28, 0xc9, 0x4c,
632-
0x6c, 0xdc, 0x44, 0x6e, 0xb5, 0xdd, 0x52, 0x46, 0x24, 0x26, 0x9d, 0x07, 0x55, 0xe4, 0x12, 0xc0,
633-
0x4e, 0x3f, 0xba, 0x5a, 0x39, 0xd6, 0x7e, 0xc0, 0xb8, 0x32, 0x92, 0x72, 0x10, 0xe4, 0xa2, 0x76,
634-
0x29, 0x22, 0xe3, 0xe3, 0x53, 0xd9, 0xbd, 0xe2, 0xe9, 0x55, 0xb8, 0xd2, 0x07, 0x3a, 0x21, 0x29
590+
0x02, 0x81, 0x80,
591+
0xd0, 0xc0, 0x5a, 0xba, 0xec, 0x01, 0x46, 0x1b, 0x48, 0x98, 0xd2, 0x53, 0x97, 0x68, 0x47, 0xca,
592+
0xb1, 0x8e, 0xbe, 0xf2, 0x92, 0x6b, 0x62, 0x0f, 0xa7, 0x1b, 0x8c, 0x50, 0x38, 0x23, 0x2d, 0x1a,
593+
0x0a, 0xa4, 0x28, 0x14, 0xb5, 0xbe, 0x03, 0xe8, 0xf7, 0x88, 0x99, 0x7b, 0xa2, 0x20, 0xdc, 0xaa,
594+
0x09, 0x73, 0x7c, 0x30, 0xe1, 0x33, 0xb3, 0xf7, 0x2b, 0x7b, 0x5a, 0x7a, 0x1d, 0x54, 0xd4, 0xcf,
595+
0x99, 0xf5, 0x7f, 0x32, 0x46, 0x40, 0xf4, 0x8a, 0x5e, 0x71, 0x83, 0x72, 0x03, 0xee, 0xc4, 0xb3,
596+
0x5c, 0x3d, 0xb8, 0xee, 0xc1, 0x1c, 0xed, 0x05, 0x82, 0x2d, 0x04, 0x0d, 0x59, 0x73, 0x79, 0x2a,
597+
0x3b, 0x0e, 0x7d, 0xec, 0xc2, 0x3b, 0xbb, 0xa5, 0xa7, 0xa9, 0x13, 0x8b, 0xe3, 0x5e, 0xd7, 0x98,
598+
0x56, 0xcc, 0x53, 0x61, 0x6a, 0x57, 0x82, 0xb5, 0x1a, 0x5f, 0xcf, 0xf0, 0x1c, 0x25, 0x47, 0xaf,
599+
0x05, 0x81, 0x80,
600+
0x58, 0xb3, 0x00, 0xb0, 0x52, 0x4a, 0xf5, 0xba, 0x87, 0x4c, 0x88, 0xfe, 0xde, 0x01, 0x6b, 0xfe,
601+
0x0f, 0x07, 0x62, 0x9b, 0x93, 0x9c, 0xde, 0x34, 0xc6, 0x93, 0x5a, 0x8f, 0x3c, 0x7a, 0x1a, 0x15,
602+
0x4a, 0xed, 0x2d, 0x45, 0x18, 0xd7, 0x02, 0xdb, 0x95, 0x36, 0xea, 0x98, 0x09, 0x6d, 0x94, 0x34,
603+
0x4c, 0x58, 0xd2, 0x41, 0x8a, 0x87, 0x13, 0x50, 0xd5, 0x76, 0xf1, 0xae, 0x3a, 0x85, 0x26, 0x11,
604+
0x92, 0x14, 0x95, 0xa9, 0x85, 0x3b, 0x9e, 0xf0, 0xbc, 0x02, 0xd7, 0x76, 0xb8, 0x5a, 0x4d, 0xa9,
605+
0x4b, 0xd3, 0x0c, 0xa8, 0xb7, 0x96, 0xa4, 0x87, 0xe4, 0x6c, 0xeb, 0x85, 0xc8, 0x2c, 0xba, 0x76,
606+
0x9a, 0x89, 0x53, 0x35, 0xcd, 0xb8, 0x77, 0xa3, 0x99, 0xdc, 0xab, 0x42, 0x75, 0xf9, 0xc5, 0x0a,
607+
0xe6, 0x9d, 0xb4, 0x32, 0x63, 0x80, 0xe9, 0xce, 0xb2, 0x4b, 0x22, 0xe1, 0x13, 0xf7, 0x80, 0xb1,
608+
0x03, 0x81, 0x80,
609+
0x64, 0xf0, 0xf2, 0x94, 0x94, 0x41, 0x56, 0x13, 0x95, 0x93, 0xad, 0xd5, 0xce, 0x10, 0x26, 0x49,
610+
0xda, 0xc7, 0x00, 0xcc, 0xb0, 0xea, 0x05, 0xe7, 0xd1, 0xb0, 0x0c, 0xf9, 0xe9, 0x19, 0x36, 0xf1,
611+
0xe4, 0x23, 0x21, 0x6a, 0x64, 0x24, 0x3d, 0x32, 0xf6, 0x60, 0x16, 0x08, 0xa8, 0xd4, 0x87, 0x0f,
612+
0xfe, 0x0a, 0x96, 0x7f, 0x20, 0xb5, 0xde, 0x37, 0x6e, 0xa3, 0x0f, 0xa9, 0x6a, 0xd9, 0x87, 0x99,
613+
0x22, 0x85, 0xeb, 0x5a, 0x7f, 0xeb, 0xb0, 0xe8, 0x54, 0xe7, 0xfc, 0xd5, 0x95, 0x87, 0x0d, 0x4d,
614+
0x5a, 0xbf, 0x19, 0x45, 0xef, 0xb7, 0xb5, 0xf4, 0xa0, 0x33, 0x28, 0x01, 0xa8, 0x9e, 0x3c, 0x86,
615+
0x15, 0xb0, 0xad, 0x22, 0x83, 0x36, 0xb1, 0xa7, 0x86, 0xbd, 0xca, 0xe0, 0x40, 0x78, 0x5d, 0xf2,
616+
0xea, 0x9d, 0x26, 0xf1, 0x30, 0xf0, 0x94, 0x96, 0x5c, 0x25, 0xb6, 0xa3, 0x89, 0x77, 0x6d, 0x89,
617+
0x01, 0x81, 0x80,
618+
0x00, 0xee, 0xea, 0xd9, 0xdb, 0x94, 0x8c, 0x25, 0xa8, 0x08, 0xde, 0x71, 0x45, 0x8d, 0xa6, 0x8f,
619+
0xd2, 0xe4, 0x3e, 0x59, 0x1b, 0x13, 0xdb, 0x56, 0xf8, 0xae, 0xd9, 0xc1, 0xde, 0x9b, 0x13, 0xa5,
620+
0xae, 0x63, 0xea, 0xb6, 0x6d, 0xc2, 0x51, 0xcc, 0x6b, 0xc3, 0x1e, 0x56, 0xa3, 0x3f, 0x55, 0x6f,
621+
0xe7, 0x57, 0xd4, 0x2e, 0x5a, 0xc3, 0xf5, 0x99, 0x1b, 0xeb, 0x92, 0x67, 0xf1, 0x60, 0xd6, 0x5f,
622+
0x16, 0x5d, 0xb8, 0xfe, 0x38, 0x30, 0x0f, 0x64, 0x6a, 0x86, 0x86, 0x93, 0x68, 0x35, 0xbd, 0xb2,
623+
0xd7, 0x24, 0xf5, 0x69, 0xfd, 0xc5, 0x90, 0x9b, 0x4a, 0x95, 0xd4, 0xd3, 0x3f, 0xf5, 0x0d, 0x63,
624+
0x8c, 0xbf, 0x39, 0x35, 0xb7, 0xe8, 0x0b, 0xf4, 0x09, 0xcd, 0xcf, 0x11, 0xab, 0x2c, 0xdf, 0xd6,
625+
0xaf, 0x2b, 0xde, 0xea, 0x52, 0x86, 0x51, 0x35, 0x62, 0x1c, 0x7e, 0xd6, 0x73, 0xeb, 0xf2, 0x32,
626+
0x04, 0x81, 0x80,
627+
0xb7, 0xea, 0x81, 0x05, 0x66, 0xa0, 0xc8, 0xaf, 0x89, 0x0a, 0x7b, 0x64, 0x02, 0x65, 0x71, 0xba,
628+
0xf7, 0x2c, 0x98, 0xb7, 0x06, 0xa1, 0x6d, 0x47, 0xf5, 0x26, 0xa4, 0x3c, 0x98, 0xf9, 0x04, 0xe7,
629+
0x88, 0xb0, 0x90, 0x4f, 0x8e, 0xbf, 0xd6, 0x9a, 0x0e, 0x5c, 0x5f, 0x3d, 0x39, 0xde, 0x52, 0x0b,
630+
0xcd, 0x3f, 0xde, 0x0f, 0x02, 0x9a, 0x96, 0xd8, 0x11, 0x8b, 0x20, 0x6f, 0xae, 0x1f, 0xeb, 0x4e,
631+
0xec, 0x8a, 0x0a, 0x82, 0xb4, 0xba, 0xcd, 0xb8, 0x8a, 0xf4, 0xdf, 0xa6, 0x38, 0x28, 0xc9, 0x4c,
632+
0x6c, 0xdc, 0x44, 0x6e, 0xb5, 0xdd, 0x52, 0x46, 0x24, 0x26, 0x9d, 0x07, 0x55, 0xe4, 0x12, 0xc0,
633+
0x4e, 0x3f, 0xba, 0x5a, 0x39, 0xd6, 0x7e, 0xc0, 0xb8, 0x32, 0x92, 0x72, 0x10, 0xe4, 0xa2, 0x76,
634+
0x29, 0x22, 0xe3, 0xe3, 0x53, 0xd9, 0xbd, 0xe2, 0xe9, 0x55, 0xb8, 0xd2, 0x07, 0x3a, 0x21, 0x29
635635
}),
636636

637637
KeyType.P256 =>
638638
PivPrivateKey.Create(new byte[] {
639-
0x06, 0x20,
640-
0xba, 0x29, 0x7a, 0xc6, 0x64, 0x62, 0xef, 0x6c, 0xd0, 0x89, 0x76, 0x5c, 0xbd, 0x46, 0x52, 0x2b,
641-
0xb0, 0x48, 0x0e, 0x85, 0x49, 0x15, 0x85, 0xe7, 0x7a, 0x74, 0x3c, 0x8e, 0x03, 0x59, 0x8d, 0x3a
639+
0x06, 0x20,
640+
0xba, 0x29, 0x7a, 0xc6, 0x64, 0x62, 0xef, 0x6c, 0xd0, 0x89, 0x76, 0x5c, 0xbd, 0x46, 0x52, 0x2b,
641+
0xb0, 0x48, 0x0e, 0x85, 0x49, 0x15, 0x85, 0xe7, 0x7a, 0x74, 0x3c, 0x8e, 0x03, 0x59, 0x8d, 0x3a
642642
}),
643643

644644
_ =>
645645
PivPrivateKey.Create(new byte[] {
646-
0x06, 0x30,
647-
0x47, 0x85, 0xde, 0x3a, 0xff, 0x10, 0x0d, 0x67, 0xa7, 0x26, 0x30, 0x62, 0x73, 0x45, 0xfd, 0xce,
648-
0xeb, 0xb9, 0xbe, 0x4c, 0x93, 0x42, 0xcd, 0x6a, 0x84, 0xd6, 0x8e, 0x00, 0x70, 0x70, 0x4c, 0x66,
649-
0x63, 0x53, 0xa0, 0x2c, 0xb9, 0xa7, 0x61, 0xcf, 0x56, 0xf0, 0x45, 0x07, 0xa6, 0xfb, 0x9f, 0x5a
646+
0x06, 0x30,
647+
0x47, 0x85, 0xde, 0x3a, 0xff, 0x10, 0x0d, 0x67, 0xa7, 0x26, 0x30, 0x62, 0x73, 0x45, 0xfd, 0xce,
648+
0xeb, 0xb9, 0xbe, 0x4c, 0x93, 0x42, 0xcd, 0x6a, 0x84, 0xd6, 0x8e, 0x00, 0x70, 0x70, 0x4c, 0x66,
649+
0x63, 0x53, 0xa0, 0x2c, 0xb9, 0xa7, 0x61, 0xcf, 0x56, 0xf0, 0x45, 0x07, 0xa6, 0xfb, 0x9f, 0x5a
650650
}),
651651
};
652652
}

0 commit comments

Comments
 (0)