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();
- See Also:
-
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.Default: - false
- See Also:
-
getDataEncipherment
Key can be used to decipher data.Default: - false
- See Also:
-
getDecipherOnly
Key can be used only to decipher data.Default: - false
- See Also:
-
getDigitalSignature
Key can be used for digital signing.Default: - false
- See Also:
-
getEncipherOnly
Key can be used only to encipher data.Default: - false
- See Also:
-
getKeyAgreement
Key can be used in a key-agreement protocol.Default: - false
- See Also:
-
getKeyCertSign
Key can be used to sign certificates.Default: - false
- See Also:
-
getKeyEncipherment
Key can be used to encipher data.Default: - false
- See Also:
-
getNonRepudiation
Key can be used for non-repudiation.Default: - false
- See Also:
-
builder
-