| Package | Description |
|---|---|
| com.cosmian.jna.abe | |
| com.cosmian.rest.abe | |
| com.cosmian.rest.abe.access_policy | |
| com.cosmian.rest.abe.data |
| Modifier and Type | Method and Description |
|---|---|
EncryptedHeader |
Ffi.encryptHeader(Policy policy,
byte[] publicKeyBytes,
Attr[] attributes,
Optional<byte[]> uid,
Optional<byte[]> additionalData)
Generate an hybrid encryption 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.
|
EncryptedHeader |
Ffi.encryptHeaderUsingCache(int cacheHandle,
Attr[] attributes)
Generate an hybrid encryption header using a pre-cached Public Key and Policy.
|
EncryptedHeader |
Ffi.encryptHeaderUsingCache(int cacheHandle,
Attr[] attributes,
Optional<byte[]> uid,
Optional<byte[]> additionalData)
Generate an hybrid encryption header using a pre-cached Public Key and Policy.
|
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 |
|---|---|
byte[] |
Abe.kmsEncrypt(String publicMasterKeyUniqueIdentifier,
byte[] data,
Attr[] attributes)
Encrypt data in the KMS using the given Policy Attributes (@see
Attr) and Public Master Key. |
byte[] |
Abe.kmsEncrypt(String publicMasterKeyUniqueIdentifier,
byte[] data,
Attr[] attributes,
Optional<byte[]> uid)
Encrypt data in the KMS using the given Policy Attributes (@see
Attr) and Public Master Key. |
String |
Abe.revokeAttributes(String privateMasterKeyUniqueIdentifier,
Attr[] policyAttributes)
Revoke the given policy attributes.
|
| Modifier and Type | Method and Description |
|---|---|
Attr |
Attr.axis(String axis) |
static Attr |
Attr.fromString(String attrString) |
Attr |
Attr.name(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
AttrSerializer.serialize(Attr attr,
com.fasterxml.jackson.core.JsonGenerator generator,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
static VendorAttribute |
Attr.toVendorAttribute(Attr[] policyAttributes,
String vendor_attribute_abe) |
| Modifier and Type | Method and Description |
|---|---|
Attr[] |
DataToEncrypt.getPolicyAttributes() |
| Modifier and Type | Method and Description |
|---|---|
DataToEncrypt |
DataToEncrypt.policyAttributes(Attr[] policyAttributes) |
void |
DataToEncrypt.setPolicyAttributes(Attr[] policyAttributes) |
| Constructor and Description |
|---|
DataToEncrypt(Attr[] policyAttributes,
byte[] data) |
Copyright © 2022. All rights reserved.