Skip to content

PcaCertificateProps

Properties for defining a PcaCertificate.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cas-pcacertificate

Initializer

using AlibabaCloud.SDK.ROS.CDK.Cas;
new PcaCertificateProps {
    object CommonName,
    object Locality,
    object Organization,
    object OrganizationUnit,
    object State,
    object Years,
    object Algorithm = null,
    object CaStatus = null,
    object CountryCode = null
};

Properties

Name Type Description
CommonName object Property commonName: The common name or abbreviation of the organization.
Locality object Property locality: Name of the city where the organization is located.
Organization object Property organization: The name of the organization (corresponding to your enterprise or company) associated with the root CA certificate.
OrganizationUnit object Property organizationUnit: The name of the department or branch under the organization.
State object Property state: The name of the province, municipality, or autonomous region in which the organization is located.
Years object Property years: The validity period of the root CA certificate, in years.
Algorithm object Property algorithm: The key algorithm type of the root CA certificate.
CaStatus object Property caStatus: The current CA status.
CountryCode object Property countryCode: The code of the country or region in which the organization is located, using a two-digit capital abbreviation.

CommonNameRequired

public object CommonName { get; set; }
  • Type: object

Property commonName: The common name or abbreviation of the organization.

Support the use of Chinese, English characters.


LocalityRequired

public object Locality { get; set; }
  • Type: object

Property locality: Name of the city where the organization is located.

Support the use of Chinese, English characters.


OrganizationRequired

public object Organization { get; set; }
  • Type: object

Property organization: The name of the organization (corresponding to your enterprise or company) associated with the root CA certificate.

Support the use of Chinese, English characters.


OrganizationUnitRequired

public object OrganizationUnit { get; set; }
  • Type: object

Property organizationUnit: The name of the department or branch under the organization.

Support the use of Chinese, English characters.


StateRequired

public object State { get; set; }
  • Type: object

Property state: The name of the province, municipality, or autonomous region in which the organization is located.

Support the use of Chinese, English characters. Name of the province or state where the organization is located. Support the use of Chinese, English characters. .


YearsRequired

public object Years { get; set; }
  • Type: object

Property years: The validity period of the root CA certificate, in years.

It is recommended to set to 5~10 years.


AlgorithmOptional

public object Algorithm { get; set; }
  • Type: object

Property algorithm: The key algorithm type of the root CA certificate.

The key algorithm is expressed using the '_< key length>' format. Value:

  • RSA_1024: The corresponding signature algorithm is Sha256WithRSA.
  • RSA_2048: The corresponding signature algorithm is Sha256WithRSA.
  • RSA_4096: The corresponding signature algorithm is Sha256WithRSA.
  • ECC_256: The signature algorithm is Sha256WithECDSA.
  • ECC_384: The corresponding signature algorithm is Sha256WithECDSA.
  • ECC_512: The signature algorithm is Sha256WithECDSA.
  • SM2_256: The corresponding signature algorithm is SM3WithSM2.

The encryption algorithm of the root CA certificate must be the same as the certificate algorithm of the private Root CA you purchased. Example: If the certificate algorithm selected when you purchase a private Root CA is RSA, the key algorithm of the root CA certificate must be RSA_1024, RSA_2048, or RSA_4096.


CaStatusOptional

public object CaStatus { get; set; }
  • Type: object

Property caStatus: The current CA status.

Value:

  • Issue: Enabled.
  • Forbidden: Disabled.
  • Revoke: Revoked.

CountryCodeOptional

public object CountryCode { get; set; }
  • Type: object

Property countryCode: The code of the country or region in which the organization is located, using a two-digit capital abbreviation.

For example, CN represents China and US represents the United States. For more information about the codes of different countries, see International Code in Management Company Information.