Rust referencedbrowser
dbrowser · commands::tls
Source declarations, signatures and documentation for commands::tls.
Source: sigil/weave/tools/dbrowser/src-tauri/src/commands/tls.rs. SHA-256: 33c0d71314ec250db63f07abe543377482e15657b77b29713149a3c956b5648f.
This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.
commands::tls::CertificateField
#[derive(Debug, Serialize)]
pub struct CertificateField {
pub label: String,
pub value: String
}Source line: 10.
commands::tls::CertificateNode
#[derive(Debug, Serialize)]
pub struct CertificateNode {
pub subject: String,
pub issuer: String,
pub serial_number: String,
pub signature_algorithm: String,
pub public_key_algorithm: String,
pub public_key_bits: Option<u32>,
pub not_before: String,
pub not_after: String,
pub fingerprint_sha256: String,
pub fingerprint_sha1: String,
pub san: Vec<String>,
pub extensions: Vec<CertificateField>,
pub pem: String
}Source line: 16.
commands::tls::ConnectionSecurity
#[derive(Debug, Serialize)]
pub struct ConnectionSecurity {
pub url: String,
pub host: String,
pub port: u16,
pub tls_version: String,
pub cipher_suite: String,
pub negotiated_protocol: Option<String>
}Source line: 33.
commands::tls::CertificateReport
#[derive(Debug, Serialize)]
pub struct CertificateReport {
pub connection: ConnectionSecurity,
pub chain: Vec<CertificateNode>,
pub matches_hostname: bool,
pub trust_status: String
}Source line: 43.
commands::tls::CertificateRequest
#[derive(Debug, Deserialize)]
pub struct CertificateRequest {
pub url: String
}Source line: 51.
commands::tls::inspect_certificate
#[tauri::command]
pub async fn inspect_certificate(input: CertificateRequest) -> Result<CertificateReport, String>;Source line: 56.