Struct sct::Log [] [src]

pub struct Log<'a> {
    pub description: &'a str,
    pub url: &'a str,
    pub operated_by: &'a str,
    pub key: &'a [u8],
    pub id: [u8; 32],
    pub max_merge_delay: usize,
}

Describes a CT log

This structure contains some metadata fields not used by the library. Rationale: it makes sense to keep this metadata with the other values for review purposes.

Fields

The operator's name/description of the log. This field is not used by the library.

The certificate submission url. This field is not used by the library.

Which entity operates the log. This field is not used by the library.

Public key usable for verifying certificates. TODO: fixme format of this; should be a SPKI so the id is verifiable, but currently is a raw public key (like, an ECPoint or RSAPublicKey).

Key hash, which is SHA256 applied to the SPKI encoding.

The log's maximum merge delay. This field is not used by the library.

Trait Implementations

impl<'a> Debug for Log<'a>
[src]

Formats the value using the given formatter.