Lines Matching refs:field
275 /// The `CN` field is used for the common name, such as a DNS name.
608 /// Access field.
798 debug_struct.field("serial_number", &serial);
799 debug_struct.field("signature_algorithm", &self.signature_algorithm().object());
800 debug_struct.field("issuer", &self.issuer_name());
801 debug_struct.field("subject", &self.subject_name());
803 debug_struct.field("subject_alt_names", subject_alt_names);
805 debug_struct.field("not_before", &self.not_before());
806 debug_struct.field("not_after", &self.not_after());
809 debug_struct.field("public_key", public_key);
1072 /// Add a field entry by str.
1077 pub fn append_entry_by_text(&mut self, field: &str, value: &str) -> Result<(), ErrorStack> {
1079 let field = CString::new(field).unwrap();
1083 field.as_ptr() as *mut _,
1094 /// Add a field entry by str with a specific type.
1101 field: &str,
1106 let field = CString::new(field).unwrap();
1110 field.as_ptr() as *mut _,
1121 /// Add a field entry by NID.
1126 pub fn append_entry_by_nid(&mut self, field: Nid, value: &str) -> Result<(), ErrorStack> {
1131 field.as_raw(),
1142 /// Add a field entry by NID with a specific type.
1149 field: Nid,
1157 field.as_raw(),
1323 /// Returns the field value of an `X509NameEntry`.
1371 /// Set the numerical value of the version field.
1548 /// Returns the numerical value of the version field of the certificate request.
1864 /// If the `nextUpdate` field is missing, returns `None`.
1927 .field("code", &self.0)
1928 .field("error", &self.error_string())