[−][src]Struct rpki::cert::builder::CertBuilder
Methods
impl CertBuilder
[src]
pub fn new(
serial_number: u128,
issuer: Name,
validity: Validity,
ca: bool
) -> Self
[src]
serial_number: u128,
issuer: Name,
validity: Validity,
ca: bool
) -> Self
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]
F: FnOnce(&mut IpBlocksBuilder),
pub fn v6_blocks<F>(&mut self, build: F) -> &mut Self where
F: FnOnce(&mut IpBlocksBuilder),
[src]
F: FnOnce(&mut IpBlocksBuilder),
pub fn as_blocks<F>(&mut self, build: F) -> &mut Self where
F: FnOnce(&mut AsBlocksBuilder),
[src]
F: FnOnce(&mut AsBlocksBuilder),
pub fn encode<S: Signer>(
self,
signer: &S,
key: &S::KeyId,
alg: SignatureAlgorithm,
public_key: &PublicKey
) -> Result<impl Values, SigningError<S::Error>>
[src]
self,
signer: &S,
key: &S::KeyId,
alg: SignatureAlgorithm,
public_key: &PublicKey
) -> Result<impl Values, SigningError<S::Error>>
Finalizes the certificate and returns an encoder for it.
Trait Implementations
impl Clone for CertBuilder
[src]
fn clone(&self) -> 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]
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>,