public static class WrappedImportKey.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WrappedImportKey |
build() |
WrappedImportKey.Builder |
copy(WrappedImportKey model) |
WrappedImportKey.Builder |
keyMaterial(String keyMaterial)
The key material to import, wrapped by the vault’s RSA public wrapping key and
base64-encoded.
|
WrappedImportKey.Builder |
wrappingAlgorithm(WrappedImportKey.WrappingAlgorithm wrappingAlgorithm)
The wrapping mechanism to use during key import.
|
public WrappedImportKey.Builder keyMaterial(String keyMaterial)
The key material to import, wrapped by the vault’s RSA public wrapping key and base64-encoded.
keyMaterial
- the value to setpublic WrappedImportKey.Builder wrappingAlgorithm(WrappedImportKey.WrappingAlgorithm wrappingAlgorithm)
The wrapping mechanism to use during key import. RSA_OAEP_AES_SHA256
invokes the
RSA AES key wrap mechanism, which generates a temporary AES key. The temporary AES key is
wrapped by the vault’s RSA public wrapping key, creating a wrapped temporary AES key. The
temporary AES key is also used to wrap the private key material. The wrapped temporary
AES key and the wrapped exportable key material are concatenated, producing concatenated
blob output that jointly represents them. RSA_OAEP_SHA256
means that the
exportable key material is wrapped by the vault’s RSA public wrapping key.
wrappingAlgorithm
- the value to setpublic WrappedImportKey build()
public WrappedImportKey.Builder copy(WrappedImportKey model)
Copyright © 2016–2024. All rights reserved.