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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCertificate.KeyUsagePropertystatic final classAn implementation forCfnCertificate.KeyUsageProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectKey can be used to sign CRLs.default ObjectKey can be used to decipher data.default ObjectKey can be used only to decipher data.default ObjectKey can be used for digital signing.default ObjectKey can be used only to encipher data.default ObjectKey can be used in a key-agreement protocol.default ObjectKey can be used to sign certificates.default ObjectKey can be used to encipher data.default ObjectKey can be used for non-repudiation.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCrlSign
Key can be used to sign CRLs. -
getDataEncipherment
Key can be used to decipher data. -
getDecipherOnly
Key can be used only to decipher data. -
getDigitalSignature
Key can be used for digital signing. -
getEncipherOnly
Key can be used only to encipher data. -
getKeyAgreement
Key can be used in a key-agreement protocol. -
getKeyCertSign
Key can be used to sign certificates. -
getKeyEncipherment
Key can be used to encipher data. -
getNonRepudiation
Key can be used for non-repudiation. -
builder
-