Interface CfnCertificate.KeyUsageProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCertificate.KeyUsageProperty.Jsii$Proxy
Enclosing class:
CfnCertificate

@Stability(Stable) public static interface CfnCertificate.KeyUsageProperty extends software.amazon.jsii.JsiiSerializable
Defines one or more purposes for which the key contained in the certificate can be used.

Default value for each option is false.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.acmpca.*;
 KeyUsageProperty keyUsageProperty = KeyUsageProperty.builder()
         .crlSign(false)
         .dataEncipherment(false)
         .decipherOnly(false)
         .digitalSignature(false)
         .encipherOnly(false)
         .keyAgreement(false)
         .keyCertSign(false)
         .keyEncipherment(false)
         .nonRepudiation(false)
         .build();
 
  • Method Details

    • getCrlSign

      @Stability(Stable) @Nullable default Object getCrlSign()
      Key can be used to sign CRLs.
    • getDataEncipherment

      @Stability(Stable) @Nullable default Object getDataEncipherment()
      Key can be used to decipher data.
    • getDecipherOnly

      @Stability(Stable) @Nullable default Object getDecipherOnly()
      Key can be used only to decipher data.
    • getDigitalSignature

      @Stability(Stable) @Nullable default Object getDigitalSignature()
      Key can be used for digital signing.
    • getEncipherOnly

      @Stability(Stable) @Nullable default Object getEncipherOnly()
      Key can be used only to encipher data.
    • getKeyAgreement

      @Stability(Stable) @Nullable default Object getKeyAgreement()
      Key can be used in a key-agreement protocol.
    • getKeyCertSign

      @Stability(Stable) @Nullable default Object getKeyCertSign()
      Key can be used to sign certificates.
    • getKeyEncipherment

      @Stability(Stable) @Nullable default Object getKeyEncipherment()
      Key can be used to encipher data.
    • getNonRepudiation

      @Stability(Stable) @Nullable default Object getNonRepudiation()
      Key can be used for non-repudiation.
    • builder

      @Stability(Stable) static CfnCertificate.KeyUsageProperty.Builder builder()
      Returns:
      a CfnCertificate.KeyUsageProperty.Builder of CfnCertificate.KeyUsageProperty