public static class KeySizeAlgorithm.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
KeySizeAlgorithm |
build() |
KeySizeAlgorithm.Builder |
copy(KeySizeAlgorithm model) |
KeySizeAlgorithm.Builder |
keySize(Integer keySize)
Key size for the encryption algorithm.
|
KeySizeAlgorithm.Builder |
name(Algorithms name)
The algorithm name.
|
public KeySizeAlgorithm.Builder name(Algorithms name)
The algorithm name.
name
- the value to setpublic KeySizeAlgorithm.Builder keySize(Integer keySize)
Key size for the encryption algorithm. Allowed values: 256 for EC, 2048 for DH/DSA/RSA
keySize
- the value to setpublic KeySizeAlgorithm build()
public KeySizeAlgorithm.Builder copy(KeySizeAlgorithm model)
Copyright © 2016–2024. All rights reserved.