Class ZskDnssecKeyVersion


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20180115")
    public final class ZskDnssecKeyVersion
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    A zone signing key (ZSK) version.

    The version information contains timing and configuration data for the ZSK that is used to apply DNSSEC on the zone.
    Note: Objects should always be created or deserialized using the ZskDnssecKeyVersion.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the ZskDnssecKeyVersion.Builder, which maintain a set of all explicitly set fields called ZskDnssecKeyVersion.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).

    • Constructor Detail

      • ZskDnssecKeyVersion

        @Deprecated
        @ConstructorProperties({"uuid","algorithm","lengthInBytes","timeCreated","timePublished","timeActivated","timeInactivated","timeUnpublished","timeExpired","timePromoted","predecessorDnssecKeyVersionUuid","successorDnssecKeyVersionUuid","keyTag"})
        public ZskDnssecKeyVersion​(String uuid,
                                   DnssecSigningAlgorithm algorithm,
                                   Integer lengthInBytes,
                                   Date timeCreated,
                                   Date timePublished,
                                   Date timeActivated,
                                   Date timeInactivated,
                                   Date timeUnpublished,
                                   Date timeExpired,
                                   Date timePromoted,
                                   String predecessorDnssecKeyVersionUuid,
                                   String successorDnssecKeyVersionUuid,
                                   Integer keyTag)
        Deprecated.
    • Method Detail

      • getUuid

        public String getUuid()
        The UUID of the DnssecKeyVersion.
        Returns:
        the value
      • getAlgorithm

        public DnssecSigningAlgorithm getAlgorithm()
        The signing algorithm used for the key.
        Returns:
        the value
      • getLengthInBytes

        public Integer getLengthInBytes()
        The length of the corresponding private key in bytes, expressed as an integer.
        Returns:
        the value
      • getTimeCreated

        public Date getTimeCreated()
        The date and time the key version was created, expressed in RFC 3339 timestamp format.

        *Example:** 2016-07-22T17:23:59:00Z

        Returns:
        the value
      • getTimePublished

        public Date getTimePublished()
        The date and time the key version was, or will be, published, expressed in RFC 3339 timestamp format.

        This is when the zone contents will include a DNSKEY record corresponding to the key material.

        *Example:** 2016-07-22T17:23:59:00Z

        Returns:
        the value
      • getTimeActivated

        public Date getTimeActivated()
        The date and time the key version went, or will go, active, expressed in RFC 3339 timestamp format.

        This is when the key material will be used to generate RRSIGs.

        *Example:** 2016-07-22T17:23:59:00Z

        Returns:
        the value
      • getTimeInactivated

        public Date getTimeInactivated()
        The date and time the key version went, or will go, inactive, expressed in RFC 3339 timestamp format.

        This is when the key material will no longer be used to generate RRSIGs. For a key signing key (KSK) DnssecKeyVersion, this is populated after PromoteZoneDnssecKeyVersion has been called on its successor DnssecKeyVersion.

        *Example:** 2016-07-22T17:23:59:00Z

        Returns:
        the value
      • getTimeUnpublished

        public Date getTimeUnpublished()
        The date and time the key version was, or will be, unpublished, expressed in RFC 3339 timestamp format.

        This is when the corresponding DNSKEY will be removed from zone contents. For a key signing key (KSK) DnssecKeyVersion, this is populated after PromoteZoneDnssecKeyVersion has been called on its successor DnssecKeyVersion.

        *Example:** 2016-07-22T17:23:59:00Z

        Returns:
        the value
      • getTimeExpired

        public Date getTimeExpired()
        The date and time at which the recommended key version publication/activation lifetime ends, expressed in RFC 3339 timestamp format.

        This is when the corresponding DNSKEY should no longer exist in zone contents and no longer be used to generate RRSIGs. For a key sigining key (KSK), if PromoteZoneDnssecKeyVersion has not been called on this DnssecKeyVersion’s successor then it will remain active for arbitrarily long past its recommended lifetime. This prevents service disruption at the potential increased risk of key compromise.

        *Example:** 2016-07-22T17:23:59:00Z

        Returns:
        the value
      • getTimePromoted

        public Date getTimePromoted()
        The date and time the key version was promoted expressed in RFC 3339 timestamp format.

        *Example:** 2016-07-22T17:23:59:00Z

        Returns:
        the value
      • getPredecessorDnssecKeyVersionUuid

        public String getPredecessorDnssecKeyVersionUuid()
        When populated, this is the UUID of the DnssecKeyVersion that this DnssecKeyVersion will replace or has replaced.
        Returns:
        the value
      • getSuccessorDnssecKeyVersionUuid

        public String getSuccessorDnssecKeyVersionUuid()
        When populated, this is the UUID of the DnssecKeyVersion that will replace, or has replaced, this DnssecKeyVersion.
        Returns:
        the value
      • getKeyTag

        public Integer getKeyTag()
        The key tag associated with the DnssecKeyVersion.

        This key tag will be present in the RRSIG and DS records associated with the key material for this DnssecKeyVersion. For more information about key tags, see RFC 4034.

        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel