pub struct CertificateBuilder { /* private fields */ }
Expand description
Builder to configure TLS CertificateParams to be finalized into either a Ca or an EndEntity.
Implementations§
Source§impl CertificateBuilder
impl CertificateBuilder
Sourcepub fn signature_algorithm(self, alg: KeyPairAlgorithm) -> Result<Self>
pub fn signature_algorithm(self, alg: KeyPairAlgorithm) -> Result<Self>
Set signature algorithm (instead of default).
Set options for Ca Certificates
§Example
let cert = CertificateBuilder::new().certificate_authority();
Sourcepub fn end_entity(self) -> EndEntityBuilder
pub fn end_entity(self) -> EndEntityBuilder
Set options for EndEntity
Certificates
Trait Implementations§
Source§impl Default for CertificateBuilder
impl Default for CertificateBuilder
Source§fn default() -> CertificateBuilder
fn default() -> CertificateBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CertificateBuilder
impl RefUnwindSafe for CertificateBuilder
impl Send for CertificateBuilder
impl Sync for CertificateBuilder
impl Unpin for CertificateBuilder
impl UnwindSafe for CertificateBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more