#[non_exhaustive]pub struct RootCertificatePublicKeyBuilder { /* private fields */ }
Expand description
A builder for RootCertificatePublicKey
.
Implementations§
source§impl RootCertificatePublicKeyBuilder
impl RootCertificatePublicKeyBuilder
sourcepub fn key_attributes(self, input: KeyAttributes) -> Self
pub fn key_attributes(self, input: KeyAttributes) -> Self
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the root public key is imported.
sourcepub fn set_key_attributes(self, input: Option<KeyAttributes>) -> Self
pub fn set_key_attributes(self, input: Option<KeyAttributes>) -> Self
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the root public key is imported.
sourcepub fn get_key_attributes(&self) -> &Option<KeyAttributes>
pub fn get_key_attributes(&self) -> &Option<KeyAttributes>
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the root public key is imported.
sourcepub fn public_key_certificate(self, input: impl Into<String>) -> Self
pub fn public_key_certificate(self, input: impl Into<String>) -> Self
Parameter information for root public key certificate import.
sourcepub fn set_public_key_certificate(self, input: Option<String>) -> Self
pub fn set_public_key_certificate(self, input: Option<String>) -> Self
Parameter information for root public key certificate import.
sourcepub fn get_public_key_certificate(&self) -> &Option<String>
pub fn get_public_key_certificate(&self) -> &Option<String>
Parameter information for root public key certificate import.
sourcepub fn build(self) -> RootCertificatePublicKey
pub fn build(self) -> RootCertificatePublicKey
Consumes the builder and constructs a RootCertificatePublicKey
.
Trait Implementations§
source§impl Clone for RootCertificatePublicKeyBuilder
impl Clone for RootCertificatePublicKeyBuilder
source§fn clone(&self) -> RootCertificatePublicKeyBuilder
fn clone(&self) -> RootCertificatePublicKeyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RootCertificatePublicKeyBuilder
impl Default for RootCertificatePublicKeyBuilder
source§fn default() -> RootCertificatePublicKeyBuilder
fn default() -> RootCertificatePublicKeyBuilder
source§impl PartialEq for RootCertificatePublicKeyBuilder
impl PartialEq for RootCertificatePublicKeyBuilder
source§fn eq(&self, other: &RootCertificatePublicKeyBuilder) -> bool
fn eq(&self, other: &RootCertificatePublicKeyBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.