| Package | Description |
|---|---|
| com.authlete.common.dto |
Requests to and responses from Authlete APIs and some data structures.
|
| com.authlete.common.types |
Enum definitions and lists of pre-defined constants.
|
| Modifier and Type | Method and Description |
|---|---|
Hsk |
HskResponse.getHsk()
Get the information about the key on the HSM.
|
Hsk[] |
Service.getHsks()
Get information about keys managed on HSMs (Hardware Security Modules).
|
Hsk[] |
HskListResponse.getHsks()
Get the information about the keys on the HSM.
|
Hsk |
Hsk.setAlg(String alg)
Set the algorithm of the key on the HSM.
|
Hsk |
Hsk.setHandle(String handle)
Set the handle for the key on the HSM.
|
Hsk |
Hsk.setHsmName(String hsmName)
Set the name of the HSM.
|
Hsk |
Hsk.setKid(String kid)
Set the key ID for the key on the HSM.
|
Hsk |
Hsk.setKty(String kty)
Set the key type of the key on the HSM.
|
Hsk |
Hsk.setPublicKey(String publicKey)
Set the public key that corresponds to the key on the HSM.
|
Hsk |
Hsk.setUse(String use)
Set the use of the key on the HSM.
|
| Modifier and Type | Method and Description |
|---|---|
HskResponse |
HskResponse.setHsk(Hsk hsk)
Set the information about the key on the HSM.
|
Service |
Service.setHsks(Hsk[] hsks)
Set information about keys managed on HSMs (Hardware Security Modules).
|
HskListResponse |
HskListResponse.setHsks(Hsk[] hsks)
Set the information about the keys on the HSM.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
HSM.createKey(Hsk hsk)
Create a key on the HSM.
|
byte[] |
HSM.decrypt(Hsk hsk,
Map<String,Object> info,
byte[] data)
Decrypt data.
|
void |
HSM.deleteKey(Hsk hsk,
Map<String,Object> info)
Delete a key on the HSM.
|
String |
HSM.getPublicKey(Hsk hsk,
Map<String,Object> info)
Get the public key that corresponds to the key on the HSM.
|
byte[] |
HSM.sign(Hsk hsk,
Map<String,Object> info,
byte[] data)
Sign data and return the signature.
|
Copyright © 2022. All rights reserved.