public class DigestApi extends Object
Constructor and Description |
---|
DigestApi() |
DigestApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
BatchMacResponse |
batchMac(BatchMacRequest body)
Batch MAC with one or more keys
Message to compute a cryptographic Message Authentication Code and the key ids to be used are provided in the request body.
|
BatchVerifyResponse |
batchMacVerify(BatchMacVerifyRequest body)
Batch MAC Verify with one or more keys
The data to be MACed, the algorithm, a pre-computed MAC are provided in the request body, and the key id to be used are provided in the request body.
|
DigestResponse |
computeDigest(DigestRequest body)
Compute a message digest of data
This returns the digest of data provided in request body using the algorithm specified in request body.
|
MacGenerateResponse |
computeMac(String keyId,
MacGenerateRequest body)
Compute MAC using a key
Compute a cryptographic Message Authentication Code on a message using a symmetric key.
|
MacGenerateResponse |
computeMacEx(MacGenerateRequestEx body)
Compute MAC using a key
Compute a cryptographic Message Authentication Code on a message using a symmetric key.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
MacVerifyResponse |
verifyMac(String keyId,
MacVerifyRequest body)
Verify MAC using a key
The data to be MACed, the algorithm, and a pre-computed MAC are provided in the request body, and the key id is provided in the URL.
|
MacVerifyResponse |
verifyMacEx(MacVerifyRequestEx body)
Verify MAC using a key
The data to be MACed, the algorithm, and a pre-computed MAC are provided in the request body, and the key id is provided in the URL.
|
public DigestApi()
public DigestApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public BatchMacResponse batchMac(BatchMacRequest body) throws ApiException
body
- Batch MAC request (required)ApiException
- if fails to make API callpublic BatchVerifyResponse batchMacVerify(BatchMacVerifyRequest body) throws ApiException
body
- Batch MAC verify request (required)ApiException
- if fails to make API callpublic DigestResponse computeDigest(DigestRequest body) throws ApiException
body
- Digest request (required)ApiException
- if fails to make API callpublic MacGenerateResponse computeMac(String keyId, MacGenerateRequest body) throws ApiException
keyId
- kid of security object (required)body
- MAC generation request (required)ApiException
- if fails to make API callpublic MacGenerateResponse computeMacEx(MacGenerateRequestEx body) throws ApiException
body
- MAC generation request (required)ApiException
- if fails to make API callpublic MacVerifyResponse verifyMac(String keyId, MacVerifyRequest body) throws ApiException
keyId
- kid of security object (required)body
- MAC Verify request (required)ApiException
- if fails to make API callpublic MacVerifyResponse verifyMacEx(MacVerifyRequestEx body) throws ApiException
body
- MAC Verify request (required)ApiException
- if fails to make API callCopyright © 2017-2023 Fortanix Inc. All Rights Reserved