@Generated(value="OracleSDKGenerator", comments="API Version: 20210224") public final class CertificateAuthorityIssuanceExpiryRule extends CertificateAuthorityRule
A rule that enforces how long certificates or certificate authorities (CAs) issued by this
particular CA are valid. You must include either or both leafCertificateMaxValidityDuration
and certificateAuthorityMaxValidityDuration
.
Note: Objects should always be created or deserialized using the CertificateAuthorityIssuanceExpiryRule.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 CertificateAuthorityIssuanceExpiryRule.Builder
, which maintain a
set of all explicitly set fields called CertificateAuthorityIssuanceExpiryRule.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 |
CertificateAuthorityIssuanceExpiryRule.Builder |
CertificateAuthorityRule.RuleType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CertificateAuthorityIssuanceExpiryRule(String leafCertificateMaxValidityDuration,
String certificateAuthorityMaxValidityDuration)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CertificateAuthorityIssuanceExpiryRule.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCertificateAuthorityMaxValidityDuration()
A property indicating the maximum validity duration, in days, of subordinate CA’s issued by
this CA.
|
String |
getLeafCertificateMaxValidityDuration()
A property indicating the maximum validity duration, in days, of leaf certificates issued by
this CA.
|
int |
hashCode() |
CertificateAuthorityIssuanceExpiryRule.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CertificateAuthorityIssuanceExpiryRule(String leafCertificateMaxValidityDuration, String certificateAuthorityMaxValidityDuration)
public static CertificateAuthorityIssuanceExpiryRule.Builder builder()
Create a new builder.
public CertificateAuthorityIssuanceExpiryRule.Builder toBuilder()
public String getLeafCertificateMaxValidityDuration()
A property indicating the maximum validity duration, in days, of leaf certificates issued by this CA. Expressed in ISO 8601 format.
public String getCertificateAuthorityMaxValidityDuration()
A property indicating the maximum validity duration, in days, of subordinate CA’s issued by this CA. Expressed in ISO 8601 format.
public String toString()
toString
in class CertificateAuthorityRule
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class CertificateAuthorityRule
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class CertificateAuthorityRule
public int hashCode()
hashCode
in class CertificateAuthorityRule
Copyright © 2016–2024. All rights reserved.