diff options
author | Peter Dettman <peter.dettman@gmail.com> | 2022-06-22 22:08:13 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@gmail.com> | 2022-06-22 22:08:13 +0700 |
commit | 5af9e09a87cc120e2f2da4fadc6b04685f96dda0 (patch) | |
tree | 9647961b98f60c9706ab8491e73070759d4a3545 /crypto/src/pkcs | |
parent | Change namespace for bzip2 code (diff) | |
download | BouncyCastle.NET-ed25519-5af9e09a87cc120e2f2da4fadc6b04685f96dda0.tar.xz |
Code cleanup
Diffstat (limited to 'crypto/src/pkcs')
-rw-r--r-- | crypto/src/pkcs/Pkcs12Store.cs | 2 | ||||
-rw-r--r-- | crypto/src/pkcs/PkcsIOException.cs | 4 |
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) { } } |