Lines Matching refs:UsedAsCa
42 UsedAsCa::Yes => { in build_chain()
49 UsedAsCa::No => { in build_chain()
115 UsedAsCa::No => sub_ca_count, in build_chain()
116 UsedAsCa::Yes => sub_ca_count + 1, in build_chain()
160 used_as_ca: UsedAsCa, in check_issuer_independent_properties() argument
207 enum UsedAsCa { enum
212 fn used_as_ca(ee_or_ca: &EndEntityOrCa) -> UsedAsCa { in used_as_ca() argument
214 EndEntityOrCa::EndEntity => UsedAsCa::No, in used_as_ca()
215 EndEntityOrCa::Ca(..) => UsedAsCa::Yes, in used_as_ca()
222 used_as_ca: UsedAsCa, in check_basic_constraints() argument
246 (UsedAsCa::No, true, _) => Err(Error::CaUsedAsEndEntity), in check_basic_constraints()
247 (UsedAsCa::Yes, false, _) => Err(Error::EndEntityUsedAsCa), in check_basic_constraints()
248 (UsedAsCa::Yes, true, Some(len)) if sub_ca_count > len => { in check_basic_constraints()