pub enum DsaPrivateBlob {
V1(Box<Blob<DsaKeyPrivateBlob>>),
V2(Box<Blob<DsaKeyPrivateV2Blob>>),
}
Expand description
Raw private DSA key data blob.
For keys of ≤ 1024 bit length, use the V1
variant. Otherwise, use V2
.
Variants§
V1(Box<Blob<DsaKeyPrivateBlob>>)
V2(Box<Blob<DsaKeyPrivateV2Blob>>)
Trait Implementations§
Source§impl AsRef<Blob<ErasedKeyBlob>> for DsaPrivateBlob
impl AsRef<Blob<ErasedKeyBlob>> for DsaPrivateBlob
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 DsaPrivateBlob
impl RefUnwindSafe for DsaPrivateBlob
impl Send for DsaPrivateBlob
impl Sync for DsaPrivateBlob
impl Unpin for DsaPrivateBlob
impl UnwindSafe for DsaPrivateBlob
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