summary refs log tree commit diff
path: root/crypto/src/pkcs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@gmail.com>2022-06-22 22:08:13 +0700
committerPeter Dettman <peter.dettman@gmail.com>2022-06-22 22:08:13 +0700
commit5af9e09a87cc120e2f2da4fadc6b04685f96dda0 (patch)
tree9647961b98f60c9706ab8491e73070759d4a3545 /crypto/src/pkcs
parentChange namespace for bzip2 code (diff)
downloadBouncyCastle.NET-ed25519-5af9e09a87cc120e2f2da4fadc6b04685f96dda0.tar.xz
Code cleanup
Diffstat (limited to 'crypto/src/pkcs')
-rw-r--r--crypto/src/pkcs/Pkcs12Store.cs2
-rw-r--r--crypto/src/pkcs/PkcsIOException.cs4
2 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/pkcs/Pkcs12Store.cs b/crypto/src/pkcs/Pkcs12Store.cs
index d09b8828f..7553088a2 100644
--- a/crypto/src/pkcs/Pkcs12Store.cs
+++ b/crypto/src/pkcs/Pkcs12Store.cs
@@ -328,7 +328,7 @@ namespace Org.BouncyCastle.Pkcs
                                 // we've found more than one - one might be incorrect
                                 if (aOid.Equals(PkcsObjectIdentifiers.Pkcs9AtLocalKeyID))
                                 {
-                                    String id = Hex.ToHexString(Asn1OctetString.GetInstance(attr).GetOctets());
+                                    string id = Hex.ToHexString(Asn1OctetString.GetInstance(attr).GetOctets());
                                     if (!(keys[id] != null || localIds[id] != null))
                                     {
                                         continue; // ignore this one - it's not valid
diff --git a/crypto/src/pkcs/PkcsIOException.cs b/crypto/src/pkcs/PkcsIOException.cs
index 19f17a394..889b0fcb0 100644
--- a/crypto/src/pkcs/PkcsIOException.cs
+++ b/crypto/src/pkcs/PkcsIOException.cs
@@ -8,11 +8,11 @@ namespace Org.BouncyCastle.Pkcs
     /// </summary>
     public class PkcsIOException: IOException
     {
-        public PkcsIOException(String message) : base(message)
+        public PkcsIOException(string message) : base(message)
         {
         }
 
-        public PkcsIOException(String message, Exception underlying) : base(message, underlying)
+        public PkcsIOException(string message, Exception underlying) : base(message, underlying)
         {
         }
     }