security_framework_sys::certificate

Function SecCertificateCopyCommonName

Source
pub unsafe extern "C" fn SecCertificateCopyCommonName(
    certificate: SecCertificateRef,
    common_name: *mut CFStringRef,
) -> OSStatus