From 5af9e09a87cc120e2f2da4fadc6b04685f96dda0 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Wed, 22 Jun 2022 22:08:13 +0700 Subject: Code cleanup --- crypto/src/pkcs/Pkcs12Store.cs | 2 +- crypto/src/pkcs/PkcsIOException.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'crypto/src/pkcs') 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 /// 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) { } } -- cgit 1.4.1