[−][src]Struct rpki::cert::ext::AuthorityKeyIdentifier
Methods
impl AuthorityKeyIdentifier
[src]
pub fn new(key_info: &PublicKey) -> Self
[src]
pub fn authority_key_id(&self) -> &OctetString
[src]
impl AuthorityKeyIdentifier
[src]
pub fn take<S: Source>(
cons: &mut Constructed<S>,
critical: bool,
authority_key_id: &mut Option<Self>
) -> Result<(), S::Err>
[src]
cons: &mut Constructed<S>,
critical: bool,
authority_key_id: &mut Option<Self>
) -> Result<(), S::Err>
Parses the Authority Key Identifier Extension.
Must be present except in self-signed CA certificates where it is optional.
AuthorityKeyIdentifier ::= SEQUENCE {
keyIdentifier [0] KeyIdentifier OPTIONAL,
authorityCertIssuer [1] GeneralNames OPTIONAL,
authorityCertSerialNumber [2] CertificateSerialNumber OPTIONAL }
KeyIdentifier ::= OCTET STRING
Only keyIdentifier MUST be present.
pub fn encode(self) -> impl Values
[src]
pub fn encode_ref<'a>(&'a self) -> impl Values + 'a
[src]
Trait Implementations
impl PartialEq<AuthorityKeyIdentifier> for AuthorityKeyIdentifier
[src]
fn eq(&self, other: &AuthorityKeyIdentifier) -> bool
[src]
fn ne(&self, other: &AuthorityKeyIdentifier) -> bool
[src]
impl Clone for AuthorityKeyIdentifier
[src]
fn clone(&self) -> AuthorityKeyIdentifier
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for AuthorityKeyIdentifier
[src]
impl Debug for AuthorityKeyIdentifier
[src]
Auto Trait Implementations
impl Send for AuthorityKeyIdentifier
impl Sync for AuthorityKeyIdentifier
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,