| Package | Description |
|---|---|
| com.cosmian.jna.abe | |
| com.cosmian.rest.abe | |
| com.cosmian.rest.abe.policy |
| Modifier and Type | Method and Description |
|---|---|
Policy |
Ffi.rotateAttributes(Attr[] attributes,
Policy policy)
Rotate attributes, changing their underlying value with that of an unused slot
|
| Modifier and Type | Method and Description |
|---|---|
int |
Ffi.createEncryptionCache(Policy policy,
byte[] publicKeyBytes)
Create an encryption cache that can be used with
Ffi.encryptHeaderUsingCache(int, Attr[]) Use of the cache
speeds up the encryption of the header. |
EncryptedHeader |
Ffi.encryptHeader(Policy policy,
byte[] publicKeyBytes,
Attr[] attributes,
Optional<byte[]> uid,
Optional<byte[]> additionalData)
Generate an hybrid encryption header.
|
MasterKeys |
Ffi.generateMasterKeys(Policy policy)
Generate the master private and public keys using the ABE policy
|
byte[] |
Ffi.generateUserPrivateKey(byte[] masterPrivateKey,
AccessPolicy accessPolicy,
Policy policy)
Generate the user private key
|
Policy |
Ffi.rotateAttributes(Attr[] attributes,
Policy policy)
Rotate attributes, changing their underlying value with that of an unused slot
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
Abe.createMasterKeyPair(Policy policy)
Generate inside the KMS, a master private and public key pair for the
Policy |
| Modifier and Type | Method and Description |
|---|---|
Policy |
Policy.addAxis(String name,
String[] attributes,
boolean hierarchical)
Add the given Axis to this policy and return the policy
|
Policy |
PolicyDeserializer.deserialize(com.fasterxml.jackson.databind.JsonNode node,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
static Policy |
Policy.fromVendorAttributes(Attributes attributes,
String abeImplementation) |
Policy |
Policy.lastAttribute(int lastAttribute) |
| Modifier and Type | Method and Description |
|---|---|
void |
PolicySerializer.serialize(Policy policy,
com.fasterxml.jackson.core.JsonGenerator generator,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
Copyright © 2022. All rights reserved.