CertificateRequestProperties.Exportable 속성

정의

요청에 대해 만든 프라이빗 키를 내보낼 수 있는지 여부를 지정하는 값을 가져오거나 설정합니다.

public:
 property ExportOption Exportable { ExportOption get(); void set(ExportOption value); };
ExportOption Exportable();

void Exportable(ExportOption value);
public ExportOption Exportable { get; set; }
var exportOption = certificateRequestProperties.exportable;
certificateRequestProperties.exportable = exportOption;
Public Property Exportable As ExportOption

속성 값

키를 내보낼 수 있는지 여부를 지정합니다.

예제

public ExportOption GetSetExportable(ExportOption inputOption)
{
    // Create a new CertificateRequestProperties object.
    CertificateRequestProperties reqProperties = new CertificateRequestProperties();
    
    // The default value is ExportOption.NotExportable
    ExportOption defaultOption = reqProperties.Exportable;

    // If the input option does not equal the default option, reset the property value.
    if (inputOption != defaultOption)
    {
        reqProperties.Exportable = inputOption;
    }

    // Return the option value.
    return reqProperties.Exportable;
}

설명

기본적으로 프라이빗 키는 내보낼 수 없습니다.

적용 대상