pub struct DsaSigRef(/* private fields */);
Expand description
Reference to a DsaSig
.
Implementations§
Source§impl DsaSigRef
impl DsaSigRef
Sourcepub fn to_der(&self) -> Result<Vec<u8>, ErrorStack>
pub fn to_der(&self) -> Result<Vec<u8>, ErrorStack>
Serializes the DSA signature into a DER-encoded DSASignature
structure.
This corresponds to i2d_DSA_SIG
.
Sourcepub fn r(&self) -> &BigNumRef
pub fn r(&self) -> &BigNumRef
Returns internal component r
of an DsaSig
.
This corresponds to DSA_SIG_get0
.
Sourcepub fn s(&self) -> &BigNumRef
pub fn s(&self) -> &BigNumRef
Returns internal component s
of an DsaSig
.
This corresponds to DSA_SIG_get0
.
Trait Implementations§
Source§impl ForeignTypeRef for DsaSigRef
impl ForeignTypeRef for DsaSigRef
impl Send for DsaSigRef
impl Sync for DsaSigRef
Auto Trait Implementations§
impl !Freeze for DsaSigRef
impl !RefUnwindSafe for DsaSigRef
impl Unpin for DsaSigRef
impl UnwindSafe for DsaSigRef
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes