Class KskDnssecKeyVersion
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.dns.model.KskDnssecKeyVersion
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20180115") public final class KskDnssecKeyVersion extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A key signing key (KSK) version.The version information contains timing and configuration data corresponding to the KSK that is used to apply DNSSEC on the zone.
Note: Objects should always be created or deserialized using theKskDnssecKeyVersion.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 theKskDnssecKeyVersion.Builder
, which maintain a set of all explicitly set fields calledKskDnssecKeyVersion.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KskDnssecKeyVersion.Builder
-
Constructor Summary
Constructors Constructor Description KskDnssecKeyVersion(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, List<DnssecKeyVersionDsData> dsData)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KskDnssecKeyVersion.Builder
builder()
Create a new builder.boolean
equals(Object o)
DnssecSigningAlgorithm
getAlgorithm()
The signing algorithm used for the key.List<DnssecKeyVersionDsData>
getDsData()
An array of data for DS records corresponding with this key version.Integer
getKeyTag()
The key tag associated with the DnssecKeyVersion.Integer
getLengthInBytes()
The length of the corresponding private key in bytes, expressed as an integer.String
getPredecessorDnssecKeyVersionUuid()
When populated, this is the UUID of the DnssecKeyVersion that this DnssecKeyVersion will replace or has replaced.String
getSuccessorDnssecKeyVersionUuid()
When populated, this is the UUID of the DnssecKeyVersion that will replace, or has replaced, this DnssecKeyVersion.Date
getTimeActivated()
The date and time the key version went, or will go, active, expressed in RFC 3339 timestamp format.Date
getTimeCreated()
The date and time the key version was created, expressed in RFC 3339 timestamp format.Date
getTimeExpired()
The date and time at which the recommended key version publication/activation lifetime ends, expressed in RFC 3339 timestamp format.Date
getTimeInactivated()
The date and time the key version went, or will go, inactive, expressed in RFC 3339 timestamp format.Date
getTimePromoted()
The date and time the key version was promoted expressed in RFC 3339 timestamp format.Date
getTimePublished()
The date and time the key version was, or will be, published, expressed in RFC 3339 timestamp format.Date
getTimeUnpublished()
The date and time the key version was, or will be, unpublished, expressed in RFC 3339 timestamp format.String
getUuid()
The UUID of the DnssecKeyVersion.int
hashCode()
KskDnssecKeyVersion.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
KskDnssecKeyVersion
@Deprecated @ConstructorProperties({"uuid","algorithm","lengthInBytes","timeCreated","timePublished","timeActivated","timeInactivated","timeUnpublished","timeExpired","timePromoted","predecessorDnssecKeyVersionUuid","successorDnssecKeyVersionUuid","keyTag","dsData"}) public KskDnssecKeyVersion(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, List<DnssecKeyVersionDsData> dsData)
Deprecated.
-
-
Method Detail
-
builder
public static KskDnssecKeyVersion.Builder builder()
Create a new builder.
-
toBuilder
public KskDnssecKeyVersion.Builder toBuilder()
-
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
-
getDsData
public List<DnssecKeyVersionDsData> getDsData()
An array of data for DS records corresponding with this key version.An entry will exist for each supported DS digest algorithm.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.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 classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-