Class ImportedCertificateManagedCsr

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class ImportedCertificateManagedCsr
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The data specified to create the CSR and the private key.
    • Method Detail

      • ou

        public List<String> ou()
        Gets the ou. The Organizational Unit (OU) values to define in the subject field of the resulting certificate.
        Returns:
        the ou
      • organization

        public List<String> organization()
        Gets the organization. The Organization (O) values to define in the subject field of the resulting certificate.
        Returns:
        the organization
      • country

        public List<String> country()
        Gets the country. The Country (C) values to define in the subject field of the resulting certificate.
        Returns:
        the country
      • locality

        public List<String> locality()
        Gets the locality. The Locality (L) values to define in the subject field of the resulting certificate.
        Returns:
        the locality
      • province

        public List<String> province()
        Gets the province. The Province (ST) values to define in the subject field of the resulting certificate.
        Returns:
        the province
      • streetAddress

        public List<String> streetAddress()
        Gets the streetAddress. The street address values to define in the subject field of the resulting certificate.
        Returns:
        the streetAddress
      • postalCode

        public List<String> postalCode()
        Gets the postalCode. The postal code values to define in the subject field of the resulting certificate.
        Returns:
        the postalCode
      • requireCn

        public Boolean requireCn()
        Gets the requireCn. If set to false, makes the common_name field optional while generating a certificate.
        Returns:
        the requireCn
      • commonName

        public String commonName()
        Gets the commonName. The Common Name (CN) represents the server name protected by the SSL certificate.
        Returns:
        the commonName
      • altNames

        public String altNames()
        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
      • ipSans

        public String ipSans()
        Gets the ipSans. The IP Subject Alternative Names to define for the certificate, in a comma-delimited list.
        Returns:
        the ipSans
      • uriSans

        public String uriSans()
        Gets the uriSans. The URI Subject Alternative Names to define for the certificate, in a comma-delimited list.
        Returns:
        the uriSans
      • otherSans

        public String otherSans()
        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
      • excludeCnFromSans

        public Boolean excludeCnFromSans()
        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
      • userIds

        public String userIds()
        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
      • serverFlag

        public Boolean serverFlag()
        Gets the serverFlag. This field indicates whether certificate is flagged for server use.
        Returns:
        the serverFlag
      • clientFlag

        public Boolean clientFlag()
        Gets the clientFlag. This field indicates whether certificate is flagged for client use.
        Returns:
        the clientFlag
      • codeSigningFlag

        public Boolean codeSigningFlag()
        Gets the codeSigningFlag. This field indicates whether certificate is flagged for code signing use.
        Returns:
        the codeSigningFlag
      • emailProtectionFlag

        public Boolean emailProtectionFlag()
        Gets the emailProtectionFlag. This field indicates whether certificate is flagged for email protection use.
        Returns:
        the emailProtectionFlag
      • keyType

        public String keyType()
        Gets the keyType. The type of private key to generate.
        Returns:
        the keyType
      • keyBits

        public Long keyBits()
        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
      • keyUsage

        public String keyUsage()
        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
      • extKeyUsage

        public String extKeyUsage()
        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
      • policyIdentifiers

        public String policyIdentifiers()
        Gets the policyIdentifiers. A comma-delimited list of policy Object Identifiers (OIDs).
        Returns:
        the policyIdentifiers
      • extKeyUsageOids

        public String extKeyUsageOids()
        Gets the extKeyUsageOids. A comma-delimited list of extended key usage Object Identifiers (OIDs).
        Returns:
        the extKeyUsageOids
      • rotateKeys

        public Boolean rotateKeys()
        Gets the rotateKeys. This field indicates whether the private key will be rotated.
        Returns:
        the rotateKeys