| Package | Description |
|---|---|
| com.cosmian.jna.abe | |
| com.cosmian.rest.abe | |
| com.cosmian.rest.kmip.objects |
| Modifier and Type | Method and Description |
|---|---|
int |
Ffi.createEncryptionCache(PublicKey publicKey)
Create an encryption cache that can be used with
Ffi.encryptHeaderUsingCache(int, Attr[]) se of the cache
speeds up the encryption of the header. |
EncryptedHeader |
Ffi.encryptHeader(PublicKey publicKey,
Attr[] attributes)
Generate an hybrid encryption header.
|
EncryptedHeader |
Ffi.encryptHeader(PublicKey publicKey,
Attr[] attributes,
Optional<byte[]> uid,
Optional<byte[]> additionalData)
Generate an hybrid encryption header.
|
| Modifier and Type | Method and Description |
|---|---|
PublicKey |
Abe.retrievePublicMasterKey(String publicMasterKeyUniqueIdentifier)
Retrieve the Master Public Key from the KMS
|
| Modifier and Type | Method and Description |
|---|---|
String |
Abe.importPublicMasterKey(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 © 2022. All rights reserved.