pub struct SignedCertificateTimestamp {
pub version: Version,
pub log_id: LogId,
pub timestamp: u64,
pub extensions: TlsByteVecU16,
pub signature: DigitallySigned,
}
Available on crate feature
sct
only.Expand description
A signed certificate timestamp (SCT) as defined in RFC 6962 section 3.2.
Fields§
§version: Version
The version of the protocol to which the SCT conforms. Currently, it is always v1.
log_id: LogId
The SHA-256 hash of the log’s public key, calculated over the DER encoding of the key represented as SubjectPublicKeyInfo.
timestamp: u64
the current NTP Time measured since the UNIX_EPOCH
(January 1, 1970, 00:00), ignoring leap seconds, in milliseconds.
extensions: TlsByteVecU16
The future extensions to protocol version v1. Currently, no extensions are specified.
signature: DigitallySigned
A digital signature over many fields including version, timestamp, extensions and others. See RFC 6962 section 3.2 for a complete list.
Implementations§
Trait Implementations§
source§impl Debug for SignedCertificateTimestamp
impl Debug for SignedCertificateTimestamp
source§impl DeserializeBytes for SignedCertificateTimestamp
impl DeserializeBytes for SignedCertificateTimestamp
source§impl PartialEq for SignedCertificateTimestamp
impl PartialEq for SignedCertificateTimestamp
source§fn eq(&self, other: &SignedCertificateTimestamp) -> bool
fn eq(&self, other: &SignedCertificateTimestamp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Size for &SignedCertificateTimestamp
impl Size for &SignedCertificateTimestamp
fn tls_serialized_len(&self) -> usize
source§impl Size for SignedCertificateTimestamp
impl Size for SignedCertificateTimestamp
fn tls_serialized_len(&self) -> usize
impl StructuralPartialEq for SignedCertificateTimestamp
Auto Trait Implementations§
impl RefUnwindSafe for SignedCertificateTimestamp
impl Send for SignedCertificateTimestamp
impl Sync for SignedCertificateTimestamp
impl Unpin for SignedCertificateTimestamp
impl UnwindSafe for SignedCertificateTimestamp
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more