Struct remote_settings_client::RingVerifier
source · [−]pub struct RingVerifier {}
Trait Implementations
sourceimpl Verification for RingVerifier
impl Verification for RingVerifier
sourcefn verify_nist384p_chain(
&self,
epoch_seconds: u64,
pem_bytes: &[u8],
root_hash: &str,
subject_cn: &str,
message: &[u8],
signature: &[u8]
) -> Result<(), SignatureError>
fn verify_nist384p_chain(
&self,
epoch_seconds: u64,
pem_bytes: &[u8],
root_hash: &str,
subject_cn: &str,
message: &[u8],
signature: &[u8]
) -> Result<(), SignatureError>
Verify chain of trust. Read more
fn verify_sha256_hash(
&self,
content: &[u8],
expected: &[u8]
) -> Result<(), SignatureError>
fn fetch_certificate_chain<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
requester: &'life1 (dyn Requester + 'static),
collection: &'life2 Collection
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, SignatureError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn serialize_data(
&self,
collection: &Collection
) -> Result<Vec<u8>, SignatureError>
sourcefn verify<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
requester: &'life1 (dyn Requester + 'static),
collection: &'life2 Collection,
root_hash: &'life3 str
) -> Pin<Box<dyn Future<Output = Result<(), SignatureError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
fn verify<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
requester: &'life1 (dyn Requester + 'static),
collection: &'life2 Collection,
root_hash: &'life3 str
) -> Pin<Box<dyn Future<Output = Result<(), SignatureError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
Verifies signature for a given Collection
struct. Read more
Auto Trait Implementations
impl RefUnwindSafe for RingVerifier
impl Send for RingVerifier
impl Sync for RingVerifier
impl Unpin for RingVerifier
impl UnwindSafe for RingVerifier
Blanket Implementations
sourceimpl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
sourceimpl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more