Interface CfnCertificate.ExtensionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCertificate.ExtensionsProperty.Jsii$Proxy
- Enclosing class:
CfnCertificate
@Stability(Stable)
public static interface CfnCertificate.ExtensionsProperty
extends software.amazon.jsii.JsiiSerializable
Contains X.509 extension information for a certificate.
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.*; ExtensionsProperty extensionsProperty = ExtensionsProperty.builder() .certificatePolicies(List.of(PolicyInformationProperty.builder() .certPolicyId("certPolicyId") // the properties below are optional .policyQualifiers(List.of(PolicyQualifierInfoProperty.builder() .policyQualifierId("policyQualifierId") .qualifier(QualifierProperty.builder() .cpsUri("cpsUri") .build()) .build())) .build())) .customExtensions(List.of(CustomExtensionProperty.builder() .objectIdentifier("objectIdentifier") .value("value") // the properties below are optional .critical(false) .build())) .extendedKeyUsage(List.of(ExtendedKeyUsageProperty.builder() .extendedKeyUsageObjectIdentifier("extendedKeyUsageObjectIdentifier") .extendedKeyUsageType("extendedKeyUsageType") .build())) .keyUsage(KeyUsageProperty.builder() .crlSign(false) .dataEncipherment(false) .decipherOnly(false) .digitalSignature(false) .encipherOnly(false) .keyAgreement(false) .keyCertSign(false) .keyEncipherment(false) .nonRepudiation(false) .build()) .subjectAlternativeNames(List.of(GeneralNameProperty.builder() .directoryName(SubjectProperty.builder() .commonName("commonName") .country("country") .customAttributes(List.of(CustomAttributeProperty.builder() .objectIdentifier("objectIdentifier") .value("value") .build())) .distinguishedNameQualifier("distinguishedNameQualifier") .generationQualifier("generationQualifier") .givenName("givenName") .initials("initials") .locality("locality") .organization("organization") .organizationalUnit("organizationalUnit") .pseudonym("pseudonym") .serialNumber("serialNumber") .state("state") .surname("surname") .title("title") .build()) .dnsName("dnsName") .ediPartyName(EdiPartyNameProperty.builder() .nameAssigner("nameAssigner") .partyName("partyName") .build()) .ipAddress("ipAddress") .otherName(OtherNameProperty.builder() .typeId("typeId") .value("value") .build()) .registeredId("registeredId") .rfc822Name("rfc822Name") .uniformResourceIdentifier("uniformResourceIdentifier") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCertificate.ExtensionsProperty
static final class
An implementation forCfnCertificate.ExtensionsProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers.default Object
Contains a sequence of one or more X.509 extensions, each of which consists of an object identifier (OID), a base64-encoded value, and the critical flag.default Object
Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in theKeyUsage
extension.default Object
Defines one or more purposes for which the key contained in the certificate can be used.default Object
The subject alternative name extension allows identities to be bound to the subject of the certificate.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCertificatePolicies
Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers.For more information, see NIST's definition of Object Identifier (OID) .
In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.
- See Also:
-
getCustomExtensions
Contains a sequence of one or more X.509 extensions, each of which consists of an object identifier (OID), a base64-encoded value, and the critical flag. For more information, see the Global OID reference database..- See Also:
-
getExtendedKeyUsage
Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in theKeyUsage
extension.- See Also:
-
getKeyUsage
Defines one or more purposes for which the key contained in the certificate can be used.Default value for each option is false.
- See Also:
-
getSubjectAlternativeNames
The subject alternative name extension allows identities to be bound to the subject of the certificate.These identities may be included in addition to or in place of the identity in the subject field of the certificate.
- See Also:
-
builder
-