public class SignAndVerifyApi extends Object
Constructor and Description |
---|
SignAndVerifyApi() |
SignAndVerifyApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
BatchSignResponse |
batchSign(BatchSignRequest body)
Batch sign with one or more private keys
The data to be signed and the key ids to be used are provided in the request body.
|
BatchVerifyResponse |
batchVerify(BatchVerifyRequest body)
Batch verify with one or more private keys
The signature to be verified and the key ids to be used are provided in the request body.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
SignResponse |
sign(String keyId,
SignRequest body)
Sign with a private key
Sign data with a private key.
|
SignResponse |
signEx(SignRequestEx body)
Sign with a private key
Sign data with a private key.
|
VerifyResponse |
verify(String keyId,
VerifyRequest body)
Verify a signature with a key
Verify a signature with a public key.
|
VerifyResponse |
verifyEx(VerifyRequestEx body)
Verify a signature with a key
Verify a signature with a public key.
|
public SignAndVerifyApi()
public SignAndVerifyApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public BatchSignResponse batchSign(BatchSignRequest body) throws ApiException
body
- Batch Sign request (required)ApiException
- if fails to make API callpublic BatchVerifyResponse batchVerify(BatchVerifyRequest body) throws ApiException
body
- Batch Verify request (required)ApiException
- if fails to make API callpublic SignResponse sign(String keyId, SignRequest body) throws ApiException
keyId
- kid of security object (required)body
- Signature request (required)ApiException
- if fails to make API callpublic SignResponse signEx(SignRequestEx body) throws ApiException
body
- Signature request (required)ApiException
- if fails to make API callpublic VerifyResponse verify(String keyId, VerifyRequest body) throws ApiException
keyId
- kid of security object (required)body
- Verification request (required)ApiException
- if fails to make API callpublic VerifyResponse verifyEx(VerifyRequestEx body) throws ApiException
body
- Verification request (required)ApiException
- if fails to make API callCopyright © 2017-2023 Fortanix Inc. All Rights Reserved