pub struct VerificationKey {
pub algorithm: SignatureAlgorithm,
pub public_key_bytes: Vec<u8>,
pub certificate_der: Option<Vec<u8>>,
pub name: Option<String>,
}Expand description
A public verification key available to key resolvers.
Fields§
§algorithm: SignatureAlgorithmSignature algorithm this key is configured to verify.
public_key_bytes: Vec<u8>DER-encoded SubjectPublicKeyInfo bytes.
certificate_der: Option<Vec<u8>>DER certificate from which the key was extracted, when applicable.
name: Option<String>Name used to register this key for <KeyName> resolution.
Trait Implementations§
Source§impl Clone for VerificationKey
impl Clone for VerificationKey
Source§fn clone(&self) -> VerificationKey
fn clone(&self) -> VerificationKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VerificationKey
impl Debug for VerificationKey
impl Eq for VerificationKey
Source§impl PartialEq for VerificationKey
impl PartialEq for VerificationKey
impl StructuralPartialEq for VerificationKey
Source§impl VerifyingKey for VerificationKey
impl VerifyingKey for VerificationKey
Auto Trait Implementations§
impl Freeze for VerificationKey
impl RefUnwindSafe for VerificationKey
impl Send for VerificationKey
impl Sync for VerificationKey
impl Unpin for VerificationKey
impl UnsafeUnpin for VerificationKey
impl UnwindSafe for VerificationKey
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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