Class WrappedImportKey.Builder
- java.lang.Object
-
- com.oracle.bmc.keymanagement.model.WrappedImportKey.Builder
-
- Enclosing class:
- WrappedImportKey
public static class WrappedImportKey.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
keyMaterial
public WrappedImportKey.Builder keyMaterial(String keyMaterial)
The key material to import, wrapped by the vault’s RSA public wrapping key and base64-encoded.- Parameters:
keyMaterial
- the value to set- Returns:
- this builder
-
wrappingAlgorithm
public 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.
- Parameters:
wrappingAlgorithm
- the value to set- Returns:
- this builder
-
build
public WrappedImportKey build()
-
copy
public WrappedImportKey.Builder copy(WrappedImportKey model)
-
-