Class DnssecKey
- java.lang.Object
-
- software.amazon.awssdk.services.route53domains.model.DnssecKey
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DnssecKey.Builder,DnssecKey>
@Generated("software.amazon.awssdk:codegen") public final class DnssecKey extends Object implements SdkPojo, Serializable, 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDnssecKey.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integeralgorithm()The number of the public key’s cryptographic algorithm according to an IANA assignment.static DnssecKey.Builderbuilder()Stringdigest()The delegation signer digest.IntegerdigestType()The number of the DS digest algorithm according to an IANA assignment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Integerflags()Defines the type of key.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()An ID assigned to each DS record created by AssociateDelegationSignerToDomain.IntegerkeyTag()A numeric identification of the DNSKEY record referred to by this DS record.StringpublicKey()The base64-encoded public key part of the key pair that is passed to the registry .Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DnssecKey.Builder>serializableBuilderClass()DnssecKey.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
algorithm
public final Integer 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
public final Integer 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
public final String 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
public final Integer 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
public final String 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
public final Integer 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
public final String id()
An ID assigned to each DS record created by AssociateDelegationSignerToDomain.
- Returns:
- An ID assigned to each DS record created by AssociateDelegationSignerToDomain.
-
toBuilder
public DnssecKey.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DnssecKey.Builder,DnssecKey>
-
builder
public static DnssecKey.Builder builder()
-
serializableBuilderClass
public static Class<? extends DnssecKey.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-