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,
}
Expand description
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§
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§
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