[][src]Trait x509::SubjectPublicKeyInfo

pub trait SubjectPublicKeyInfo {
    type AlgorithmId: AlgorithmIdentifier;
    type SubjectPublicKey: AsRef<[u8]>;
    pub fn algorithm_id(&self) -> Self::AlgorithmId;
pub fn public_key(&self) -> Self::SubjectPublicKey; }

A trait for objects which represent ASN.1 SubjectPublicKeyInfos.

Associated Types

Loading content...

Required methods

pub fn algorithm_id(&self) -> Self::AlgorithmId[src]

Returns the AlgorithmIdentifier for this public key.

pub fn public_key(&self) -> Self::SubjectPublicKey[src]

Returns the encoded public key.

Loading content...

Implementors

Loading content...