summary refs log tree commit diff
path: root/crypto/src/asn1/mozilla/PublicKeyAndChallenge.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/mozilla/PublicKeyAndChallenge.cs')
-rw-r--r--crypto/src/asn1/mozilla/PublicKeyAndChallenge.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/src/asn1/mozilla/PublicKeyAndChallenge.cs b/crypto/src/asn1/mozilla/PublicKeyAndChallenge.cs
index 1e08b809d..ff2a1199f 100644
--- a/crypto/src/asn1/mozilla/PublicKeyAndChallenge.cs
+++ b/crypto/src/asn1/mozilla/PublicKeyAndChallenge.cs
@@ -1,6 +1,7 @@
 using System;
 
 using Org.BouncyCastle.Asn1.X509;
+using Org.BouncyCastle.Utilities;
 
 namespace Org.BouncyCastle.Asn1.Mozilla
 {
@@ -38,7 +39,7 @@ namespace Org.BouncyCastle.Asn1.Mozilla
 
 			throw new ArgumentException(
 				"unknown object in 'PublicKeyAndChallenge' factory : "
-				+ obj.GetType().Name + ".");
+                + Platform.GetTypeName(obj) + ".");
 		}
 
 		public PublicKeyAndChallenge(