summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2018-09-18 21:16:28 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2018-09-18 21:16:28 +0700
commit92c99a5571303e4aa46dc730f45ae2e34db769f1 (patch)
treec62203d765ed2f893736afe2df1cbcb587a7102e /crypto/test
parentAdd missing default and improve extensions handling (diff)
downloadBouncyCastle.NET-ed25519-92c99a5571303e4aa46dc730f45ae2e34db769f1.tar.xz
Code cleanup (from Java build)
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/openpgp/examples/DirectKeySignature.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/test/src/openpgp/examples/DirectKeySignature.cs b/crypto/test/src/openpgp/examples/DirectKeySignature.cs
index a6bf8e755..3926a787b 100644
--- a/crypto/test/src/openpgp/examples/DirectKeySignature.cs
+++ b/crypto/test/src/openpgp/examples/DirectKeySignature.cs
@@ -38,11 +38,11 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp.Examples
 					Console.WriteLine("Signature date is: "
 						+ sig.GetHashedSubPackets().GetSignatureCreationTime());
 
-					NotationData[] data = sig.GetHashedSubPackets().GetNotationDataOccurences();
+					NotationData[] data = sig.GetHashedSubPackets().GetNotationDataOccurrences();
 
 					for (int i = 0; i < data.Length; i++)
 					{
-						Console.WriteLine("Found Notaion named '" + data[i].GetNotationName()
+						Console.WriteLine("Found Notation named '" + data[i].GetNotationName()
 							+"' with content '" + data[i].GetNotationValue() + "'.");
 					}
 				}