コード例 #1
0
 /// <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));
 }
コード例 #2
0
 public static bool HasProperty(this SafeCertContextHandle certificateContext,
                                WindowsX509Native.CertificateProperty property)
 {
     return(CertificatePal.HasProperty(certificateContext.DangerousGetHandle(), property));
 }