Class ImportedCertificateManagedCsrResponse
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.ImportedCertificateManagedCsrResponse
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ImportedCertificateManagedCsrResponse extends com.ibm.cloud.sdk.core.service.model.GenericModelThe data specified to create the CSR and the private key.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImportedCertificateManagedCsrResponse.KeyTypeThe type of private key to generate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAltNames()Gets the altNames.StringgetCommonName()Gets the commonName.List<String>getCountry()Gets the country.StringgetCsr()Gets the csr.StringgetExtKeyUsage()Gets the extKeyUsage.StringgetExtKeyUsageOids()Gets the extKeyUsageOids.StringgetIpSans()Gets the ipSans.LonggetKeyBits()Gets the keyBits.StringgetKeyType()Gets the keyType.StringgetKeyUsage()Gets the keyUsage.List<String>getLocality()Gets the locality.List<String>getOrganization()Gets the organization.StringgetOtherSans()Gets the otherSans.List<String>getOu()Gets the ou.StringgetPolicyIdentifiers()Gets the policyIdentifiers.List<String>getPostalCode()Gets the postalCode.StringgetPrivateKey()Gets the privateKey.List<String>getProvince()Gets the province.List<String>getStreetAddress()Gets the streetAddress.StringgetUriSans()Gets the uriSans.StringgetUserIds()Gets the userIds.BooleanisClientFlag()Gets the clientFlag.BooleanisCodeSigningFlag()Gets the codeSigningFlag.BooleanisEmailProtectionFlag()Gets the emailProtectionFlag.BooleanisExcludeCnFromSans()Gets the excludeCnFromSans.BooleanisRequireCn()Gets the requireCn.BooleanisRotateKeys()Gets the rotateKeys.BooleanisServerFlag()Gets the serverFlag.
-
-
-
Method Detail
-
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
-
isRequireCn
public Boolean isRequireCn()
Gets the requireCn. If set to false, makes the common_name field optional while generating a certificate.- Returns:
- the requireCn
-
getCommonName
public String getCommonName()
Gets the commonName. The Common Name (CN) represents the server name protected by the SSL certificate.- Returns:
- the commonName
-
getAltNames
public 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 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 certificate, in a comma-delimited list.- Returns:
- the uriSans
-
getOtherSans
public String getOtherSans()
Gets the otherSans. The custom Object Identifier (OID) or UTF8-string Subject Alternative Names to define for the certificate, in a comma-delimited list. The format is the same as OpenSSL: `<oid>:<type>:<value>` where the current valid type is `UTF8`.- Returns:
- the otherSans
-
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
-
getUserIds
public String getUserIds()
Gets the userIds. Specifies the list of requested User ID (OID 0.9.2342.19200300.100.1.1) Subject values to be placed on the signed certificate.- Returns:
- the userIds
-
isServerFlag
public Boolean isServerFlag()
Gets the serverFlag. This field indicates whether certificate is flagged for server use.- Returns:
- the serverFlag
-
isClientFlag
public Boolean isClientFlag()
Gets the clientFlag. This field indicates whether certificate is flagged for client use.- Returns:
- the clientFlag
-
isCodeSigningFlag
public Boolean isCodeSigningFlag()
Gets the codeSigningFlag. This field indicates whether certificate is flagged for code signing use.- Returns:
- the codeSigningFlag
-
isEmailProtectionFlag
public Boolean isEmailProtectionFlag()
Gets the emailProtectionFlag. This field indicates whether certificate is flagged for email protection use.- Returns:
- the emailProtectionFlag
-
getKeyType
public String getKeyType()
Gets the keyType. The type of private key to generate.- Returns:
- the keyType
-
getKeyBits
public Long getKeyBits()
Gets the keyBits. The number of bits to use to generate the private key. Allowable values for RSA keys are: `2048`, `3072`, `4096` and `8192`. Allowable values for EC keys are: `224`, `256`, `384`, and `521`. The default for RSA keys is `2048`. The default for EC keys is `256`. Ignored for ed25519 keys.- Returns:
- the keyBits
-
getKeyUsage
public String getKeyUsage()
Gets the keyUsage. The allowed key usage constraint to define for certificate, in a comma-delimited list. You can find valid values in the [Go x509 package documentation](https://pkg.go.dev/crypto/x509#KeyUsage). Omit the `KeyUsage` part of the value. Values are not case-sensitive. To specify no key usage constraints, set this field to an empty string.- Returns:
- the keyUsage
-
getExtKeyUsage
public String getExtKeyUsage()
Gets the extKeyUsage. The allowed extended key usage constraint on certificate, in a comma-delimited list. You can find valid values in the [Go x509 package documentation](https://golang.org/pkg/crypto/x509/#ExtKeyUsage). Omit the `ExtKeyUsage` part of the value. Values are not case-sensitive. To specify no key usage constraints, set this field to an empty string.- Returns:
- the extKeyUsage
-
getPolicyIdentifiers
public String getPolicyIdentifiers()
Gets the policyIdentifiers. A comma-delimited list of policy Object Identifiers (OIDs).- Returns:
- the policyIdentifiers
-
getExtKeyUsageOids
public String getExtKeyUsageOids()
Gets the extKeyUsageOids. A comma-delimited list of extended key usage Object Identifiers (OIDs).- Returns:
- the extKeyUsageOids
-
isRotateKeys
public Boolean isRotateKeys()
Gets the rotateKeys. This field indicates whether the private key will be rotated.- Returns:
- the rotateKeys
-
getCsr
public String getCsr()
Gets the csr. The certificate signing request.- Returns:
- the csr
-
getPrivateKey
public String getPrivateKey()
Gets the privateKey. The PEM-encoded private key that is associated with the certificate. The data must be formatted on a single line with embedded newline characters.- Returns:
- the privateKey
-
-