diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-11-08 10:47:15 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-11-08 10:47:15 +0700 |
commit | 8e12622ec67e260356702a5f697eeb0e59180236 (patch) | |
tree | 2c8eec5bdf5304910c38e212184e9582045caed5 /crypto/src/pkcs | |
parent | Add Pqc prefix to Pqc factory classes (diff) | |
download | BouncyCastle.NET-ed25519-8e12622ec67e260356702a5f697eeb0e59180236.tar.xz |
Make factory classes static
Diffstat (limited to 'crypto/src/pkcs')
-rw-r--r-- | crypto/src/pkcs/PrivateKeyInfoFactory.cs | 6 |
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) { |