summary refs log tree commit diff
path: root/crypto/src/pkcs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-11-08 10:47:15 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-11-08 10:47:15 +0700
commit8e12622ec67e260356702a5f697eeb0e59180236 (patch)
tree2c8eec5bdf5304910c38e212184e9582045caed5 /crypto/src/pkcs
parentAdd Pqc prefix to Pqc factory classes (diff)
downloadBouncyCastle.NET-ed25519-8e12622ec67e260356702a5f697eeb0e59180236.tar.xz
Make factory classes static
Diffstat (limited to 'crypto/src/pkcs')
-rw-r--r--crypto/src/pkcs/PrivateKeyInfoFactory.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/crypto/src/pkcs/PrivateKeyInfoFactory.cs b/crypto/src/pkcs/PrivateKeyInfoFactory.cs
index 7f52a1d1b..d6e8ec77c 100644
--- a/crypto/src/pkcs/PrivateKeyInfoFactory.cs
+++ b/crypto/src/pkcs/PrivateKeyInfoFactory.cs
@@ -21,12 +21,8 @@ using Org.BouncyCastle.Utilities;
 
 namespace Org.BouncyCastle.Pkcs
 {
-    public sealed class PrivateKeyInfoFactory
+    public static class PrivateKeyInfoFactory
     {
-        private PrivateKeyInfoFactory()
-        {
-        }
-
         public static PrivateKeyInfo CreatePrivateKeyInfo(
             AsymmetricKeyParameter privateKey)
         {