MCPcopy Create free account
hub / github.com/RustCrypto/SSH / validate_at

Method validate_at

ssh-key/src/certificate.rs:434–459  ·  view source on GitHub ↗

Perform certificate validation. Checks for the following: - Specified Unix timestamp is within the certificate's valid range - Certificate's signature validates against the public key included in the certificate - Fingerprint of the public key included in the certificate matches one of the trusted certificate authority (CA) fingerprints provided in the `ca_fingerprints` parameter. NOTE: only SH

(&self, unix_timestamp: u64, ca_fingerprints: I)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

validateMethod · 0.80
signMethod · 0.80

Calls 2

verify_signatureMethod · 0.80
fingerprintMethod · 0.45

Tested by

no test coverage detected