internal static extern OSStatus SecCertificateCopyCommonName(IntPtr certificate, out IntPtr commonName);