[][src]Trait x509::AlgorithmIdentifier

pub trait AlgorithmIdentifier {
    type AlgorithmOid: Oid;
    pub fn algorithm(&self) -> Self::AlgorithmOid;
pub 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

pub fn algorithm(&self) -> Self::AlgorithmOid[src]

Returns the object identifier for this AlgorithmIdentifier.

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

Writes the parameters for this AlgorithmIdentifier, if any.

Loading content...

Implementors

Loading content...