summary refs log tree commit diff
path: root/crypto/src/asn1/cms/RecipientEncryptedKey.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2015-11-21 23:43:35 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2015-11-21 23:43:35 +0700
commit304725950a7a51a3e4d67e214c0e0d8238301d60 (patch)
tree8c3f73288f999db888d70f522e10f33486935a06 /crypto/src/asn1/cms/RecipientEncryptedKey.cs
parentMerge branch 'master' of git.bouncycastle.org:bc-csharp into pcl (diff)
parentAdd Platform method for getting the type name of an object (diff)
downloadBouncyCastle.NET-ed25519-304725950a7a51a3e4d67e214c0e0d8238301d60.tar.xz
Merge branch 'master' of git.bouncycastle.org:bc-csharp into pcl
Diffstat (limited to 'crypto/src/asn1/cms/RecipientEncryptedKey.cs')
-rw-r--r--crypto/src/asn1/cms/RecipientEncryptedKey.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/src/asn1/cms/RecipientEncryptedKey.cs b/crypto/src/asn1/cms/RecipientEncryptedKey.cs

index 5ba25a742..1afba4ab1 100644 --- a/crypto/src/asn1/cms/RecipientEncryptedKey.cs +++ b/crypto/src/asn1/cms/RecipientEncryptedKey.cs
@@ -1,5 +1,7 @@ using System; +using Org.BouncyCastle.Utilities; + namespace Org.BouncyCastle.Asn1.Cms { public class RecipientEncryptedKey @@ -50,7 +52,7 @@ namespace Org.BouncyCastle.Asn1.Cms return new RecipientEncryptedKey((Asn1Sequence) obj); } - throw new ArgumentException("Invalid RecipientEncryptedKey: " + obj.GetType().FullName, "obj"); + throw new ArgumentException("Invalid RecipientEncryptedKey: " + Platform.GetTypeName(obj), "obj"); } public RecipientEncryptedKey(