/// <summary>Return the issuer of the given CRL as an X509Principal.</summary> public static X509Name GetIssuerX509Principal( X509Crl crl) { try { TbsCertificateList tbsCertList = TbsCertificateList.GetInstance( Asn1Object.FromByteArray(crl.GetTbsCertList())); return(tbsCertList.Issuer); } catch (Exception e) { throw new CrlException("Could not extract issuer", e); } }
/// <summary>Return the issuer of the given CRL as an X509Principal.</summary> public static X509Name GetIssuerX509Principal( X509Crl crl) { try { TbsCertificateList tbsCertList = TbsCertificateList.GetInstance( Asn1Object.FromByteArray(crl.GetTbsCertList())); return tbsCertList.Issuer; } catch (Exception e) { throw new CrlException("Could not extract issuer", e); } }