summary refs log tree commit diff
path: root/crypto/src/util/io/pem/PemObject.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/util/io/pem/PemObject.cs')
-rw-r--r--crypto/src/util/io/pem/PemObject.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/crypto/src/util/io/pem/PemObject.cs b/crypto/src/util/io/pem/PemObject.cs
index 2a152f81d..ccba962af 100644
--- a/crypto/src/util/io/pem/PemObject.cs
+++ b/crypto/src/util/io/pem/PemObject.cs
@@ -6,9 +6,9 @@ namespace Org.BouncyCastle.Utilities.IO.Pem
 	public class PemObject
 		: PemObjectGenerator
 	{
-		private string type;
-		private IList<PemHeader> headers;
-		private byte[] content;
+		private readonly string m_type;
+		private readonly IList<PemHeader> m_headers;
+		private readonly byte[] m_content;
 
 		public PemObject(string type, byte[] content)
 			: this(type, new List<PemHeader>(), content)
@@ -17,24 +17,24 @@ namespace Org.BouncyCastle.Utilities.IO.Pem
 
 		public PemObject(string type, IList<PemHeader> headers, byte[] content)
 		{
-			this.type = type;
-            this.headers = new List<PemHeader>(headers);
-			this.content = content;
+			m_type = type;
+            m_headers = new List<PemHeader>(headers);
+			m_content = content;
 		}
 
 		public string Type
 		{
-			get { return type; }
+			get { return m_type; }
 		}
 
 		public IList<PemHeader> Headers
 		{
-			get { return headers; }
+			get { return m_headers; }
 		}
 
 		public byte[] Content
 		{
-			get { return content; }
+			get { return m_content; }
 		}
 
 		public PemObject Generate()