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/x509 | |
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/x509')
-rw-r--r-- | crypto/src/x509/SubjectPublicKeyInfoFactory.cs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/crypto/src/x509/SubjectPublicKeyInfoFactory.cs b/crypto/src/x509/SubjectPublicKeyInfoFactory.cs index b80e298ce..fc0492fe4 100644 --- a/crypto/src/x509/SubjectPublicKeyInfoFactory.cs +++ b/crypto/src/x509/SubjectPublicKeyInfoFactory.cs @@ -1,6 +1,5 @@ using System; -using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.Asn1; using Org.BouncyCastle.Asn1.CryptoPro; using Org.BouncyCastle.Asn1.EdEC; @@ -10,6 +9,7 @@ using Org.BouncyCastle.Asn1.Rosstandart; using Org.BouncyCastle.Asn1.X509; using Org.BouncyCastle.Asn1.X9; using Org.BouncyCastle.Crypto; +using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.Math; using Org.BouncyCastle.Math.EC; using Org.BouncyCastle.Utilities; @@ -19,12 +19,8 @@ namespace Org.BouncyCastle.X509 /// <summary> /// A factory to produce Public Key Info Objects. /// </summary> - public sealed class SubjectPublicKeyInfoFactory + public static class SubjectPublicKeyInfoFactory { - private SubjectPublicKeyInfoFactory() - { - } - /// <summary> /// Create a Subject Public Key Info object for a given public key. /// </summary> |