@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DnssecKey extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
DnssecKey() |
Modifier and Type | Method and Description |
---|---|
DnssecKey |
clone() |
boolean |
equals(Object obj) |
Integer |
getAlgorithm()
The number of the public key’s cryptographic algorithm according to an IANA assignment.
|
String |
getDigest()
The delegation signer digest.
|
Integer |
getDigestType()
The number of the DS digest algorithm according to an IANA assignment.
|
Integer |
getFlags()
Defines the type of key.
|
String |
getId()
An ID assigned to each DS record created by AssociateDelegationSignerToDomain.
|
Integer |
getKeyTag()
A numeric identification of the DNSKEY record referred to by this DS record.
|
String |
getPublicKey()
The base64-encoded public key part of the key pair that is passed to the registry .
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlgorithm(Integer algorithm)
The number of the public key’s cryptographic algorithm according to an IANA assignment.
|
void |
setDigest(String digest)
The delegation signer digest.
|
void |
setDigestType(Integer digestType)
The number of the DS digest algorithm according to an IANA assignment.
|
void |
setFlags(Integer flags)
Defines the type of key.
|
void |
setId(String id)
An ID assigned to each DS record created by AssociateDelegationSignerToDomain.
|
void |
setKeyTag(Integer keyTag)
A numeric identification of the DNSKEY record referred to by this DS record.
|
void |
setPublicKey(String publicKey)
The base64-encoded public key part of the key pair that is passed to the registry .
|
String |
toString()
Returns a string representation of this object.
|
DnssecKey |
withAlgorithm(Integer algorithm)
The number of the public key’s cryptographic algorithm according to an IANA assignment.
|
DnssecKey |
withDigest(String digest)
The delegation signer digest.
|
DnssecKey |
withDigestType(Integer digestType)
The number of the DS digest algorithm according to an IANA assignment.
|
DnssecKey |
withFlags(Integer flags)
Defines the type of key.
|
DnssecKey |
withId(String id)
An ID assigned to each DS record created by AssociateDelegationSignerToDomain.
|
DnssecKey |
withKeyTag(Integer keyTag)
A numeric identification of the DNSKEY record referred to by this DS record.
|
DnssecKey |
withPublicKey(String publicKey)
The base64-encoded public key part of the key pair that is passed to the registry .
|
public void setAlgorithm(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.
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.
public Integer getAlgorithm()
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.
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.
public DnssecKey withAlgorithm(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.
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.
public void setFlags(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.
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.
public Integer getFlags()
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.
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 DnssecKey withFlags(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.
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.
public void setPublicKey(String publicKey)
The base64-encoded public key part of the key pair that is passed to the registry .
publicKey
- The base64-encoded public key part of the key pair that is passed to the registry .public String getPublicKey()
The base64-encoded public key part of the key pair that is passed to the registry .
public DnssecKey withPublicKey(String publicKey)
The base64-encoded public key part of the key pair that is passed to the registry .
publicKey
- The base64-encoded public key part of the key pair that is passed to the registry .public void setDigestType(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.
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.
public Integer getDigestType()
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.
For more information, see IANA for DNSSEC Delegation Signer (DS) Resource Record (RR) Type Digest Algorithms.
public DnssecKey withDigestType(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.
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.
public void setDigest(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.
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.
public String getDigest()
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.
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.
public DnssecKey withDigest(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.
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.
public void setKeyTag(Integer keyTag)
A numeric identification of the DNSKEY record referred to by this DS record.
keyTag
- A numeric identification of the DNSKEY record referred to by this DS record.public Integer getKeyTag()
A numeric identification of the DNSKEY record referred to by this DS record.
public DnssecKey withKeyTag(Integer keyTag)
A numeric identification of the DNSKEY record referred to by this DS record.
keyTag
- A numeric identification of the DNSKEY record referred to by this DS record.public void setId(String id)
An ID assigned to each DS record created by AssociateDelegationSignerToDomain.
id
- An ID assigned to each DS record created by AssociateDelegationSignerToDomain.public String getId()
An ID assigned to each DS record created by AssociateDelegationSignerToDomain.
public DnssecKey withId(String id)
An ID assigned to each DS record created by AssociateDelegationSignerToDomain.
id
- An ID assigned to each DS record created by AssociateDelegationSignerToDomain.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.