public static interface Extensions.Builder extends SdkPojo, CopyableBuilder<Extensions.Builder,Extensions>
| Modifier and Type | Method and Description |
|---|---|
Extensions.Builder |
certificatePolicies(Collection<PolicyInformation> certificatePolicies)
Contains a sequence of one or more policy information terms, each of which consists of an object identifier
(OID) and optional qualifiers.
|
Extensions.Builder |
certificatePolicies(Consumer<PolicyInformation.Builder>... certificatePolicies)
Contains a sequence of one or more policy information terms, each of which consists of an object identifier
(OID) and optional qualifiers.
|
Extensions.Builder |
certificatePolicies(PolicyInformation... certificatePolicies)
Contains a sequence of one or more policy information terms, each of which consists of an object identifier
(OID) and optional qualifiers.
|
Extensions.Builder |
customExtensions(Collection<CustomExtension> customExtensions)
|
Extensions.Builder |
customExtensions(Consumer<CustomExtension.Builder>... customExtensions)
|
Extensions.Builder |
customExtensions(CustomExtension... customExtensions)
|
Extensions.Builder |
extendedKeyUsage(Collection<ExtendedKeyUsage> extendedKeyUsage)
Specifies additional purposes for which the certified public key may be used other than basic purposes
indicated in the
KeyUsage extension. |
Extensions.Builder |
extendedKeyUsage(Consumer<ExtendedKeyUsage.Builder>... extendedKeyUsage)
Specifies additional purposes for which the certified public key may be used other than basic purposes
indicated in the
KeyUsage extension. |
Extensions.Builder |
extendedKeyUsage(ExtendedKeyUsage... extendedKeyUsage)
Specifies additional purposes for which the certified public key may be used other than basic purposes
indicated in the
KeyUsage extension. |
default Extensions.Builder |
keyUsage(Consumer<KeyUsage.Builder> keyUsage)
Sets the value of the KeyUsage property for this object.
|
Extensions.Builder |
keyUsage(KeyUsage keyUsage)
Sets the value of the KeyUsage property for this object.
|
Extensions.Builder |
subjectAlternativeNames(Collection<GeneralName> subjectAlternativeNames)
The subject alternative name extension allows identities to be bound to the subject of the certificate.
|
Extensions.Builder |
subjectAlternativeNames(Consumer<GeneralName.Builder>... subjectAlternativeNames)
The subject alternative name extension allows identities to be bound to the subject of the certificate.
|
Extensions.Builder |
subjectAlternativeNames(GeneralName... subjectAlternativeNames)
The subject alternative name extension allows identities to be bound to the subject of the certificate.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildExtensions.Builder certificatePolicies(Collection<PolicyInformation> certificatePolicies)
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.
certificatePolicies - 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.
Extensions.Builder certificatePolicies(PolicyInformation... certificatePolicies)
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.
certificatePolicies - 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.
Extensions.Builder certificatePolicies(Consumer<PolicyInformation.Builder>... certificatePolicies)
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.
This is a convenience method that creates an instance of thePolicyInformation.Builder avoiding the need to create
one manually via PolicyInformation.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #certificatePolicies(List.
certificatePolicies - a consumer that will call methods on
PolicyInformation.Builder#certificatePolicies(java.util.Collection) Extensions.Builder extendedKeyUsage(Collection<ExtendedKeyUsage> extendedKeyUsage)
Specifies additional purposes for which the certified public key may be used other than basic purposes
indicated in the KeyUsage extension.
extendedKeyUsage - Specifies additional purposes for which the certified public key may be used other than basic purposes
indicated in the KeyUsage extension.Extensions.Builder extendedKeyUsage(ExtendedKeyUsage... extendedKeyUsage)
Specifies additional purposes for which the certified public key may be used other than basic purposes
indicated in the KeyUsage extension.
extendedKeyUsage - Specifies additional purposes for which the certified public key may be used other than basic purposes
indicated in the KeyUsage extension.Extensions.Builder extendedKeyUsage(Consumer<ExtendedKeyUsage.Builder>... extendedKeyUsage)
Specifies additional purposes for which the certified public key may be used other than basic purposes
indicated in the KeyUsage extension.
ExtendedKeyUsage.Builder avoiding the need to create one
manually via ExtendedKeyUsage.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #extendedKeyUsage(List.
extendedKeyUsage - a consumer that will call methods on
ExtendedKeyUsage.Builder#extendedKeyUsage(java.util.Collection) Extensions.Builder keyUsage(KeyUsage keyUsage)
keyUsage - The new value for the KeyUsage property for this object.default Extensions.Builder keyUsage(Consumer<KeyUsage.Builder> keyUsage)
KeyUsage.Builder avoiding the need to
create one manually via KeyUsage.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to keyUsage(KeyUsage).
keyUsage - a consumer that will call methods on KeyUsage.BuilderkeyUsage(KeyUsage)Extensions.Builder subjectAlternativeNames(Collection<GeneralName> subjectAlternativeNames)
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.
subjectAlternativeNames - 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.Extensions.Builder subjectAlternativeNames(GeneralName... subjectAlternativeNames)
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.
subjectAlternativeNames - 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.Extensions.Builder subjectAlternativeNames(Consumer<GeneralName.Builder>... subjectAlternativeNames)
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.
This is a convenience method that creates an instance of theGeneralName.Builder avoiding the need to create one
manually via GeneralName.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #subjectAlternativeNames(List.
subjectAlternativeNames - a consumer that will call methods on
GeneralName.Builder#subjectAlternativeNames(java.util.Collection) Extensions.Builder customExtensions(Collection<CustomExtension> customExtensions)
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.
customExtensions - 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.
Extensions.Builder customExtensions(CustomExtension... customExtensions)
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.
customExtensions - 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.
Extensions.Builder customExtensions(Consumer<CustomExtension.Builder>... customExtensions)
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.
This is a convenience method that creates an instance of theCustomExtension.Builder avoiding the need to create one
manually via CustomExtension.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #customExtensions(List.
customExtensions - a consumer that will call methods on
CustomExtension.Builder#customExtensions(java.util.Collection) Copyright © 2023. All rights reserved.