pub struct CtLog { /* private fields */ }Implementations§
Source§impl CtLog
impl CtLog
pub fn validate_checkpoint( &self, checkpoint: &Checkpoint, ) -> Result<SignedTreeHead, SignatureValidationError>
Source§impl CtLog
impl CtLog
pub fn validate_sct_v1( &self, cert: &CertificateChain, sct: &SignedCertificateTimestamp, as_precert: bool, ) -> Result<(), SignatureValidationError>
Source§impl CtLog
impl CtLog
pub fn validate_sth_v1( &self, sth: &SignedTreeHead, ) -> Result<(), SignatureValidationError>
Source§impl CtLog
impl CtLog
pub fn new(config: CtLogConfig) -> Self
pub fn log_id(&self) -> &LogId
pub fn config(&self) -> &CtLogConfig
pub fn description(&self) -> &str
Trait Implementations§
impl Eq for CtLog
impl StructuralPartialEq for CtLog
Auto Trait Implementations§
impl Freeze for CtLog
impl RefUnwindSafe for CtLog
impl Send for CtLog
impl Sync for CtLog
impl Unpin for CtLog
impl UnsafeUnpin for CtLog
impl UnwindSafe for CtLog
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more