[][src]Trait x509::AlgorithmIdentifier

pub trait AlgorithmIdentifier {
    type AlgorithmOid: Oid;
    fn algorithm(&self) -> Self::AlgorithmOid;
fn parameters<W: Write>(&self, w: WriteContext<W>) -> GenResult<W>; }

A trait for objects which represent ASN.1 AlgorithmIdentifiers.

Associated Types

Loading content...

Required methods

fn algorithm(&self) -> Self::AlgorithmOid

Returns the object identifier for this AlgorithmIdentifier.

fn parameters<W: Write>(&self, w: WriteContext<W>) -> GenResult<W>

Writes the parameters for this AlgorithmIdentifier, if any.

Loading content...

Implementors

Loading content...