pub enum DsaPublicBlob {
V1(Box<Blob<DsaKeyPublicBlob>>),
V2(Box<Blob<DsaKeyPublicV2Blob>>),
}
Expand description
Raw public DSA key data blob.
Variants§
V1(Box<Blob<DsaKeyPublicBlob>>)
Used with keys having ≤ 1024 bit length.
V2(Box<Blob<DsaKeyPublicV2Blob>>)
Used with keys having > 1024 bit length.
Trait Implementations§
Source§impl AsRef<Blob<ErasedKeyBlob>> for DsaPublicBlob
impl AsRef<Blob<ErasedKeyBlob>> for DsaPublicBlob
Source§fn as_ref(&self) -> &Blob<ErasedKeyBlob>
fn as_ref(&self) -> &Blob<ErasedKeyBlob>
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for DsaPublicBlob
impl RefUnwindSafe for DsaPublicBlob
impl Send for DsaPublicBlob
impl Sync for DsaPublicBlob
impl Unpin for DsaPublicBlob
impl UnwindSafe for DsaPublicBlob
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