#[non_exhaustive]pub struct DnssecSigningAttributesBuilder { /* private fields */ }
Expand description
A builder for DnssecSigningAttributes
.
Implementations§
source§impl DnssecSigningAttributesBuilder
impl DnssecSigningAttributesBuilder
sourcepub fn algorithm(self, input: i32) -> Self
pub fn algorithm(self, input: i32) -> Self
Algorithm which was used to generate the digest from the public key.
sourcepub fn set_algorithm(self, input: Option<i32>) -> Self
pub fn set_algorithm(self, input: Option<i32>) -> Self
Algorithm which was used to generate the digest from the public key.
sourcepub fn get_algorithm(&self) -> &Option<i32>
pub fn get_algorithm(&self) -> &Option<i32>
Algorithm which was used to generate the digest from the public key.
sourcepub fn flags(self, input: i32) -> Self
pub fn flags(self, input: i32) -> Self
Defines the type of key. It can be either a KSK (key-signing-key, value 257) or ZSK (zone-signing-key, value 256). Using KSK is always encouraged. Only use ZSK if your DNS provider isn't Route 53 and you don’t have KSK available.
If you have KSK and ZSK keys, always use KSK to create a delegations signer (DS) record. If you have ZSK keys only – use ZSK to create a DS record.
sourcepub fn set_flags(self, input: Option<i32>) -> Self
pub fn set_flags(self, input: Option<i32>) -> Self
Defines the type of key. It can be either a KSK (key-signing-key, value 257) or ZSK (zone-signing-key, value 256). Using KSK is always encouraged. Only use ZSK if your DNS provider isn't Route 53 and you don’t have KSK available.
If you have KSK and ZSK keys, always use KSK to create a delegations signer (DS) record. If you have ZSK keys only – use ZSK to create a DS record.
sourcepub fn get_flags(&self) -> &Option<i32>
pub fn get_flags(&self) -> &Option<i32>
Defines the type of key. It can be either a KSK (key-signing-key, value 257) or ZSK (zone-signing-key, value 256). Using KSK is always encouraged. Only use ZSK if your DNS provider isn't Route 53 and you don’t have KSK available.
If you have KSK and ZSK keys, always use KSK to create a delegations signer (DS) record. If you have ZSK keys only – use ZSK to create a DS record.
sourcepub fn public_key(self, input: impl Into<String>) -> Self
pub fn public_key(self, input: impl Into<String>) -> Self
The base64-encoded public key part of the key pair that is passed to the registry.
sourcepub fn set_public_key(self, input: Option<String>) -> Self
pub fn set_public_key(self, input: Option<String>) -> Self
The base64-encoded public key part of the key pair that is passed to the registry.
sourcepub fn get_public_key(&self) -> &Option<String>
pub fn get_public_key(&self) -> &Option<String>
The base64-encoded public key part of the key pair that is passed to the registry.
sourcepub fn build(self) -> DnssecSigningAttributes
pub fn build(self) -> DnssecSigningAttributes
Consumes the builder and constructs a DnssecSigningAttributes
.
Trait Implementations§
source§impl Clone for DnssecSigningAttributesBuilder
impl Clone for DnssecSigningAttributesBuilder
source§fn clone(&self) -> DnssecSigningAttributesBuilder
fn clone(&self) -> DnssecSigningAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DnssecSigningAttributesBuilder
impl Default for DnssecSigningAttributesBuilder
source§fn default() -> DnssecSigningAttributesBuilder
fn default() -> DnssecSigningAttributesBuilder
source§impl PartialEq for DnssecSigningAttributesBuilder
impl PartialEq for DnssecSigningAttributesBuilder
source§fn eq(&self, other: &DnssecSigningAttributesBuilder) -> bool
fn eq(&self, other: &DnssecSigningAttributesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DnssecSigningAttributesBuilder
Auto Trait Implementations§
impl Freeze for DnssecSigningAttributesBuilder
impl RefUnwindSafe for DnssecSigningAttributesBuilder
impl Send for DnssecSigningAttributesBuilder
impl Sync for DnssecSigningAttributesBuilder
impl Unpin for DnssecSigningAttributesBuilder
impl UnwindSafe for DnssecSigningAttributesBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more