| Modifier and Type | Method and Description |
|---|---|
String |
CoverCrypt.booleanAccessPolicyToJson(String booleanExpression)
Convert a boolean access policy expression to JSON that can be used in KMIP calls to create user decryption keys.
|
int |
CoverCrypt.createDecryptionCache(byte[] userDecryptionKeyBytes)
Create a decryption cache that can be used with
CoverCrypt.decryptHeaderUsingCache(int, byte[]) Use of the cache
speeds up the decryption of the header. |
int |
CoverCrypt.createDecryptionCache(PrivateKey userDecryptionKey)
Create an decryption cache that can be used with
CoverCrypt.decryptHeaderUsingCache(int, byte[]) Use of the cache
speeds up decryption of the header WARN: the cache MUST be destroyed after use with
CoverCrypt.destroyDecryptionCache(int) |
int |
CoverCrypt.createEncryptionCache(Policy policy,
byte[] publicKeyBytes)
Create an encryption cache that can be used with
CoverCrypt.encryptHeaderUsingCache(int, String) Use of the cache
speeds up the encryption of the header. |
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. |
DecryptedData |
CoverCrypt.decrypt(byte[] userDecryptionKeyBytes,
byte[] ciphertext)
Decrypt a hybrid encryption
|
DecryptedData |
CoverCrypt.decrypt(byte[] userDecryptionKeyBytes,
byte[] ciphertext,
byte[] authenticationData)
Decrypt a hybrid encryption
|
byte[] |
CoverCrypt.decryptBlock(byte[] symmetricKey,
byte[] encryptedBytes)
Symmetrically decrypt a block of encrypted data.
|
byte[] |
CoverCrypt.decryptBlock(byte[] symmetricKey,
byte[] authenticationData,
byte[] encryptedBytes)
Symmetrically decrypt a block of encrypted data.
|
DecryptedHeader |
CoverCrypt.decryptHeader(byte[] userDecryptionKeyBytes,
byte[] encryptedHeaderBytes)
Decrypt a hybrid header, recovering the symmetric key, and optionally, the resource UID and additional data
|
DecryptedHeader |
CoverCrypt.decryptHeader(byte[] userDecryptionKeyBytes,
byte[] encryptedHeaderBytes,
int additionalDataLen,
Optional<byte[]> authenticationData)
Decrypt a hybrid header, recovering the symmetric key, and optionally, the resource UID and additional data
|
DecryptedHeader |
CoverCrypt.decryptHeader(PrivateKey userDecryptionKey,
byte[] encryptedHeaderBytes)
Decrypt a hybrid header, recovering the symmetric key
|
DecryptedHeader |
CoverCrypt.decryptHeader(PrivateKey userDecryptionKey,
byte[] encryptedHeaderBytes,
int additionalDataLen,
Optional<byte[]> authenticationData)
Decrypt a hybrid header, recovering the symmetric key, and optionally, the resource UID and additional data
|
DecryptedHeader |
CoverCrypt.decryptHeaderUsingCache(int cacheHandle,
byte[] encryptedHeaderBytes)
Decrypt a hybrid header using a cache, recovering the symmetric key
|
DecryptedHeader |
CoverCrypt.decryptHeaderUsingCache(int cacheHandle,
byte[] encryptedHeaderBytes,
int additionalDataLen,
Optional<byte[]> authenticationData)
Decrypt a hybrid header using a cache, recovering the symmetric key, and optionally, the resource UID and
additional data
|
void |
CoverCrypt.destroyDecryptionCache(int cacheHandle)
Destroy the cache created with
CoverCrypt.createDecryptionCache(byte[]) |
void |
CoverCrypt.destroyEncryptionCache(int cacheHandle)
Destroy the cache created with
CoverCrypt.createEncryptionCache(Policy, byte[]) |
byte[] |
CoverCrypt.encrypt(Policy policy,
byte[] publicKeyBytes,
String encryptionPolicy,
byte[] plaintext)
Generate an hybrid encryption of a plaintext.
|
byte[] |
CoverCrypt.encrypt(Policy policy,
byte[] publicKeyBytes,
String encryptionPolicy,
byte[] plaintext,
byte[] authenticationData)
Generate an hybrid encryption of a plaintext.
|
byte[] |
CoverCrypt.encrypt(Policy policy,
byte[] publicKeyBytes,
String encryptionPolicy,
byte[] plaintext,
byte[] authenticationData,
byte[] headerMetadata)
Generate an hybrid encryption of a plaintext.
|
byte[] |
CoverCrypt.encryptBlock(byte[] symmetricKey,
byte[] clearText)
Symmetrically encrypt a block of clear text data.
|
byte[] |
CoverCrypt.encryptBlock(byte[] symmetricKey,
byte[] authenticationData,
byte[] clearText)
Symmetrically encrypt a block of clear text data.
|
EncryptedHeader |
CoverCrypt.encryptHeader(Policy policy,
byte[] publicKeyBytes,
String encryptionPolicy)
Generate an hybrid encryption header.
|
EncryptedHeader |
CoverCrypt.encryptHeader(Policy policy,
byte[] publicKeyBytes,
String encryptionPolicy,
Optional<byte[]> additionalData,
Optional<byte[]> authenticationData)
Generate an hybrid encryption 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.
|
EncryptedHeader |
CoverCrypt.encryptHeaderUsingCache(int cacheHandle,
String encryptionPolicy)
Generate an hybrid encryption header using a pre-cached Public Key and Policy.
|
EncryptedHeader |
CoverCrypt.encryptHeaderUsingCache(int cacheHandle,
String encryptionPolicy,
Optional<byte[]> additionalData,
Optional<byte[]> authenticationData)
Generate an hybrid encryption header using a pre-cached Public Key and Policy.
|
MasterKeys |
CoverCrypt.generateMasterKeys(Policy policy)
Generate the master private and public keys using the ABE policy
|
byte[] |
CoverCrypt.generateUserPrivateKey(byte[] masterPrivateKey,
AccessPolicy accessPolicy,
Policy policy)
Generate the user private key
|
byte[] |
CoverCrypt.generateUserPrivateKey(byte[] masterPrivateKey,
String booleanAccessPolicy,
Policy policy)
Generate the user private key
|
String |
CoverCrypt.get_last_error()
Return the last error in a String that does not exceed 1023 bytes
|
String |
CoverCrypt.get_last_error(int max_len)
Return the last error in a String that does not exceed `max_len` bytes
|
Policy |
CoverCrypt.rotateAttributes(Attr[] attributes,
Policy policy)
Rotate attributes, changing their underlying value with that of an unused slot
|
void |
CoverCrypt.set_error(String error_msg)
Set the last error on the native lib
|
int |
CoverCrypt.unwrap(int result)
If the result of the last FFI call is in Error, recover the last error from the native code and throw an
exception wrapping it.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Findex.compact(int numberOfReindexingPhasesBeforeFullSet,
byte[] existingKey,
byte[] newKey,
byte[] label,
Database database) |
protected abstract Set<Uid32> |
Database.fetchAllEntryTableUids()
Fetch all Uids of the Entry Table
|
protected abstract Map<Uid32,ChainTableValue> |
Database.fetchChains(List<Uid32> uids)
Fetch the Chain Table lines for the list of given
Uid32. |
protected abstract Map<Uid32,EntryTableValue> |
Database.fetchEntries(List<Uid32> uids)
Fetch the Entry Table lines for the list of given
Uid32. |
static String |
Findex.get_last_error()
Return the last error in a String that does not exceed 1023 bytes
|
static String |
Findex.get_last_error(int maxLen)
Return the last error in a String that does not exceed `max_len` bytes
|
protected abstract List<Location> |
Database.listRemovedLocations(List<Location> locations)
Determine which of the passed
Location no longer exist in the main database/storage and return them. |
static Map<Keyword,Set<Location>> |
Findex.search(byte[] key,
byte[] label,
Set<Keyword> keyWords,
Database db) |
static Map<Keyword,Set<Location>> |
Findex.search(byte[] key,
byte[] label,
Set<Keyword> keyWords,
int maxResultsPerKeyword,
int maxDepth,
Database db) |
static Map<Keyword,Set<Location>> |
Findex.search(byte[] key,
byte[] label,
Set<Keyword> keyWords,
int maxResultsPerKeyword,
int maxDepth,
int insecureFetchChainsBatchSize,
Database db) |
protected abstract boolean |
Database.searchProgress(List<IndexedValue> indexedValues)
The Findex search mechanism will call this method as the search for keywords progresses through the search graph.
|
static void |
Findex.set_error(String error_msg)
Set the last error on the native lib
|
static void |
Findex.unwrap(int result)
If the result of the last FFI call is in Error, recover the last error from the native code and throw an
exception wrapping it.
|
protected abstract void |
Database.updateTables(List<Uid32> removedChains,
Map<Uid32,EntryTableValue> newEntries,
Map<Uid32,ChainTableValue> newChains)
Update the database tables with the new values.
|
static void |
Findex.upsert(byte[] key,
byte[] label,
Map<IndexedValue,Set<Keyword>> indexedValuesAndWords,
Database db) |
protected abstract void |
Database.upsertChains(Map<Uid32,ChainTableValue> uidsAndValues)
Upsert the given lines into the Chain Table *
|
protected abstract Map<Uid32,EntryTableValue> |
Database.upsertEntries(Map<Uid32,EntryTableValues> uidsAndValues)
Upsert the given lines into the Entry Table.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Progress.apply(com.sun.jna.Pointer searchResultsPointer,
int searchResultsLength) |
int |
UpsertChain.apply(com.sun.jna.Pointer items,
int itemsLength) |
int |
FindexNativeWrapper.UpsertChainCallback.apply(com.sun.jna.Pointer chains,
int chainsLength) |
boolean |
FindexNativeWrapper.ProgressCallback.apply(com.sun.jna.Pointer output,
int outputSize) |
int |
FetchAllEntryTableUids.apply(com.sun.jna.Pointer uidsPointer,
com.sun.jna.ptr.IntByReference uidsSize) |
int |
FindexNativeWrapper.FetchAllEntryTableUidsCallback.apply(com.sun.jna.Pointer uidsPointer,
com.sun.jna.ptr.IntByReference uidsSize) |
int |
ListRemovedLocations.apply(com.sun.jna.Pointer output,
com.sun.jna.ptr.IntByReference outputSize,
com.sun.jna.Pointer items,
int itemsLength) |
int |
UpsertEntry.apply(com.sun.jna.Pointer outputs,
com.sun.jna.ptr.IntByReference outputsLength,
com.sun.jna.Pointer entries,
int entriesLength) |
int |
FetchChain.apply(com.sun.jna.Pointer output,
com.sun.jna.ptr.IntByReference outputSize,
com.sun.jna.Pointer uidsPointer,
int uidsLength) |
int |
FindexNativeWrapper.FetchEntryCallback.apply(com.sun.jna.Pointer output,
com.sun.jna.ptr.IntByReference outputSize,
com.sun.jna.Pointer uidsPointer,
int uidsLength) |
int |
FindexNativeWrapper.FetchChainCallback.apply(com.sun.jna.Pointer output,
com.sun.jna.ptr.IntByReference outputSize,
com.sun.jna.Pointer uidsPointer,
int uidsLength) |
int |
FindexNativeWrapper.UpsertEntryCallback.apply(com.sun.jna.Pointer outputs,
com.sun.jna.ptr.IntByReference outputsLength,
com.sun.jna.Pointer entries,
int entriesLength) |
int |
FindexNativeWrapper.ListRemovedLocationsCallback.apply(com.sun.jna.Pointer output,
com.sun.jna.ptr.IntByReference outputSize,
com.sun.jna.Pointer locations,
int locationsLength) |
int |
FetchEntry.apply(com.sun.jna.Pointer output,
com.sun.jna.ptr.IntByReference outputSize,
com.sun.jna.Pointer uidsPointer,
int uidsLength) |
int |
UpdateLines.apply(com.sun.jna.Pointer removedChainsPointer,
int removedChainsLength,
com.sun.jna.Pointer newEntriesPointer,
int newEntriesLength,
com.sun.jna.Pointer newChainsPointer,
int newChainsLength) |
int |
FindexNativeWrapper.UpdateLinesCallback.apply(com.sun.jna.Pointer removedChains,
int removedChainsLength,
com.sun.jna.Pointer newEntries,
int newEntriesLength,
com.sun.jna.Pointer newChains,
int newChainsLength) |
Map<Uid32,EntryTableValue> |
FindexUserCallbacks.DBFetchEntry.fetch(List<Uid32> uids) |
Map<Uid32,ChainTableValue> |
FindexUserCallbacks.DBFetchChain.fetch(List<Uid32> uids) |
Set<Uid32> |
FindexUserCallbacks.DBFetchAllEntryTableUids.fetchAll() |
List<Location> |
FindexUserCallbacks.DBListRemovedLocations.list(List<Location> locations) |
static <K extends Leb128Serializable,V extends Leb128Serializable> |
FFiUtils.mapToOutputPointer(Map<K,V> map,
com.sun.jna.Pointer output,
com.sun.jna.ptr.IntByReference outputSize)
Serialize a map to a memory location specified by the Pointer; set its actual size in the pointed int.
|
boolean |
FindexUserCallbacks.SearchProgress.notify(List<IndexedValue> indexedValues) |
void |
SearchResults.readObject(InputStream is) |
static <V extends Leb128Serializable> |
FFiUtils.setToOutputPointer(Set<V> set,
com.sun.jna.Pointer output,
com.sun.jna.ptr.IntByReference outputSize) |
void |
FindexUserCallbacks.DBUpdateLines.update(List<Uid32> removedChains,
Map<Uid32,EntryTableValue> newEntries,
Map<Uid32,ChainTableValue> newChains) |
void |
FindexUserCallbacks.DBUpsertChain.upsert(Map<Uid32,ChainTableValue> uidsAndValues) |
Map<Uid32,EntryTableValue> |
FindexUserCallbacks.DBUpsertEntry.upsert(Map<Uid32,EntryTableValues> uidsAndValues) |
void |
SearchResults.writeObject(OutputStream os) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Leb128Serializable> |
Leb128Reader.deserializeCollection(Class<? extends Leb128Serializable> clazzOfT,
byte[] bytes) |
static <K extends Leb128Serializable,V extends Leb128Serializable> |
Leb128Reader.deserializeMap(Class<? extends Leb128Serializable> clazzOfK,
Class<? extends Leb128Serializable> clazzOfV,
byte[] bytes) |
static <LEFT extends Leb128Serializable,RIGHT extends Leb128Serializable> |
Leb128Reader.deserializeTuple(Class<? extends Leb128Serializable> clazzOfLeft,
Class<? extends Leb128Serializable> clazzOfRight,
byte[] bytes) |
<T extends Leb128Serializable> |
Leb128Reader.readCollection(Class<? extends Leb128Serializable> clazzOfT) |
<K extends Leb128Serializable,V extends Leb128Serializable> |
Leb128Reader.readMap(Class<? extends Leb128Serializable> clazzOfK,
Class<? extends Leb128Serializable> clazzOfV) |
<T extends Leb128Serializable> |
Leb128Reader.readObject(Class<? extends Leb128Serializable> clazzOfT) |
void |
Leb128Serializable.readObject(InputStream is) |
void |
Leb128ByteArray.readObject(InputStream in) |
<T extends Leb128Serializable> |
Leb128Reader.readObject(T newInstance) |
<LEFT extends Leb128Serializable,RIGHT extends Leb128Serializable> |
Leb128Reader.readTuple(Class<? extends Leb128Serializable> clazzOfK,
Class<? extends Leb128Serializable> clazzOfV) |
static <T extends Leb128Serializable> |
Leb128Writer.serializeCollection(Collection<T> elements) |
static <K extends Leb128Serializable,V extends Leb128Serializable> |
Leb128Writer.serializeEntryCollection(Collection<Map.Entry<K,V>> entryCollection) |
static <K extends Leb128Serializable,V extends Leb128Serializable> |
Leb128Writer.serializeMap(Map<K,V> map) |
static <LEFT extends Leb128Serializable,RIGHT extends Leb128Serializable> |
Leb128Writer.serializeTuple(Tuple<LEFT,RIGHT> tuple) |
<T extends Leb128Serializable> |
Leb128Writer.writeCollection(Collection<T> elements) |
<K extends Leb128Serializable,V extends Leb128Serializable> |
Leb128Writer.writeEntryCollection(Collection<Map.Entry<K,V>> entryCollection) |
<K extends Leb128Serializable,V extends Leb128Serializable> |
Leb128Writer.writeMap(Map<K,V> map) |
void |
Leb128Serializable.writeObject(OutputStream os) |
void |
Leb128ByteArray.writeObject(OutputStream out) |
<T extends Leb128Serializable> |
Leb128Writer.writeObject(T obj) |
<LEFT extends Leb128Serializable,RIGHT extends Leb128Serializable> |
Leb128Writer.writeTuple(Tuple<LEFT,RIGHT> tuple) |
| Modifier and Type | Method and Description |
|---|---|
Location |
IndexedValue.getLocation() |
NextKeyword |
IndexedValue.getWord() |
void |
EntryTableValues.readObject(InputStream is) |
void |
EntryTableValues.writeObject(OutputStream os) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
Cosmian.hex_decode(String hex_encoded_string)
Decode an hex encoded String to bytes
|
| Modifier and Type | Method and Description |
|---|---|
DecryptedData |
KmsClient.coverCryptDecrypt(String userDecryptionKeyUniqueIdentifier,
byte[] encryptedData)
Decrypt the data in the KMS using the given User Decryption Key The encryptedData should be made of 3 parts: -
the length of the encrypted header as a u32 in big endian format (4 bytes) - the header - the AES GCM encrypted
content
|
DecryptedData |
KmsClient.coverCryptDecrypt(String userDecryptionKeyUniqueIdentifier,
byte[] encryptedData,
byte[] authenticationData)
Decrypt the data in the KMS using the given User Decryption Key The encryptedData should be made of 3 parts: -
the length of the encrypted header as a u32 in big endian format (4 bytes) - the header - the AES GCM encrypted
content
|
byte[] |
KmsClient.coverCryptEncrypt(String publicMasterKeyUniqueIdentifier,
byte[] plaintext,
String encryptionPolicy)
Encrypt data in the KMS using the given encryption policy and Public Master Key.
|
byte[] |
KmsClient.coverCryptEncrypt(String publicMasterKeyUniqueIdentifier,
byte[] plaintext,
String encryptionPolicy,
byte[] authenticationData)
Encrypt data in the KMS using the given encryption policy and Public Master Key.
|
byte[] |
KmsClient.coverCryptEncrypt(String publicMasterKeyUniqueIdentifier,
byte[] plaintext,
String encryptionPolicy,
byte[] authenticationData,
byte[] headerMetaData)
Encrypt data in the KMS using the given encryption policy and Public Master Key.
|
String[] |
KmsClient.createCoverCryptMasterKeyPair(Policy policy)
Generate inside the KMS, a master private and public key pair for the
Policy |
String |
KmsClient.createCoverCryptUserDecryptionKey(AccessPolicy accessPolicy,
String privateMasterKeyUniqueIdentifier)
Create a User Decryption Key for the given
AccessPolicy in the KMS |
String |
KmsClient.createCoverCryptUserDecryptionKey(String accessPolicy,
String privateMasterKeyUniqueIdentifier)
Create a User Decryption Key for the given
AccessPolicy expressed as a boolean expression |
String |
KmsClient.destroyKey(String uniqueIdentifier)
Destroy a key in the KMS which makes it unavailable to use in the KMS to perform
KmsClient.coverCryptEncrypt(String, byte[], String) or KmsClient.coverCryptDecrypt(String, byte[], Optional)
operations. |
String |
KmsClient.importCoverCryptPrivateMasterKey(String uniqueIdentifier,
PrivateKey privateMasterKey,
boolean replaceExisting)
Import a Private Master Key in the KMS
|
String |
KmsClient.importCoverCryptPublicMasterKey(String uniqueIdentifier,
PublicKey publicMasterKey,
boolean replaceExisting)
Import a Public Master Key in the KMS
|
String |
KmsClient.importCoverCryptUserDecryptionKey(String uniqueIdentifier,
PrivateKey userDecryptionKey,
boolean replaceExisting)
Import a User Decryption Key in the KMS
|
PrivateKey |
KmsClient.retrieveCoverCryptPrivateMasterKey(String privateMasterKeyUniqueIdentifier)
Retrieve the Master Private Key from the KMS
|
PublicKey |
KmsClient.retrieveCoverCryptPublicMasterKey(String publicMasterKeyUniqueIdentifier)
Retrieve the Master Public Key from the KMS
|
PrivateKey |
KmsClient.retrieveCoverCryptUserDecryptionKey(String userDecryptionKeyUniqueIdentifier)
Retrieve a User Decryption Key from the KMS
|
String |
KmsClient.revokeKey(String keyUniqueIdentifier)
Revoke a key in the KMS which makes it unavailable to use in the KMS to perform
KmsClient.coverCryptEncrypt(String, byte[], String) or KmsClient.coverCryptDecrypt(String, byte[], Optional)
operations. |
String |
KmsClient.rotateCoverCryptAttributes(String privateMasterKeyUniqueIdentifier,
Attr[] policyAttributes)
Rotate 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) |
void |
Attr.setAxis(String axis) |
void |
Attr.setName(String name) |
VendorAttribute |
AccessPolicy.toVendorAttribute() |
static VendorAttribute |
Attr.toVendorAttribute(Attr[] policyAttributes,
String vendor_attribute_abe) |
| Constructor and Description |
|---|
Attr(String axis,
String name) |
| Modifier and Type | Method and Description |
|---|---|
static DecryptedData |
DecryptedData.fromBytes(byte[] bytes) |
byte[] |
DataToEncrypt.toBytes() |
| 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
|
static Policy |
Policy.fromAttributes(Attributes attributes)
Extract the policy from the Key Attributes
|
static PolicyAttributeUid |
PolicyAttributeUid.fromString(String s) |
VendorAttribute |
Policy.toVendorAttribute()
Convert the policy to a KMIP Vendor attribute that can be set on a KMIP Object
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
KmipUtils.bytesFromKeyBlock(KeyBlock keyBlock)
Extract the key bytes from a
KeyBlock for those made of byte arrays |
CreateResponse |
Kmip.create(Create request)
This operation requests the server to generate a new symmetric key or generate Secret Data as a Managed
Cryptographic Object.
|
CreateKeyPairResponse |
Kmip.createKeyPair(CreateKeyPair request)
This operation requests the server to generate a new public/private key pair and register the two corresponding
new Managed Cryptographic Objects.
|
DecryptResponse |
Kmip.decrypt(Decrypt request)
This operation requests the server to perform a decryption operation on the provided data using a Managed
Cryptographic Object as the key for the decryption operation.
|
DestroyResponse |
Kmip.destroy(Destroy request)
This operation is used to indicate to the server that the key material for the specified Managed Object SHALL be
destroyed or rendered inaccessible.
|
EncryptResponse |
Kmip.encrypt(Encrypt request)
This operation requests the server to perform an encryption operation on the provided data using a Managed
Cryptographic Object as the key for the encryption operation.
|
GetResponse |
Kmip.get(Get request)
This operation requests that the server returns the Managed Object specified by its Unique Identifier.
|
ImportResponse |
Kmip.importObject(Import request)
This operation requests the server to Import a Managed Object specified by its Unique Identifier.
|
LocateResponse |
Kmip.locate(Locate request)
This operation requests that the server search for one or more Managed Objects, depending on the attributes
specified in the request.
|
static byte[] |
KmipUtils.nonceFromKeyWrappingData(KeyWrappingData keyWrappingData)
Extract the nonce/iv/counter bytes from a
KeyWrappingData for those made of byte arrays |
ReKeyKeyPairResponse |
Kmip.reKeyKeyPair(ReKeyKeyPair request)
This request is used to generate a replacement key pair for an existing public/private key pair.
|
RevokeResponse |
Kmip.revoke(Revoke request)
This operation requests the server to revoke a Managed Cryptographic Object or an Opaque Object.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
PrivateKey.bytes()
The low level cryptographic content of the Private Key
|
byte[] |
PublicKey.bytes()
The low level cryptographic content of the Public Key
|
static PGPKey |
PGPKey.fromJson(String json)
Deserialize an instance from its Json representation obtained using toJson()
|
static PrivateKey |
PrivateKey.fromJson(String json)
Deserialize an instance from its Json representation obtained using toJson()
|
static SecretData |
SecretData.fromJson(String json)
Deserialize an instance from its Json representation obtained using toJson()
|
static CertificateRequest |
CertificateRequest.fromJson(String json)
Deserialize an instance from its Json representation obtained using toJson()
|
static Certificate |
Certificate.fromJson(String json)
Deserialize an instance from its Json representation obtained using toJson()
|
static SplitKey |
SplitKey.fromJson(String json)
Deserialize an instance from its Json representation obtained using toJson()
|
static OpaqueObject |
OpaqueObject.fromJson(String json)
Deserialize an instance from its Json representation obtained using toJson()
|
static PublicKey |
PublicKey.fromJson(String json)
Deserialize an instance from its Json representation obtained using oJson()
|
static SymmetricKey |
SymmetricKey.fromJson(String json)
Deserialize an instance from its Json representation obtained using toJson()
|
protected static <T extends KmipObject> |
KmipObject.fromJson(String json,
Class<T> clazz) |
String |
KmipObject.toJson()
This method is mostly used for local tests and serialization.
|
| Modifier and Type | Method and Description |
|---|---|
static MetaData |
MetaData.fromBytes(byte[] bytes)
Parse meta data from bytes
|
byte[] |
MetaData.toBytes()
Converts the meta data to a byte array which can parsed back using the
MetaData.fromBytes(byte[]) method The
first 4 bytes is the u32 size of the uid in big endian format. |
Copyright © 2023. All rights reserved.