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