diff options
Diffstat (limited to 'crypto/src/asn1/x509/AttCertIssuer.cs')
-rw-r--r-- | crypto/src/asn1/x509/AttCertIssuer.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/src/asn1/x509/AttCertIssuer.cs b/crypto/src/asn1/x509/AttCertIssuer.cs index 9d74f631e..39ff28790 100644 --- a/crypto/src/asn1/x509/AttCertIssuer.cs +++ b/crypto/src/asn1/x509/AttCertIssuer.cs @@ -36,11 +36,9 @@ namespace Org.BouncyCastle.Asn1.X509 throw new ArgumentException("unknown object in factory: " + Platform.GetTypeName(obj), "obj"); } - public static AttCertIssuer GetInstance( - Asn1TaggedObject obj, - bool isExplicit) + public static AttCertIssuer GetInstance(Asn1TaggedObject obj, bool isExplicit) { - return GetInstance(obj.GetObject()); // must be explictly tagged + return Asn1Utilities.GetInstanceFromChoice(obj, isExplicit, GetInstance); } /// <summary> |