summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crypto/src/crypto/parameters/ECKeyParameters.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/src/crypto/parameters/ECKeyParameters.cs b/crypto/src/crypto/parameters/ECKeyParameters.cs
index ed8537f3d..b015433ab 100644
--- a/crypto/src/crypto/parameters/ECKeyParameters.cs
+++ b/crypto/src/crypto/parameters/ECKeyParameters.cs
@@ -40,6 +40,7 @@ namespace Org.BouncyCastle.Crypto.Parameters
 
             this.algorithm = VerifyAlgorithmName(algorithm);
             this.parameters = parameters;
+            this.publicKeyParamSet = (parameters as ECNamedDomainParameters)?.Name;
         }
 
         protected ECKeyParameters(