/// <summary> /// Get a property of a certificate formatted as a structure /// </summary> public static T GetCertificateProperty <T>(this SafeCertContextHandle certificateContext, WindowsX509Native.CertificateProperty property) where T : struct { return(CertificatePal.GetCertificateProperty <T>(certificateContext.DangerousGetHandle(), property)); }
public static bool HasProperty(this SafeCertContextHandle certificateContext, WindowsX509Native.CertificateProperty property) { return(CertificatePal.HasProperty(certificateContext.DangerousGetHandle(), property)); }