Class DnssecKey
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DnssecKey.Builder,
DnssecKey>
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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Integer
The number of the public key’s cryptographic algorithm according to an IANA assignment.static DnssecKey.Builder
builder()
final String
digest()
The delegation signer digest.final Integer
The number of the DS digest algorithm according to an IANA assignment.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Integer
flags()
Defines the type of key.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
id()
An ID assigned to each DS record created by AssociateDelegationSignerToDomain.final Integer
keyTag()
A numeric identification of the DNSKEY record referred to by this DS record.final String
The base64-encoded public key part of the key pair that is passed to the registry .static Class
<? extends DnssecKey.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
algorithm
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.
- Returns:
- 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
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.
- Returns:
- 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.
-
publicKey
The base64-encoded public key part of the key pair that is passed to the registry .
- Returns:
- The base64-encoded public key part of the key pair that is passed to the registry .
-
digestType
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.
- Returns:
- 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
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.
- Returns:
- 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.
-
keyTag
A numeric identification of the DNSKEY record referred to by this DS record.
- Returns:
- A numeric identification of the DNSKEY record referred to by this DS record.
-
id
An ID assigned to each DS record created by AssociateDelegationSignerToDomain.
- Returns:
- An ID assigned to each DS record created by AssociateDelegationSignerToDomain.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<DnssecKey.Builder,
DnssecKey> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-