Interface DnssecKey.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DnssecKey.Builder,DnssecKey>, SdkBuilder<DnssecKey.Builder,DnssecKey>, SdkPojo
Enclosing class:
DnssecKey

public static interface DnssecKey.Builder extends SdkPojo, CopyableBuilder<DnssecKey.Builder,DnssecKey>
  • Method Details

    • algorithm

      DnssecKey.Builder algorithm(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • flags

      DnssecKey.Builder flags(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • publicKey

      DnssecKey.Builder publicKey(String publicKey)

      The base64-encoded public key part of the key pair that is passed to the registry .

      Parameters:
      publicKey - The base64-encoded public key part of the key pair that is passed to the registry .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • digestType

      DnssecKey.Builder digestType(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • digest

      DnssecKey.Builder digest(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • keyTag

      DnssecKey.Builder keyTag(Integer keyTag)

      A numeric identification of the DNSKEY record referred to by this DS record.

      Parameters:
      keyTag - A numeric identification of the DNSKEY record referred to by this DS record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      An ID assigned to each DS record created by AssociateDelegationSignerToDomain.

      Parameters:
      id - An ID assigned to each DS record created by AssociateDelegationSignerToDomain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.