public static interface KeyUsage.Builder extends SdkPojo, CopyableBuilder<KeyUsage.Builder,KeyUsage>
| Modifier and Type | Method and Description |
|---|---|
KeyUsage.Builder |
critical(Boolean critical)
Sets the key usage extension to critical.
|
default KeyUsage.Builder |
usageFlags(Consumer<KeyUsageFlags.Builder> usageFlags)
The key usage flags represent the purpose (e.g., encipherment, signature) of the key contained in the
certificate.
|
KeyUsage.Builder |
usageFlags(KeyUsageFlags usageFlags)
The key usage flags represent the purpose (e.g., encipherment, signature) of the key contained in the
certificate.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildKeyUsage.Builder critical(Boolean critical)
Sets the key usage extension to critical.
critical - Sets the key usage extension to critical.KeyUsage.Builder usageFlags(KeyUsageFlags usageFlags)
The key usage flags represent the purpose (e.g., encipherment, signature) of the key contained in the certificate.
usageFlags - The key usage flags represent the purpose (e.g., encipherment, signature) of the key contained in the
certificate.default KeyUsage.Builder usageFlags(Consumer<KeyUsageFlags.Builder> usageFlags)
The key usage flags represent the purpose (e.g., encipherment, signature) of the key contained in the certificate.
This is a convenience method that creates an instance of theKeyUsageFlags.Builder avoiding the need
to create one manually via KeyUsageFlags.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to usageFlags(KeyUsageFlags).
usageFlags - a consumer that will call methods on KeyUsageFlags.BuilderusageFlags(KeyUsageFlags)Copyright © 2023. All rights reserved.