summary refs log tree commit diff
path: root/crypto/src/asn1/cms/RecipientKeyIdentifier.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/RecipientKeyIdentifier.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/RecipientKeyIdentifier.cs')
-rw-r--r--crypto/src/asn1/cms/RecipientKeyIdentifier.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/cms/RecipientKeyIdentifier.cs b/crypto/src/asn1/cms/RecipientKeyIdentifier.cs

index f3e45644b..995ddab51 100644 --- a/crypto/src/asn1/cms/RecipientKeyIdentifier.cs +++ b/crypto/src/asn1/cms/RecipientKeyIdentifier.cs
@@ -1,6 +1,6 @@ using System; -using Org.BouncyCastle.Asn1; +using Org.BouncyCastle.Utilities; namespace Org.BouncyCastle.Asn1.Cms { @@ -97,7 +97,7 @@ namespace Org.BouncyCastle.Asn1.Cms if (obj is Asn1Sequence) return new RecipientKeyIdentifier((Asn1Sequence) obj); - throw new ArgumentException("Invalid RecipientKeyIdentifier: " + obj.GetType().Name); + throw new ArgumentException("Invalid RecipientKeyIdentifier: " + Platform.GetTypeName(obj)); } public Asn1OctetString SubjectKeyIdentifier