PcaCertificateProps
Properties for defining a PcaCertificate.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cas-pcacertificate
Initializer
import { PcaCertificateProps } from '@alicloud/ros-cdk-cas'
const pcaCertificateProps: PcaCertificateProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
commonName | string | @alicloud/ros-cdk-core.IResolvable | Property commonName: The common name or abbreviation of the organization. |
locality | string | @alicloud/ros-cdk-core.IResolvable | Property locality: Name of the city where the organization is located. |
organization | string | @alicloud/ros-cdk-core.IResolvable | Property organization: The name of the organization (corresponding to your enterprise or company) associated with the root CA certificate. |
organizationUnit | string | @alicloud/ros-cdk-core.IResolvable | Property organizationUnit: The name of the department or branch under the organization. |
state | string | @alicloud/ros-cdk-core.IResolvable | Property state: |
years | number | @alicloud/ros-cdk-core.IResolvable | Property years: The validity period of the root CA certificate, in years. |
algorithm | string | @alicloud/ros-cdk-core.IResolvable | Property algorithm: The key algorithm type of the root CA certificate. |
caStatus | string | @alicloud/ros-cdk-core.IResolvable | Property caStatus: The current CA status. |
countryCode | string | @alicloud/ros-cdk-core.IResolvable | Property countryCode: The code of the country or region in which the organization is located, using a two-digit capital abbreviation. |
commonNameRequired
public readonly commonName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property commonName: The common name or abbreviation of the organization.
Support the use of Chinese, English characters.
localityRequired
public readonly locality: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property locality: Name of the city where the organization is located.
Support the use of Chinese, English characters.
organizationRequired
public readonly organization: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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 readonly organizationUnit: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property organizationUnit: The name of the department or branch under the organization.
Support the use of Chinese, English characters.
stateRequired
public readonly state: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property state:
Support the use of Chinese, English characters. <\/props>
yearsRequired
public readonly years: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property years: The validity period of the root CA certificate, in years.
It is recommended to set to 5~10 years.
algorithmOptional
public readonly algorithm: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property algorithm: The key algorithm type of the root CA certificate.
The key algorithm is expressed using the '
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 readonly caStatus: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property caStatus: The current CA status.
Value: - Issue: Enabled. - Forbidden: Disabled. - Revoke: Revoked.
countryCodeOptional
public readonly countryCode: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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.