From 8e12622ec67e260356702a5f697eeb0e59180236 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 8 Nov 2022 10:47:15 +0700 Subject: Make factory classes static --- crypto/src/security/PublicKeyFactory.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'crypto/src/security/PublicKeyFactory.cs') diff --git a/crypto/src/security/PublicKeyFactory.cs b/crypto/src/security/PublicKeyFactory.cs index 8c3e9db99..775884e94 100644 --- a/crypto/src/security/PublicKeyFactory.cs +++ b/crypto/src/security/PublicKeyFactory.cs @@ -20,12 +20,8 @@ using Org.BouncyCastle.Utilities; namespace Org.BouncyCastle.Security { - public sealed class PublicKeyFactory + public static class PublicKeyFactory { - private PublicKeyFactory() - { - } - public static AsymmetricKeyParameter CreateKey( byte[] keyInfoData) { -- cgit 1.4.1