File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Yubico.YubiKey/src/Yubico/YubiKey/Cryptography Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,7 @@ public class ECPrivateKey : PrivateKey
56
56
/// </remarks>
57
57
/// <param name="parameters">The EC parameters.</param>
58
58
/// <exception cref="ArgumentException">Thrown when parameters do not contain D value.</exception>
59
- [ Obsolete ( "Use factory methods instead" , false ) ]
60
- public ECPrivateKey ( ECParameters parameters )
59
+ protected ECPrivateKey ( ECParameters parameters )
61
60
{
62
61
if ( parameters . D == null )
63
62
{
@@ -75,8 +74,7 @@ public ECPrivateKey(ECParameters parameters)
75
74
/// It exports the parameters from the ECDsa object and deep copy the parameters from the ECParameters object.
76
75
/// </remarks>
77
76
/// <param name="ecdsaObject">The ECDsa object.</param>
78
- [ Obsolete ( "Use factory methods instead" ) ]
79
- public ECPrivateKey ( ECDsa ecdsaObject )
77
+ protected ECPrivateKey ( ECDsa ecdsaObject )
80
78
{
81
79
if ( ecdsaObject == null )
82
80
{
You can’t perform that action at this time.
0 commit comments