File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Yubico.YubiKey/tests/integration/Yubico/YubiKey/Piv Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -112,14 +112,13 @@ public void Import_KeyAndMatchingCert(
112
112
[ InlineData ( KeyType . ECP256 , StandardTestDevice . Fw5 ) ]
113
113
[ InlineData ( KeyType . Ed25519 , StandardTestDevice . Fw5 ) ]
114
114
[ Obsolete ( ) ]
115
- public void Import_KeyAndMatchingCer2t (
115
+ public void Import_with_PivEccPrivateKey_Succeeds (
116
116
KeyType keyType ,
117
117
StandardTestDevice testDeviceType )
118
118
{
119
119
using var pivSession = GetSession ( testDeviceType ) ;
120
120
var testPrivateKey = TestKeys . GetTestPrivateKey ( keyType ) ;
121
- var piv = testPrivateKey . AsPivPrivateKey ( ) ;
122
-
121
+ var piv = new PivEccPrivateKey ( testPrivateKey . GetPrivateKey ( ) , keyType . GetPivAlgorithm ( ) ) ;
123
122
pivSession . ImportPrivateKey ( 0x90 , piv ) ;
124
123
}
125
124
You can’t perform that action at this time.
0 commit comments