Class PrivateCertificateConfigurationRotateAction
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.PrivateCertificateConfigurationRotateAction
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PrivateCertificateConfigurationRotateAction extends com.ibm.cloud.sdk.core.service.model.GenericModelThe response body of the action to rotate an intermediate certificate authority for the private certificate configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePrivateCertificateConfigurationRotateAction.FormatThe format of the returned data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getAltNames()Gets the altNames.StringgetCommonName()Gets the commonName.List<String>getCountry()Gets the country.StringgetCsr()Gets the csr.PrivateCertificateConfigurationCACertificategetData()Gets the data.StringgetFormat()Gets the format.StringgetIpSans()Gets the ipSans.List<String>getLocality()Gets the locality.LonggetMaxPathLength()Gets the maxPathLength.List<String>getOrganization()Gets the organization.List<String>getOtherSans()Gets the otherSans.List<String>getOu()Gets the ou.List<String>getPermittedDnsDomains()Gets the permittedDnsDomains.List<String>getPostalCode()Gets the postalCode.List<String>getProvince()Gets the province.StringgetSerialNumber()Gets the serialNumber.List<String>getStreetAddress()Gets the streetAddress.LonggetTtl()Gets the ttl.StringgetUriSans()Gets the uriSans.BooleanisExcludeCnFromSans()Gets the excludeCnFromSans.BooleanisUseCsrValues()Gets the useCsrValues.
-
-
-
Method Detail
-
getCommonName
public String getCommonName()
Gets the commonName. The Common Name (CN) represents the server name that is protected by the SSL certificate.- Returns:
- the commonName
-
getAltNames
public List<String> getAltNames()
Gets the altNames. With the Subject Alternative Name field, you can specify additional hostnames to be protected by a single SSL certificate.- Returns:
- the altNames
-
getIpSans
public String getIpSans()
Gets the ipSans. The IP Subject Alternative Names to define for the CA certificate, in a comma-delimited list.- Returns:
- the ipSans
-
getUriSans
public String getUriSans()
Gets the uriSans. The URI Subject Alternative Names to define for the CA certificate, in a comma-delimited list.- Returns:
- the uriSans
-
getOtherSans
public List<String> getOtherSans()
Gets the otherSans. The custom Object Identifier (OID) or UTF8-string Subject Alternative Names to define for the CA certificate. The alternative names must match the values that are specified in the `allowed_other_sans` field in the associated certificate template. The format is the same as OpenSSL: `<oid>:<type>:<value>` where the current valid type is `UTF8`.- Returns:
- the otherSans
-
getTtl
public Long getTtl()
Gets the ttl. he requested TTL, after which the certificate expires.- Returns:
- the ttl
-
getFormat
public String getFormat()
Gets the format. The format of the returned data.- Returns:
- the format
-
getMaxPathLength
public Long getMaxPathLength()
Gets the maxPathLength. The maximum path length to encode in the generated certificate. `-1` means no limit. If the signing certificate has a maximum path length set, the path length is set to one less than that of the signing certificate. A limit of `0` means a literal path length of zero.- Returns:
- the maxPathLength
-
isExcludeCnFromSans
public Boolean isExcludeCnFromSans()
Gets the excludeCnFromSans. This parameter controls whether the common name is excluded from Subject Alternative Names (SANs). If the common name is set to `true`, it is not included in DNS, or email SANs if they apply. This field can be useful if the common name is a human-readable identifier, instead of a hostname or an email address.- Returns:
- the excludeCnFromSans
-
getPermittedDnsDomains
public List<String> getPermittedDnsDomains()
Gets the permittedDnsDomains. The allowed DNS domains or subdomains for the certificates that are to be signed and issued by this CA certificate.- Returns:
- the permittedDnsDomains
-
isUseCsrValues
public Boolean isUseCsrValues()
Gets the useCsrValues. This field indicates whether to use values from a certificate signing request (CSR) to complete a `private_cert_configuration_action_sign_csr` action. If it is set to `true`, then: 1) Subject information, including names and alternate names, are preserved from the CSR rather than by using the values that are provided in the other parameters to this operation. 2) Any key usage, for example, non-repudiation, that is requested in the CSR are added to the basic set of key usages used for CA certificates that are signed by the intermediate authority. 3) Extensions that are requested in the CSR are copied into the issued private certificate.- Returns:
- the useCsrValues
-
getOu
public List<String> getOu()
Gets the ou. The Organizational Unit (OU) values to define in the subject field of the resulting certificate.- Returns:
- the ou
-
getOrganization
public List<String> getOrganization()
Gets the organization. The Organization (O) values to define in the subject field of the resulting certificate.- Returns:
- the organization
-
getCountry
public List<String> getCountry()
Gets the country. The Country (C) values to define in the subject field of the resulting certificate.- Returns:
- the country
-
getLocality
public List<String> getLocality()
Gets the locality. The Locality (L) values to define in the subject field of the resulting certificate.- Returns:
- the locality
-
getProvince
public List<String> getProvince()
Gets the province. The Province (ST) values to define in the subject field of the resulting certificate.- Returns:
- the province
-
getStreetAddress
public List<String> getStreetAddress()
Gets the streetAddress. The street address values to define in the subject field of the resulting certificate.- Returns:
- the streetAddress
-
getPostalCode
public List<String> getPostalCode()
Gets the postalCode. The postal code values to define in the subject field of the resulting certificate.- Returns:
- the postalCode
-
getSerialNumber
public String getSerialNumber()
Gets the serialNumber. The requested value for the [`serialNumber`](https://datatracker.ietf.org/doc/html/rfc4519#section-2.31) attribute that is in the certificate's distinguished name (DN). **Note:** This field is not related to the `serial_number` field that is returned in the API response. The `serial_number` field represents the certificate's randomly assigned serial number.- Returns:
- the serialNumber
-
getCsr
public String getCsr()
Gets the csr. The certificate signing request.- Returns:
- the csr
-
getData
public PrivateCertificateConfigurationCACertificate getData()
Gets the data. The data that is associated with the root certificate authority.- Returns:
- the data
-
-