public class EncryptionAndDecryptionApi extends Object
Constructor and Description |
---|
EncryptionAndDecryptionApi() |
EncryptionAndDecryptionApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
BatchDecryptResponse |
batchDecrypt(BatchDecryptRequest body)
Batch decrypt with one or more keys
The data to be decrypted and the key ids to be used are provided in the request body.
|
BatchEncryptResponse |
batchEncrypt(BatchEncryptRequest body)
Batch encrypt with one or more keys
The data to be encrypted and the key ids to be used are provided in the request body.
|
DecryptResponse |
decrypt(String keyId,
DecryptRequest body)
Decrypt data
Decrypt data using a symmetric or asymmetric key.
|
DecryptResponse |
decryptEx(DecryptRequestEx body)
Decrypt data
Decrypt data using a symmetric or asymmetric key.
|
DecryptFinalResponse |
decryptFinal(String keyId,
DecryptFinalRequest body)
Conclude multi-part decryption
Conclude a multi-part decryption operation.
|
DecryptFinalResponse |
decryptFinalEx(DecryptFinalRequestEx body)
Conclude multi-part decryption
Conclude a multi-part decryption operation.
|
DecryptInitResponse |
decryptInit(String keyId,
DecryptInitRequest body)
Begin multi-part decryption
This API is used when decrypting more data than the client wishes to submit in a single request.
|
DecryptInitResponse |
decryptInitEx(DecryptInitRequestEx body)
Begin multi-part decryption
This API is used when decrypting more data than the client wishes to submit in a single request.
|
DecryptUpdateResponse |
decryptUpdate(String keyId,
DecryptUpdateRequest body)
Continue multi-part decryption
Continue a multi-part decryption operation.
|
DecryptUpdateResponse |
decryptUpdateEx(DecryptUpdateRequestEx body)
Continue multi-part decryption
Continue a multi-part decryption operation.
|
EncryptResponse |
encrypt(String keyId,
EncryptRequest body)
Encrypt data
Encrypt data using a symmetric or asymmetric key.
|
EncryptResponse |
encryptEx(EncryptRequestEx body)
Encrypt data
Encrypt data using a symmetric or asymmetric key.
|
EncryptFinalResponse |
encryptFinal(String keyId,
EncryptFinalRequest body)
Conclude multi-part encryption
Conclude a multi-part encryption operation.
|
EncryptFinalResponse |
encryptFinalEx(EncryptFinalRequestEx body)
Conclude multi-part encryption
Conclude a multi-part encryption operation.
|
EncryptInitResponse |
encryptInit(String keyId,
EncryptInitRequest body)
Begin multi-part encryption
This API is used when encrypting more data than the client wishes to submit in a single request.
|
EncryptInitResponse |
encryptInitEx(EncryptInitRequestEx body)
Begin multi-part encryption
This API is used when encrypting more data than the client wishes to submit in a single request.
|
EncryptUpdateResponse |
encryptUpdate(String keyId,
EncryptUpdateRequest body)
Continue multi-part encryption
Continue a multi-part encryption operation.
|
EncryptUpdateResponse |
encryptUpdateEx(EncryptUpdateRequestEx body)
Continue multi-part encryption
Continue a multi-part encryption operation.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
DecryptResponseFrame |
streamDecrypt(DecryptRequestFrame body)
Decrypt a stream of data
Decrypt a stream of data.
|
EncryptResponseFrame |
streamEncrypt(EncryptRequestFrame body)
Encrypt a stream of data
Encrypt a stream of data.
|
public EncryptionAndDecryptionApi()
public EncryptionAndDecryptionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public BatchDecryptResponse batchDecrypt(BatchDecryptRequest body) throws ApiException
body
- Batch decryption request (required)ApiException
- if fails to make API callpublic BatchEncryptResponse batchEncrypt(BatchEncryptRequest body) throws ApiException
body
- Batch Encryption request (required)ApiException
- if fails to make API callpublic DecryptResponse decrypt(String keyId, DecryptRequest body) throws ApiException
keyId
- kid of security object (required)body
- Decryption request (required)ApiException
- if fails to make API callpublic DecryptResponse decryptEx(DecryptRequestEx body) throws ApiException
body
- Decryption request (required)ApiException
- if fails to make API callpublic DecryptFinalResponse decryptFinal(String keyId, DecryptFinalRequest body) throws ApiException
keyId
- kid of security object (required)body
- Finish multi-part decryption (required)ApiException
- if fails to make API callpublic DecryptFinalResponse decryptFinalEx(DecryptFinalRequestEx body) throws ApiException
body
- Finish multi-part decryption (required)ApiException
- if fails to make API callpublic DecryptInitResponse decryptInit(String keyId, DecryptInitRequest body) throws ApiException
keyId
- kid of security object (required)body
- Multi-part decryption initialization request (required)ApiException
- if fails to make API callpublic DecryptInitResponse decryptInitEx(DecryptInitRequestEx body) throws ApiException
body
- Multi-part decryption initialization request (required)ApiException
- if fails to make API callpublic DecryptUpdateResponse decryptUpdate(String keyId, DecryptUpdateRequest body) throws ApiException
keyId
- kid of security object (required)body
- Multi-part decryption (required)ApiException
- if fails to make API callpublic DecryptUpdateResponse decryptUpdateEx(DecryptUpdateRequestEx body) throws ApiException
body
- Multi-part decryption (required)ApiException
- if fails to make API callpublic EncryptResponse encrypt(String keyId, EncryptRequest body) throws ApiException
keyId
- kid of security object (required)body
- Encryption request (required)ApiException
- if fails to make API callpublic EncryptResponse encryptEx(EncryptRequestEx body) throws ApiException
body
- Encryption request (required)ApiException
- if fails to make API callpublic EncryptFinalResponse encryptFinal(String keyId, EncryptFinalRequest body) throws ApiException
keyId
- kid of security object (required)body
- Finish multi-part encryption (required)ApiException
- if fails to make API callpublic EncryptFinalResponse encryptFinalEx(EncryptFinalRequestEx body) throws ApiException
body
- Finish multi-part encryption (required)ApiException
- if fails to make API callpublic EncryptInitResponse encryptInit(String keyId, EncryptInitRequest body) throws ApiException
keyId
- kid of security object (required)body
- Multi-part encryption initialization request (required)ApiException
- if fails to make API callpublic EncryptInitResponse encryptInitEx(EncryptInitRequestEx body) throws ApiException
body
- Multi-part encryption initialization request (required)ApiException
- if fails to make API callpublic EncryptUpdateResponse encryptUpdate(String keyId, EncryptUpdateRequest body) throws ApiException
keyId
- kid of security object (required)body
- Multi-part encryption (required)ApiException
- if fails to make API callpublic EncryptUpdateResponse encryptUpdateEx(EncryptUpdateRequestEx body) throws ApiException
body
- Multi-part encryption (required)ApiException
- if fails to make API callpublic DecryptResponseFrame streamDecrypt(DecryptRequestFrame body) throws ApiException
body
- Stream of decrypt request frames (required)ApiException
- if fails to make API callpublic EncryptResponseFrame streamEncrypt(EncryptRequestFrame body) throws ApiException
body
- Stream of encrypt request frames (required)ApiException
- if fails to make API callCopyright © 2017-2023 Fortanix Inc. All Rights Reserved