summary refs log tree commit diff
path: root/crypto/test/src/openpgp
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/test/src/openpgp
parentChange namespace for bzip2 code (diff)
downloadBouncyCastle.NET-ed25519-5af9e09a87cc120e2f2da4fadc6b04685f96dda0.tar.xz
Code cleanup
Diffstat (limited to 'crypto/test/src/openpgp')
-rw-r--r--crypto/test/src/openpgp/examples/DirectKeySignature.cs6
-rw-r--r--crypto/test/src/openpgp/test/PgpUnicodeTest.cs2
2 files changed, 4 insertions, 4 deletions
diff --git a/crypto/test/src/openpgp/examples/DirectKeySignature.cs b/crypto/test/src/openpgp/examples/DirectKeySignature.cs
index 3926a787b..c36bba996 100644
--- a/crypto/test/src/openpgp/examples/DirectKeySignature.cs
+++ b/crypto/test/src/openpgp/examples/DirectKeySignature.cs
@@ -57,11 +57,11 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp.Examples
 				// gather command line arguments
 				PgpSecretKeyRing secRing = new PgpSecretKeyRing(
 					PgpUtilities.GetDecoderStream(secFis));
-				String secretKeyPass = args[1];
+				string secretKeyPass = args[1];
 				PgpPublicKeyRing ring = new PgpPublicKeyRing(
 					PgpUtilities.GetDecoderStream(pubFis));
-				String notationName = args[3];
-				String notationValue = args[4];
+				string notationName = args[3];
+				string notationValue = args[4];
 
 				// create the signed keyRing
 				PgpPublicKeyRing sRing = null;
diff --git a/crypto/test/src/openpgp/test/PgpUnicodeTest.cs b/crypto/test/src/openpgp/test/PgpUnicodeTest.cs
index d73e3d7a6..afc0d1cbc 100644
--- a/crypto/test/src/openpgp/test/PgpUnicodeTest.cs
+++ b/crypto/test/src/openpgp/test/PgpUnicodeTest.cs
@@ -55,7 +55,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp.Tests
  //             byte[] password = new byte[passwordFile.available()];
  //             passwordFile.read(password);
  //             passwordFile.close();
- //             String passphrase = new String(password);            
+ //             string passphrase = new string(password);            
 
                 DoTestKey(keyId, passphrase, true);