Struct aws_sdk_route53domains::types::DnssecKey
source · #[non_exhaustive]pub struct DnssecKey {
pub algorithm: Option<i32>,
pub flags: Option<i32>,
pub public_key: Option<String>,
pub digest_type: Option<i32>,
pub digest: Option<String>,
pub key_tag: Option<i32>,
pub id: Option<String>,
}
Expand description
Information about the DNSSEC key.
You get this from your DNS provider and then give it to Route 53 (by using AssociateDelegationSignerToDomain) to pass it to the registry to establish the chain of trust.
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>
The number of the public key’s cryptographic algorithm according to an IANA assignment.
If Route 53 is your DNS service, set this to 13.
For more information about enabling DNSSEC signing, see Enabling DNSSEC signing and establishing a chain of trust.
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 .
digest_type: Option<i32>
The number of the DS digest algorithm according to an IANA assignment.
For more information, see IANA for DNSSEC Delegation Signer (DS) Resource Record (RR) Type Digest Algorithms.
digest: Option<String>
The delegation signer digest.
Digest is calculated from the public key provided using specified digest algorithm and this digest is the actual value returned from the registry nameservers as the value of DS records.
key_tag: Option<i32>
A numeric identification of the DNSKEY record referred to by this DS record.
id: Option<String>
An ID assigned to each DS record created by AssociateDelegationSignerToDomain.
Implementations§
source§impl DnssecKey
impl DnssecKey
sourcepub fn algorithm(&self) -> Option<i32>
pub fn algorithm(&self) -> Option<i32>
The number of the public key’s cryptographic algorithm according to an IANA assignment.
If Route 53 is your DNS service, set this to 13.
For more information about enabling DNSSEC signing, see Enabling DNSSEC signing and establishing a chain of trust.
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 .
sourcepub fn digest_type(&self) -> Option<i32>
pub fn digest_type(&self) -> Option<i32>
The number of the DS digest algorithm according to an IANA assignment.
For more information, see IANA for DNSSEC Delegation Signer (DS) Resource Record (RR) Type Digest Algorithms.
sourcepub fn digest(&self) -> Option<&str>
pub fn digest(&self) -> Option<&str>
The delegation signer digest.
Digest is calculated from the public key provided using specified digest algorithm and this digest is the actual value returned from the registry nameservers as the value of DS records.
sourcepub fn key_tag(&self) -> Option<i32>
pub fn key_tag(&self) -> Option<i32>
A numeric identification of the DNSKEY record referred to by this DS record.
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
An ID assigned to each DS record created by AssociateDelegationSignerToDomain.
Trait Implementations§
source§impl PartialEq for DnssecKey
impl PartialEq for DnssecKey
impl StructuralPartialEq for DnssecKey
Auto Trait Implementations§
impl Freeze for DnssecKey
impl RefUnwindSafe for DnssecKey
impl Send for DnssecKey
impl Sync for DnssecKey
impl Unpin for DnssecKey
impl UnwindSafe for DnssecKey
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