#[non_exhaustive]pub struct DnssecSigningAttributes {
pub algorithm: Option<i32>,
pub flags: Option<i32>,
pub public_key: Option<String>,
}
Expand description
Information about a delegation signer (DS) record that was created in the registry by AssociateDelegationSignerToDomain.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.algorithm: Option<i32>
Algorithm which was used to generate the digest from the public key.
flags: 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.
public_key: Option<String>
The base64-encoded public key part of the key pair that is passed to the registry.
Implementations§
source§impl DnssecSigningAttributes
impl DnssecSigningAttributes
sourcepub fn algorithm(&self) -> Option<i32>
pub fn algorithm(&self) -> Option<i32>
Algorithm which was used to generate the digest from the public key.
sourcepub fn flags(&self) -> Option<i32>
pub fn 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) -> Option<&str>
pub fn public_key(&self) -> Option<&str>
The base64-encoded public key part of the key pair that is passed to the registry.
source§impl DnssecSigningAttributes
impl DnssecSigningAttributes
sourcepub fn builder() -> DnssecSigningAttributesBuilder
pub fn builder() -> DnssecSigningAttributesBuilder
Creates a new builder-style object to manufacture DnssecSigningAttributes
.
Trait Implementations§
source§impl Clone for DnssecSigningAttributes
impl Clone for DnssecSigningAttributes
source§fn clone(&self) -> DnssecSigningAttributes
fn clone(&self) -> DnssecSigningAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DnssecSigningAttributes
impl Debug for DnssecSigningAttributes
source§impl PartialEq for DnssecSigningAttributes
impl PartialEq for DnssecSigningAttributes
source§fn eq(&self, other: &DnssecSigningAttributes) -> bool
fn eq(&self, other: &DnssecSigningAttributes) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DnssecSigningAttributes
Auto Trait Implementations§
impl Freeze for DnssecSigningAttributes
impl RefUnwindSafe for DnssecSigningAttributes
impl Send for DnssecSigningAttributes
impl Sync for DnssecSigningAttributes
impl Unpin for DnssecSigningAttributes
impl UnwindSafe for DnssecSigningAttributes
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