public static interface PrivateKeyAttributesV3.Builder extends SdkPojo, CopyableBuilder<PrivateKeyAttributesV3.Builder,PrivateKeyAttributesV3>
| Modifier and Type | Method and Description |
|---|---|
PrivateKeyAttributesV3.Builder |
algorithm(PrivateKeyAlgorithm algorithm)
Defines the algorithm used to generate the private key.
|
PrivateKeyAttributesV3.Builder |
algorithm(String algorithm)
Defines the algorithm used to generate the private key.
|
PrivateKeyAttributesV3.Builder |
cryptoProviders(Collection<String> cryptoProviders)
Defines the cryptographic providers used to generate the private key.
|
PrivateKeyAttributesV3.Builder |
cryptoProviders(String... cryptoProviders)
Defines the cryptographic providers used to generate the private key.
|
PrivateKeyAttributesV3.Builder |
keySpec(KeySpec keySpec)
Defines the purpose of the private key.
|
PrivateKeyAttributesV3.Builder |
keySpec(String keySpec)
Defines the purpose of the private key.
|
default PrivateKeyAttributesV3.Builder |
keyUsageProperty(Consumer<KeyUsageProperty.Builder> keyUsageProperty)
The key usage property defines the purpose of the private key contained in the certificate.
|
PrivateKeyAttributesV3.Builder |
keyUsageProperty(KeyUsageProperty keyUsageProperty)
The key usage property defines the purpose of the private key contained in the certificate.
|
PrivateKeyAttributesV3.Builder |
minimalKeyLength(Integer minimalKeyLength)
Set the minimum key length of the private key.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPrivateKeyAttributesV3.Builder algorithm(String algorithm)
Defines the algorithm used to generate the private key.
algorithm - Defines the algorithm used to generate the private key.PrivateKeyAlgorithm,
PrivateKeyAlgorithmPrivateKeyAttributesV3.Builder algorithm(PrivateKeyAlgorithm algorithm)
Defines the algorithm used to generate the private key.
algorithm - Defines the algorithm used to generate the private key.PrivateKeyAlgorithm,
PrivateKeyAlgorithmPrivateKeyAttributesV3.Builder cryptoProviders(Collection<String> cryptoProviders)
Defines the cryptographic providers used to generate the private key.
cryptoProviders - Defines the cryptographic providers used to generate the private key.PrivateKeyAttributesV3.Builder cryptoProviders(String... cryptoProviders)
Defines the cryptographic providers used to generate the private key.
cryptoProviders - Defines the cryptographic providers used to generate the private key.PrivateKeyAttributesV3.Builder keySpec(String keySpec)
Defines the purpose of the private key. Set it to "KEY_EXCHANGE" or "SIGNATURE" value.
PrivateKeyAttributesV3.Builder keySpec(KeySpec keySpec)
Defines the purpose of the private key. Set it to "KEY_EXCHANGE" or "SIGNATURE" value.
PrivateKeyAttributesV3.Builder keyUsageProperty(KeyUsageProperty keyUsageProperty)
The key usage property defines the purpose of the private key contained in the certificate. You can specify specific purposes using property flags or all by using property type ALL.
keyUsageProperty - The key usage property defines the purpose of the private key contained in the certificate. You can
specify specific purposes using property flags or all by using property type ALL.default PrivateKeyAttributesV3.Builder keyUsageProperty(Consumer<KeyUsageProperty.Builder> keyUsageProperty)
The key usage property defines the purpose of the private key contained in the certificate. You can specify specific purposes using property flags or all by using property type ALL.
This is a convenience method that creates an instance of theKeyUsageProperty.Builder avoiding the
need to create one manually via KeyUsageProperty.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to keyUsageProperty(KeyUsageProperty).
keyUsageProperty - a consumer that will call methods on KeyUsageProperty.BuilderkeyUsageProperty(KeyUsageProperty)PrivateKeyAttributesV3.Builder minimalKeyLength(Integer minimalKeyLength)
Set the minimum key length of the private key.
minimalKeyLength - Set the minimum key length of the private key.Copyright © 2023. All rights reserved.