SignedCertificateTimestamp

data class SignedCertificateTimestamp(val version: SctVersion, val logId: LogId, val timestamp: Instant, val extensions: ByteArray, val signature: DigitallySigned, val origin: Origin)(source)

A Signed Certificate Timestamp (SCT) as defined in RFC 6962 §3.2.

An SCT is a promise from a CT log that a certificate (or precertificate) has been logged. It contains the log's identity, a timestamp, and a digital signature that can be verified against the log's public key.

SCTs can be delivered via three mechanisms, indicated by origin:

  • Embedded in the certificate's X.509 extensions

  • Via TLS extension during the handshake

  • Via OCSP stapled response

See also

Constructors

Link copied to clipboard
constructor(version: SctVersion, logId: LogId, timestamp: Instant, extensions: ByteArray, signature: DigitallySigned, origin: Origin)

Properties

Link copied to clipboard

Optional SCT extension bytes (currently unused in RFC 6962 v1).

Link copied to clipboard

The identity of the log that issued this SCT.

Link copied to clipboard

How this SCT was delivered to the client.

Link copied to clipboard

The log's digital signature over the SCT data.

Link copied to clipboard
val timestamp: Instant

When the log recorded (or promised to record) the certificate.

Link copied to clipboard

The SCT structure version (currently only SctVersion.V1).

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int