Struct yubihsm::command::sign_ecdsa::ECDSASignature [−][src]
ECDSA signatures (ASN.1 DER encoded)
Methods
impl ECDSASignature
[src]
impl ECDSASignature
pub fn into_vec(self) -> Vec<u8>
[src]
pub fn into_vec(self) -> Vec<u8>
Unwrap inner byte vector
pub fn len(&self) -> usize
[src]
pub fn len(&self) -> usize
Get length of the signature
pub fn as_slice(&self) -> &[u8]
[src]
pub fn as_slice(&self) -> &[u8]
Get slice of the inner byte vector
Trait Implementations
impl Debug for ECDSASignature
[src]
impl Debug for ECDSASignature
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl AsRef<[u8]> for ECDSASignature
[src]
impl AsRef<[u8]> for ECDSASignature
impl Into<Vec<u8>> for ECDSASignature
[src]
impl Into<Vec<u8>> for ECDSASignature
Auto Trait Implementations
impl Send for ECDSASignature
impl Send for ECDSASignature
impl Sync for ECDSASignature
impl Sync for ECDSASignature