File tree Expand file tree Collapse file tree 2 files changed +2
-16
lines changed
integration/Yubico/YubiKey/Piv
utilities/Yubico/YubiKey/TestUtilities Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -79,21 +79,6 @@ public void AttestGenerated(
79
79
}
80
80
}
81
81
82
- [ Theory ]
83
- [ InlineData ( KeyType . RSA2048 , StandardTestDevice . Fw5 ) ]
84
- [ InlineData ( KeyType . RSA3072 , StandardTestDevice . Fw5 ) ]
85
- [ InlineData ( KeyType . RSA4096 , StandardTestDevice . Fw5 ) ]
86
- [ InlineData ( KeyType . ECP256 , StandardTestDevice . Fw5 ) ]
87
- [ InlineData ( KeyType . ECP384 , StandardTestDevice . Fw5 ) ]
88
- public void LoadInvalidCert_Attest_ThrowsException (
89
- KeyType keyType ,
90
- StandardTestDevice deviceType )
91
- {
92
- TestDeviceType = deviceType ;
93
-
94
- _ = Assert . Throws < ArgumentException > ( ( ) => LoadAttestationPair ( keyType , false ) ) ;
95
- }
96
-
97
82
[ Theory ]
98
83
[ InlineData ( StandardTestDevice . Fw5 ) ]
99
84
public void GetAttestationCert_ReturnsCert (
@@ -140,7 +125,7 @@ public void UseBadAttestPair_CreateStatement_ThrowsInvalidOp(
140
125
// Call this to attempt creating an attestation statement. It should
141
126
// fail. So if the operation throws an exception, it fails, so return
142
127
// true. If the operation does not throw an exception, it did not fail,
143
- // so return false.6
128
+ // so return false.
144
129
private bool AttestationShouldFail (
145
130
int whichPair )
146
131
{
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ private TestCertificate(
46
46
/// Loads a certificate from the TestData directory.
47
47
/// </summary>
48
48
/// <param name="curve">The curve or key type associated with the certificate</param>
49
+ /// <param name="keyType">keyType to load</param>
49
50
/// <param name="isAttestation">True if loading an attestation certificate</param>
50
51
/// <returns>A TestCertificate instance</returns>
51
52
public static TestCertificate Load (
You can’t perform that action at this time.
0 commit comments