public class WrappingAndUnwrappingApi extends Object
Constructor and Description |
---|
WrappingAndUnwrappingApi() |
WrappingAndUnwrappingApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
KeyObject |
unwrapKey(String keyId,
UnwrapKeyRequest body)
Unwrap a security object with a key
Unwrap (decrypt) a wrapped key and import it into SDKMS.
|
KeyObject |
unwrapKeyEx(UnwrapKeyRequestEx body)
Unwrap a security object with a key
Unwrap (decrypt) a wrapped key and import it into SDKMS.
|
WrapKeyResponse |
wrapKey(String keyId,
WrapKeyRequest body)
Wrap a security object with a key
Wrap (encrypt) an existing security object with a key.
|
WrapKeyResponse |
wrapKeyEx(WrapKeyRequestEx body)
Wrap a security object with a key
Wrap (encrypt) an existing security object with a key.
|
public WrappingAndUnwrappingApi()
public WrappingAndUnwrappingApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public KeyObject unwrapKey(String keyId, UnwrapKeyRequest body) throws ApiException
keyId
- kid of security object (required)body
- Unwrap key request (required)ApiException
- if fails to make API callpublic KeyObject unwrapKeyEx(UnwrapKeyRequestEx body) throws ApiException
body
- Unwrap key request (required)ApiException
- if fails to make API callpublic WrapKeyResponse wrapKey(String keyId, WrapKeyRequest body) throws ApiException
keyId
- kid of security object (required)body
- Wrap key request (required)ApiException
- if fails to make API callpublic WrapKeyResponse wrapKeyEx(WrapKeyRequestEx body) throws ApiException
body
- Wrap key request (required)ApiException
- if fails to make API callCopyright © 2017-2023 Fortanix Inc. All Rights Reserved