Index
C D E G I K N P S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- com.ironcorelabs.tenantsecurity.kms.v1 - package com.ironcorelabs.tenantsecurity.kms.v1
- com.ironcorelabs.tenantsecurity.utils - package com.ironcorelabs.tenantsecurity.utils
- CompletableFutures - Class in com.ironcorelabs.tenantsecurity.utils
-
Utility functions for working with CompletableFutures.
- CompletableFutures() - Constructor for class com.ironcorelabs.tenantsecurity.utils.CompletableFutures
- CompletableFutureSupplier<T> - Interface in com.ironcorelabs.tenantsecurity.utils
-
This is similar to the Java Supplier function type.
- create(String, String) - Static method in class com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSClient
-
Utility method to create a new client instance which returns a CompletableFuture to help handle error situations which can occur on class construction.
D
- decrypt(EncryptedDocument, DocumentMetadata) - Method in class com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSClient
-
Decrypt the provided EncryptedDocument.
- decryptBatch(Collection<EncryptedDocument>, DocumentMetadata) - Method in class com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSClient
-
Decrypt the provided EncryptedDocuments in parallel.
- DEFAULT_AES_THREADPOOL_SIZE - Static variable in class com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSClient
-
Default size of the threadpool used for AES encryptions/decryptions.
- DEFAULT_REQUEST_THREADPOOL_SIZE - Static variable in class com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSClient
-
Default size of web request thread pool.
- DocumentMetadata - Class in com.ironcorelabs.tenantsecurity.kms.v1
-
Holds metadata fields as part of an encrypted document.
- DocumentMetadata(String, String, String) - Constructor for class com.ironcorelabs.tenantsecurity.kms.v1.DocumentMetadata
-
Constructor for DocumentMetadata class which has no additional metadata.
- DocumentMetadata(String, String, String, String) - Constructor for class com.ironcorelabs.tenantsecurity.kms.v1.DocumentMetadata
-
Constructor for DocumentMetadata class which contains a unique request ID to send to the Tenant Security Proxy.
- DocumentMetadata(String, String, String, Map<String, String>) - Constructor for class com.ironcorelabs.tenantsecurity.kms.v1.DocumentMetadata
-
Constructor for DocumentMetadata class which contains arbitrary key/value pairs to send to the Tenant Security Proxy.
- DocumentMetadata(String, String, String, Map<String, String>, String) - Constructor for class com.ironcorelabs.tenantsecurity.kms.v1.DocumentMetadata
-
Constructor for DocumentMetadata class which contains arbitrary key/value pairs and a unique request ID to send to the Tenant Security Proxy.
E
- encrypt(PlaintextDocument, DocumentMetadata) - Method in class com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSClient
-
Encrypt the provided document reusing an existing encrypted document encryption key (EDEK).
- encrypt(Map<String, byte[]>, DocumentMetadata) - Method in class com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSClient
-
Encrypt the provided document.
- encryptBatch(Collection<Map<String, byte[]>>, DocumentMetadata) - Method in class com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSClient
-
Encrypt documents in parallel.
- EncryptedDocument - Class in com.ironcorelabs.tenantsecurity.kms.v1
-
Holds result of encrypting a document with the Tenant Security KMS client.
- EncryptedDocument(Map<String, byte[]>, String) - Constructor for class com.ironcorelabs.tenantsecurity.kms.v1.EncryptedDocument
- encryptExistingBatch(Collection<PlaintextDocument>, DocumentMetadata) - Method in class com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSClient
-
Encrypt the provided documents reusing an existing encrypted document encryption key (EDEK).
- ErrorResponse - Class in com.ironcorelabs.tenantsecurity.kms.v1
-
Represents the JSON response object for errors that occur during wrap/unwrap of requests to the Tenant Security Proxy.
- ErrorResponse() - Constructor for class com.ironcorelabs.tenantsecurity.kms.v1.ErrorResponse
G
- get() - Method in interface com.ironcorelabs.tenantsecurity.utils.CompletableFutureSupplier
- getAsPostData() - Method in class com.ironcorelabs.tenantsecurity.kms.v1.DocumentMetadata
-
Convert all of the metadata into a HashMap that can be used to POST all the data to the Tenant Security Proxy.
- getCode() - Method in class com.ironcorelabs.tenantsecurity.kms.v1.ErrorResponse
- getCode() - Method in enum com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSErrorCodes
-
Get the numerical code value.
- getDataLabel() - Method in class com.ironcorelabs.tenantsecurity.kms.v1.DocumentMetadata
-
Get the data classification label.
- getDecryptedFields() - Method in class com.ironcorelabs.tenantsecurity.kms.v1.PlaintextDocument
-
Get the Map of the plaintext documents fields.
- getDekBytes() - Method in class com.ironcorelabs.tenantsecurity.kms.v1.UnwrappedDocumentKey
- getDekBytes() - Method in class com.ironcorelabs.tenantsecurity.kms.v1.WrappedDocumentKey
- getEdek() - Method in class com.ironcorelabs.tenantsecurity.kms.v1.EncryptedDocument
-
Shorthand method for getEncryptedDocumentEncryptionKey()
- getEdek() - Method in class com.ironcorelabs.tenantsecurity.kms.v1.PlaintextDocument
-
Shorthand method for getEncryptedDocumentEncryptionKey()
- getEdek() - Method in class com.ironcorelabs.tenantsecurity.kms.v1.WrappedDocumentKey
- getEncryptedDocumentEncryptionKey() - Method in class com.ironcorelabs.tenantsecurity.kms.v1.EncryptedDocument
-
Get the document's encrypted document encryption key (EDEK).
- getEncryptedDocumentEncryptionKey() - Method in class com.ironcorelabs.tenantsecurity.kms.v1.PlaintextDocument
-
Get the document's encrypted document encryption key (EDEK).
- getEncryptedFields() - Method in class com.ironcorelabs.tenantsecurity.kms.v1.EncryptedDocument
-
Get the encrypted map of document fields by id/name (String) to encrypted bytes (byte[]).
- getErrorCode() - Method in exception com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSException
-
Get the TenantSecurityKMSErrorCodes instance this error represents.
- getHttpResponseCode() - Method in exception com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSException
-
Get the HTTP response code that was returned from the Tenant Security Proxy.
- getMessage() - Method in class com.ironcorelabs.tenantsecurity.kms.v1.ErrorResponse
- getMessage() - Method in enum com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSErrorCodes
-
Get the human readable error message associated with this error code.
- getOtherData() - Method in class com.ironcorelabs.tenantsecurity.kms.v1.DocumentMetadata
-
Get any other metadata.
- getRequestId() - Method in class com.ironcorelabs.tenantsecurity.kms.v1.DocumentMetadata
-
Get the provided request ID
- getRequestingUserOrServiceId() - Method in class com.ironcorelabs.tenantsecurity.kms.v1.DocumentMetadata
-
Get the requesting user or service ID.
- getTenantId() - Method in class com.ironcorelabs.tenantsecurity.kms.v1.DocumentMetadata
-
Get the tenant ID.
I
- INVALID_PROVIDED_EDEK - com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSErrorCodes
- INVALID_UNWRAP_BODY - com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSErrorCodes
- INVALID_WRAP_BODY - com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSErrorCodes
- isCiphertext(byte[]) - Static method in class com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSClient
-
Check if an IronCore header is present in some bytes, indicating that it is ciphertext.
K
- KMS_CONFIGURATION_DISABLED - com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSErrorCodes
- KMS_UNWRAP_FAILED - com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSErrorCodes
- KMS_WRAP_FAILED - com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSErrorCodes
N
- NO_PRIMARY_KMS_CONFIGURATION - com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSErrorCodes
P
- PlaintextDocument - Class in com.ironcorelabs.tenantsecurity.kms.v1
-
Represents a plaintext (non-encrypted) document which can have 1-N fields.
- PlaintextDocument(Map<String, byte[]>, String) - Constructor for class com.ironcorelabs.tenantsecurity.kms.v1.PlaintextDocument
S
- sequence(List<CompletableFuture<T>>) - Static method in class com.ironcorelabs.tenantsecurity.utils.CompletableFutures
-
Convert a List of CompletableFutures into a CompletableFuture of a List.
T
- TenantSecurityKMSClient - Class in com.ironcorelabs.tenantsecurity.kms.v1
-
TenantSecurityKMSClient class that can be used to encrypt and decrypt documents.
- TenantSecurityKMSClient(String, String) - Constructor for class com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSClient
-
Constructor for TenantSecurityKMSClient class that uses the SecureRandom NativePRNGNonBlocking instance for random number generation.
- TenantSecurityKMSClient(String, String, int, int) - Constructor for class com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSClient
-
Constructor for TenantSecurityKMSClient class that allows call to provide web request and AES operation thread pool sizes.
- TenantSecurityKMSClient(String, String, int, int, SecureRandom) - Constructor for class com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSClient
-
Constructor for TenantSecurityKMSClient class that allows for modifying the random number generator used for encryption.
- TenantSecurityKMSErrorCodes - Enum in com.ironcorelabs.tenantsecurity.kms.v1
-
Enum of error codes that can occur as part of requests to the Tenant Security Proxy Docker container.
- TenantSecurityKMSException - Exception in com.ironcorelabs.tenantsecurity.kms.v1
-
Represents an Exception that occured within the Tenant Security Proxy Docker container.
- TenantSecurityKMSException(TenantSecurityKMSErrorCodes) - Constructor for exception com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSException
-
Create a new TenantSecurityKMSException when the request to the API couldn't be made.
- TenantSecurityKMSException(TenantSecurityKMSErrorCodes, int) - Constructor for exception com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSException
-
Create a new TenantSecurityKMSException with the provided error code and HTTP status code.
- TenantSecurityKMSRequest - Class in com.ironcorelabs.tenantsecurity.kms.v1
-
Handles requests to the Tenant Security Proxy Docker image for wrapping and unwrapping keys.
- TenantSecurityKMSRequest(String, String, int) - Constructor for class com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSRequest
- tryCatchNonFatal(CompletableFutureSupplier<T>) - Static method in class com.ironcorelabs.tenantsecurity.utils.CompletableFutures
-
Try to run the given function, placing the value in a CompletableFuture.
U
- UNABLE_TO_MAKE_REQUEST - com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSErrorCodes
- UNAUTHORIZED_REQUEST - com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSErrorCodes
- UNKNOWN_ERROR - com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSErrorCodes
- UNKNOWN_TENANT_OR_NO_ACTIVE_KMS_CONFIGURATIONS - com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSErrorCodes
- unwrapKey(String, DocumentMetadata) - Method in class com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSRequest
-
Request unwrap endpoint with the provided edek.
- UnwrappedDocumentKey - Class in com.ironcorelabs.tenantsecurity.kms.v1
-
Represents the JSON response object from the document/unwrap endpoint which includes the dek.
- UnwrappedDocumentKey() - Constructor for class com.ironcorelabs.tenantsecurity.kms.v1.UnwrappedDocumentKey
V
- valueOf(int) - Static method in enum com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSErrorCodes
-
Get an instance of an TenantSecurityKMSErrorCodes from the provided numerical code.
- valueOf(String) - Static method in enum com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSErrorCodes
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSErrorCodes
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- wrapKey(DocumentMetadata) - Method in class com.ironcorelabs.tenantsecurity.kms.v1.TenantSecurityKMSRequest
-
Request wrap endpoint to generate a DEK and EDEK.
- WrappedDocumentKey - Class in com.ironcorelabs.tenantsecurity.kms.v1
-
A new DEK wrapped by the tenant's KMS and its encrypted form (EDEK), both in Base64 format.
- WrappedDocumentKey() - Constructor for class com.ironcorelabs.tenantsecurity.kms.v1.WrappedDocumentKey
All Classes All Packages