Crate sct

source ยท
Expand description

ยงSCT.rs: SCT verification library

This library implements verification of Signed Certificate Timestamps. These are third-party assurances that a particular certificate has been included in a Certificate Transparency log.

See RFC6962 for the details of the formats implemented here.

It is intended to be useful to libraries which perform certificate validation, OCSP libraries, and TLS libraries.

Structsยง

  • Describes a CT log
  • Sct ๐Ÿ”’

Enumsยง

  • How sct.rs reports errors.

Constantsยง

Functionsยง

  • decode_u16 ๐Ÿ”’
  • decode_u64 ๐Ÿ”’
  • lookup ๐Ÿ”’
  • Verifies that the SCT sct (a SignedCertificateTimestamp encoding) is a correctly signed timestamp for cert (a DER-encoded X.509 end-entity certificate) valid at_time. logs describe the CT logs trusted by the caller to sign such an SCT.
  • write_u16 ๐Ÿ”’
  • write_u24 ๐Ÿ”’
  • write_u64 ๐Ÿ”’