[][src]Struct rpki::cert::builder::CertBuilder

pub struct CertBuilder { /* fields omitted */ }

Methods

impl CertBuilder[src]

pub fn new(
    serial_number: u128,
    issuer: Name,
    validity: Validity,
    ca: bool
) -> Self
[src]

pub fn subject(&mut self, name: Name) -> &mut Self[src]

pub fn authority_key_identifier(&mut self, id: OctetString) -> &mut Self[src]

pub fn crl_distribution(&mut self, uri: Rsync) -> &mut Self[src]

pub fn authority_info_access(&mut self, uri: Rsync) -> &mut Self[src]

pub fn rpki_manifest(&mut self, uri: Rsync) -> &mut Self[src]

pub fn signed_object(&mut self, uri: Rsync) -> &mut Self[src]

pub fn rpki_notify(&mut self, uri: Http) -> &mut Self[src]

pub fn inherit_v4(&mut self) -> &mut Self[src]

pub fn inherit_v6(&mut self) -> &mut Self[src]

pub fn inherit_as(&mut self) -> &mut Self[src]

pub fn v4_blocks<F>(&mut self, build: F) -> &mut Self where
    F: FnOnce(&mut IpBlocksBuilder), 
[src]

pub fn v6_blocks<F>(&mut self, build: F) -> &mut Self where
    F: FnOnce(&mut IpBlocksBuilder), 
[src]

pub fn as_blocks<F>(&mut self, build: F) -> &mut Self where
    F: FnOnce(&mut AsBlocksBuilder), 
[src]

pub fn encode<S: Signer>(
    self,
    signer: &S,
    key: &S::KeyId,
    alg: SignatureAlgorithm,
    public_key: &PublicKey
) -> Result<impl Values, SigningError<S::Error>>
[src]

Finalizes the certificate and returns an encoder for it.

Trait Implementations

impl Clone for CertBuilder[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CertBuilder[src]

Auto Trait Implementations

impl Send for CertBuilder

impl Sync for CertBuilder

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.