@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 the KskDnssecKeyVersion.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 KskDnssecKeyVersion.Builder
, which maintain a
set of all explicitly set fields called KskDnssecKeyVersion.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
).
Modifier and Type | Class and Description |
---|---|
static class |
KskDnssecKeyVersion.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static KskDnssecKeyVersion.Builder builder()
Create a new builder.
public KskDnssecKeyVersion.Builder toBuilder()
public String getUuid()
The UUID of the DnssecKeyVersion
.
public DnssecSigningAlgorithm getAlgorithm()
The signing algorithm used for the key.
public Integer getLengthInBytes()
The length of the corresponding private key in bytes, expressed as an integer.
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
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
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
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
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
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
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
public String getPredecessorDnssecKeyVersionUuid()
When populated, this is the UUID of the DnssecKeyVersion
that this DnssecKeyVersion
will replace or has replaced.
public String getSuccessorDnssecKeyVersionUuid()
When populated, this is the UUID of the DnssecKeyVersion
that will replace, or has
replaced, this DnssecKeyVersion
.
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.
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.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.