pub struct DsaSigRef(_);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.