Skip to content

CertificateProps

Properties for defining a Certificate.

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

Initializer

import com.aliyun.ros.cdk.cas.CertificateProps;
CertificateProps.builder()
    .cert(java.lang.String)
    .cert(IResolvable)
    .key(java.lang.String)
    .key(IResolvable)
    .name(java.lang.String)
    .name(IResolvable)
//  .lang(java.lang.String)
//  .lang(IResolvable)
//  .sourceIp(java.lang.String)
//  .sourceIp(IResolvable)
    .build();

Properties

Name Type Description
cert java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property cert: Specify the content of the certificate.
key java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property key: Specify the certificate private key content.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: Custom certificate name.
lang java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property lang: Specifies the language type for requesting and receiving messages.
sourceIp java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sourceIp: Specifies the source IP address of the request.

certRequired

public java.lang.Object getCert();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property cert: Specify the content of the certificate.

To use the PEM encoding format.


keyRequired

public java.lang.Object getKey();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property key: Specify the certificate private key content.

To use the PEM encoding format.


nameRequired

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property name: Custom certificate name.

The certificate name under a user cannot be duplicated.


langOptional

public java.lang.Object getLang();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property lang: Specifies the language type for requesting and receiving messages.


sourceIpOptional

public java.lang.Object getSourceIp();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sourceIp: Specifies the source IP address of the request.