| Package | Description |
|---|---|
| com.cosmian.jna.covercrypt | |
| com.cosmian.rest.abe | |
| com.cosmian.rest.kmip.objects |
| Modifier and Type | Method and Description |
|---|---|
int |
CoverCrypt.createEncryptionCache(PublicKey publicKey)
Create an encryption cache that can be used with
CoverCrypt.encryptHeaderUsingCache(int, String) se of the cache
speeds up the encryption of the header. |
EncryptedHeader |
CoverCrypt.encryptHeader(PublicKey publicKey,
String encryptionPolicy)
Generate an hybrid encryption header.
|
EncryptedHeader |
CoverCrypt.encryptHeader(PublicKey publicKey,
String encryptionPolicy,
Optional<byte[]> additionalData,
Optional<byte[]> authenticationData)
Generate an hybrid encryption header.
|
| Modifier and Type | Method and Description |
|---|---|
PublicKey |
KmsClient.retrieveCoverCryptPublicMasterKey(String publicMasterKeyUniqueIdentifier)
Retrieve the Master Public Key from the KMS
|
| Modifier and Type | Method and Description |
|---|---|
String |
KmsClient.importCoverCryptPublicMasterKey(String uniqueIdentifier,
PublicKey publicMasterKey,
boolean replaceExisting)
Import a Public Master Key in the KMS
|
| Modifier and Type | Method and Description |
|---|---|
static PublicKey |
PublicKey.fromJson(String json)
Deserialize an instance from its Json representation obtained using oJson()
|
PublicKey |
PublicKey.keyBlock(KeyBlock keyBlock) |
Copyright © 2023. All rights reserved.