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

description: &'a str

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

url: &'a str

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

operated_by: &'a str

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

key: &'a [u8]

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).

id: [u8; 32]

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

max_merge_delay: usize

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

Trait Implementations

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for Log<'a>

impl<'a> Send for Log<'a>

impl<'a> Sync for Log<'a>

impl<'a> Unpin for Log<'a>

impl<'a> UnwindSafe for Log<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.