Create a TLS validator.
Configuration with expected fingerprints
StaticisCheck if TLS validation is supported on this platform.
Returns false in browser environments where TLS socket inspection is not available.
Validate TLS certificate.
TLS socket to validate
Validation result
Add an expected fingerprint.
Fingerprint to add
Clear all expected fingerprints.
TLS certificate fingerprint validator.
Validates TLS certificates using SHA-256 SPKI fingerprints. Provides constant-time comparison to prevent timing attacks.
Platform support: