Load certificates from byte slice (auto-detects PEM vs DER format) This is a convenience wrapper that calls load_from_bytes_ex with treat_all_as_ca=false and pem_only=false.
(&mut self, data: &[u8])
| 836 | /// This is a convenience wrapper that calls load_from_bytes_ex with treat_all_as_ca=false |
| 837 | /// and pem_only=false. |
| 838 | pub fn load_from_bytes(&mut self, data: &[u8]) -> Result<CertStats, std::io::Error> { |
| 839 | self.load_from_bytes_ex(data, false, false) |
| 840 | } |
| 841 | } |
| 842 | |
| 843 | // NoVerifier: disables certificate verification (for CERT_NONE mode) |
no test coverage detected