summary refs log tree commit diff
path: root/crypto/src/util/io/pem/PemHeader.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/util/io/pem/PemHeader.cs')
-rw-r--r--crypto/src/util/io/pem/PemHeader.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/src/util/io/pem/PemHeader.cs b/crypto/src/util/io/pem/PemHeader.cs
index 72da8a4f7..c6236f534 100644
--- a/crypto/src/util/io/pem/PemHeader.cs
+++ b/crypto/src/util/io/pem/PemHeader.cs
@@ -51,5 +51,10 @@ namespace Org.BouncyCastle.Utilities.IO.Pem
 
 			return s.GetHashCode();
 		}
-	}
+
+        public override string ToString()
+        {
+			return name + ":" + val;
+        }
+    }
 }