x509_certificate::certificate

Function certificate_is_subset_of

Source
pub fn certificate_is_subset_of(
    a_serial: &Integer,
    a_name: &Name,
    b_serial: &Integer,
    b_name: &Name,
) -> bool
Expand description

Whether one certificate is a subset of another certificate.

This returns true iff the two certificates have the same serial number and every Name attribute in the first certificate is present in the other.