summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-05-05 14:04:08 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-05-05 14:04:08 +0700
commit5046b59c2ea17d50e6583497bfd81c414b0331be (patch)
treeeb374d900a54aad2a7f2aaba188329cce5b1b71e
parentRefactor client cert type checks (diff)
downloadBouncyCastle.NET-ed25519-5046b59c2ea17d50e6583497bfd81c414b0331be.tar.xz
Fix member names
-rw-r--r--crypto/src/tls/DigitallySigned.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/crypto/src/tls/DigitallySigned.cs b/crypto/src/tls/DigitallySigned.cs
index e977b350b..137847ada 100644
--- a/crypto/src/tls/DigitallySigned.cs
+++ b/crypto/src/tls/DigitallySigned.cs
@@ -5,27 +5,27 @@ namespace Org.BouncyCastle.Tls
 {
     public sealed class DigitallySigned
     {
-        private readonly SignatureAndHashAlgorithm algorithm;
-        private readonly byte[] signature;
+        private readonly SignatureAndHashAlgorithm m_algorithm;
+        private readonly byte[] m_signature;
 
         public DigitallySigned(SignatureAndHashAlgorithm algorithm, byte[] signature)
         {
             if (signature == null)
                 throw new ArgumentNullException("signature");
 
-            this.algorithm = algorithm;
-            this.signature = signature;
+            this.m_algorithm = algorithm;
+            this.m_signature = signature;
         }
 
         /// <returns>a <see cref="SignatureAndHashAlgorithm"/> (or null before TLS 1.2).</returns>
         public SignatureAndHashAlgorithm Algorithm
         {
-            get { return algorithm; }
+            get { return m_algorithm; }
         }
 
         public byte[] Signature
         {
-            get { return signature; }
+            get { return m_signature; }
         }
 
         /// <summary>Encode this <see cref="DigitallySigned"/> to a <see cref="Stream"/>.</summary>
@@ -33,11 +33,11 @@ namespace Org.BouncyCastle.Tls
         /// <exception cref="IOException"/>
         public void Encode(Stream output)
         {
-            if (algorithm != null)
+            if (m_algorithm != null)
             {
-                algorithm.Encode(output);
+                m_algorithm.Encode(output);
             }
-            TlsUtilities.WriteOpaque16(signature, output);
+            TlsUtilities.WriteOpaque16(m_signature, output);
         }
 
         /// <summary>Parse a <see cref="DigitallySigned"/> from a <see cref="Stream"/>.</summary>