Skip to main content

tls_get_server_cert_info

Function tls_get_server_cert_info 

Source
pub async fn tls_get_server_cert_info(
    app_handle: AppHandle,
    hostname: String,
) -> Result<Option<CertificateInfo>, String>
Expand description

Get information about a server certificate

§Arguments

  • hostname - The hostname (e.g., “code.editor.land”)

Returns certificate information including validity period and subject.