From 5046b59c2ea17d50e6583497bfd81c414b0331be Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Thu, 5 May 2022 14:04:08 +0700 Subject: Fix member names --- crypto/src/tls/DigitallySigned.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'crypto') 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; } /// a (or null before TLS 1.2). public SignatureAndHashAlgorithm Algorithm { - get { return algorithm; } + get { return m_algorithm; } } public byte[] Signature { - get { return signature; } + get { return m_signature; } } /// Encode this to a . @@ -33,11 +33,11 @@ namespace Org.BouncyCastle.Tls /// 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); } /// Parse a from a . -- cgit 1.4.1