Class WrappedImportKey.Builder
- java.lang.Object
- 
- com.oracle.bmc.keymanagement.model.WrappedImportKey.Builder
 
- 
- Enclosing class:
- WrappedImportKey
 
 public static class WrappedImportKey.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description WrappedImportKeybuild()WrappedImportKey.Buildercopy(WrappedImportKey model)WrappedImportKey.BuilderkeyMaterial(String keyMaterial)The key material to import, wrapped by the vault’s RSA public wrapping key and base64-encoded.WrappedImportKey.BuilderwrappingAlgorithm(WrappedImportKey.WrappingAlgorithm wrappingAlgorithm)The wrapping mechanism to use during key import.
 
- 
- 
- 
Method Detail- 
keyMaterialpublic 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
 
 - 
wrappingAlgorithmpublic 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
 
 - 
buildpublic WrappedImportKey build() 
 - 
copypublic WrappedImportKey.Builder copy(WrappedImportKey model) 
 
- 
 
-