[][src]Struct x509_signature::DataAlgorithmSignature

pub struct DataAlgorithmSignature<'a> { /* fields omitted */ }

A data-algorithm-signature structure

Implementations

impl<'a> DataAlgorithmSignature<'a>[src]

pub fn data(&self) -> &'a [u8][src]

The data over which the signature is computed. An X.509 SEQUENCE.

pub fn inner(&self) -> &'a [u8][src]

The data with the outer SEQUENCE stripped.

pub fn algorithm(&self) -> &'a [u8][src]

The algorithm identifier, with the outer SEQUENCE stripped.

pub fn signature(&self) -> &'a [u8][src]

The raw bytes of the signature.

Trait Implementations

impl<'a> Clone for DataAlgorithmSignature<'a>[src]

impl<'a> Copy for DataAlgorithmSignature<'a>[src]

impl<'a> Debug for DataAlgorithmSignature<'a>[src]

impl<'a> TryFrom<&'a [u8]> for DataAlgorithmSignature<'a>[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'a> Send for DataAlgorithmSignature<'a>

impl<'a> Sync for DataAlgorithmSignature<'a>

impl<'a> Unpin for DataAlgorithmSignature<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.