| Package | Description | 
|---|---|
| com.absio.broker.mapper | |
| com.absio.provider | 
| Modifier and Type | Method and Description | 
|---|---|
UUID | 
UserMapper.create(List<IndexedECPrivateKey> keys)
Create a user on the Absio Broker™ application. 
 | 
void | 
PublicKeyMapper.createOrUpdate(ECPublicKey publicKey,
              KeyType type,
              int index,
              boolean active)
Creates or updates the public key on the Absio Broker™ application. 
 | 
void | 
PublicKeyMapper.createOrUpdate(IndexedECPublicKey publicKey)
Creates or updates the public key on the Absio Broker™ application. 
 | 
void | 
SecuredContainerMapper.createOrUpdate(SecuredContainer container)
Uploads the encrypted content of the  
SecuredContainer and the Metadata to the
 Absio Broker™ application. | 
void | 
KeyFileMapper.createOrUpdate(UUID userId,
              String passphrase,
              String reminder,
              byte[] encryptedKeyFile)
Stores the encrypted keys file on the Absio Broker™ application and protects it with the provided
 passphrase. 
 | 
void | 
KeyFileMapper.delete()
Deletes an encrypted key file from the Absio Broker™ application. 
 | 
void | 
UserMapper.delete()
Deletes the authenticated user from the server. 
 | 
String | 
RestClient.delete(String endpoint,
      com.absio.broker.mapper.ICustomHeaderWork headerWork)  | 
String | 
IRestClient.delete(String endpoint,
      com.absio.broker.mapper.ICustomHeaderWork headers)
Executes an HTTP DELETE to the specified endpoint. 
 | 
void | 
SecuredContainerMapper.delete(UUID containerId)
Deletes the encrypted content of the container and deletes the metadata records from the Absio Broker™
 application application. 
 | 
boolean | 
KeyFileMapper.doesChecksumMatch(UUID userId,
                 byte[] encryptedKeyFile)
Generates a checksum of the encrypted keys file and checks if it matches the checksum of a keys file stored on
 the Absio Broker™ application. 
 | 
EventPackage | 
EventsMapper.get(EventActionType actionType,
   EventType eventType,
   Long startingId,
   Long endingId,
   UUID containerId,
   String containerType)
Gets all ContainerEvents that match the action type, starting id, ending id, container id and type. 
 | 
String | 
RestClient.get(String endpoint,
   com.absio.broker.mapper.ICustomHeaderWork headerWork)  | 
String | 
IRestClient.get(String endpoint,
   com.absio.broker.mapper.ICustomHeaderWork headers)
Executes an HTTP GET to the specified endpoint. 
 | 
SecuredContainer | 
SecuredContainerMapper.get(UUID containerId)
Returns the  
SecuredContainer from the Absio Broker™ application. | 
List<IndexedECPublicKey> | 
PublicKeyMapper.get(UUID userId,
   KeyType type,
   Integer index)
Gets all public keys matching the user ID, key type, key ring index and algorithm index. 
 | 
byte[] | 
KeyFileMapper.get(UUID userId,
   String passphrase)
Retrieves an encrypted keys file stored on the Absio Broker™ application. 
 | 
IndexedECPublicKey | 
PublicKeyMapper.getByIndex(UUID userId,
          KeyType type,
          int index)
This gets the public key that match the user ID, type and index from the Absio Broker™ application. 
 | 
byte[] | 
RestClient.getFromUrl(String url,
          com.absio.broker.mapper.ICustomHeaderWork headerWork)  | 
byte[] | 
IRestClient.getFromUrl(String url,
          com.absio.broker.mapper.ICustomHeaderWork headers)
Executes an HTTP GET to the specified URL and returns the byte data. 
 | 
ContainerInfo | 
SecuredContainerMapper.getInfo(UUID containerId)
Gets the  
ContainerInfo for a SecuredContainer from the Absio Broker™ application. | 
IndexedECPublicKey | 
PublicKeyMapper.getLatestActive(UUID userId,
               KeyType type)
This gets the latest active public key that match the user ID and type from the Absio Broker™ application. 
 | 
String | 
KeyFileMapper.getReminder(UUID userId)
Retrieves a user's keys file passphrase reminder stored on the Absio Broker™ application. 
 | 
org.threeten.bp.ZonedDateTime | 
AbstractMapper.getServerTime()
Get the current time from Absio Broker™ application. 
 | 
void | 
UserMapper.logIn(KeyRing keyRing)
Uses the provided KeyRing to authenticate with the Absio Broker™ application. 
 | 
String | 
RestClient.post(String endpoint,
    String content,
    com.absio.broker.mapper.ICustomHeaderWork headerWork)  | 
String | 
IRestClient.post(String endpoint,
    String content,
    com.absio.broker.mapper.ICustomHeaderWork headers)
Executes an HTTP POST to the specified endpoint with a content payload. 
 | 
String | 
RestClient.put(String endpoint,
   String content,
   com.absio.broker.mapper.ICustomHeaderWork headerWork)  | 
String | 
IRestClient.put(String endpoint,
   String content,
   com.absio.broker.mapper.ICustomHeaderWork headers)
Executes an HTTP PUT to the specified endpoint with a content payload. 
 | 
String | 
RestClient.putToUrl(String url,
        byte[] data,
        com.absio.broker.mapper.ICustomHeaderWork headerWork)  | 
String | 
IRestClient.putToUrl(String url,
        byte[] data,
        com.absio.broker.mapper.ICustomHeaderWork headers)
Executes an HTTP PUT to the specified URL with a data content payload. 
 | 
void | 
SecuredContainerMapper.updateAccess(UUID containerId,
            List<Access> accessLevels)
Updates the access for a  
SecuredContainer on the Absio Broker™ application. | 
void | 
SecuredContainerMapper.updateType(UUID containerId,
          String type)
Update the type of a  
SecuredContainer on the Absio Broker™ application. | 
| Modifier and Type | Method and Description | 
|---|---|
byte[] | 
ServerProvider.changeCredentials(String password,
                 String passphrase)
This will change the authenticated user's credentials. 
 | 
byte[] | 
ServerCacheOfsProvider.changeCredentials(String password,
                 String passphrase)
This will change the authenticated user's credentials. 
 | 
byte[] | 
ServerProvider.changeCredentials(String password,
                 String passphrase,
                 String reminder)
This will change the authenticated user's credentials. 
 | 
byte[] | 
ServerCacheOfsProvider.changeCredentials(String password,
                 String passphrase,
                 String reminder)
This will change the authenticated user's credentials. 
 | 
SecuredContainer | 
ServerProvider.createOrUpdate(SecuredContainer container)
Uploads the encrypted content of the  
SecuredContainer and the Metadata to the Absio Broker™
 application. | 
void | 
ServerProvider.createOrUpdatePublicKey(ECPublicKey publicKey,
                       KeyType type,
                       int index,
                       boolean active)
This will create or update the public key for the authenticated user. 
 | 
void | 
ServerCacheOfsProvider.createOrUpdatePublicKey(ECPublicKey publicKey,
                       KeyType type,
                       int index,
                       boolean active)
This will create or update the public key for the authenticated user on the Absio Broker™ application and
 the local  
OFS. | 
void | 
ServerProvider.createOrUpdatePublicKey(IndexedECPublicKey publicKey)
This will create or update the public key for the authenticated user. 
 | 
void | 
ServerCacheOfsProvider.createOrUpdatePublicKey(IndexedECPublicKey publicKey)
This will create or update the public key for the authenticated user on the Absio Broker™ application and
 the local  
OFS. | 
void | 
ServerProvider.delete(UUID containerId)
Deletes the encrypted content of the container and deletes the metadata records from the Absio Broker™
 application. 
 | 
void | 
ServerCacheOfsProvider.delete(UUID containerId)
Deletes the encrypted content of the container and deletes the metadata records from the Absio Broker™
 application and the local  
OFS. | 
void | 
ServerProvider.deleteUser()
This will delete the user from Absio Broker™ application. 
 | 
void | 
ServerCacheOfsProvider.deleteUser()
This will delete the user from Absio Broker™ application and the local  
OFS. | 
ContainerInfo | 
ServerCacheOfsProvider.getBrokerInfo(UUID containerId)
 | 
EventPackage | 
ServerProvider.getEvents(EventActionType actionType,
         EventType eventType,
         Long startingId,
         Long endingId,
         UUID containerId,
         String containerType)
Gets all events that match the event type, action type, starting id, ending id, container id and type. 
 | 
EventPackage | 
ServerCacheOfsProvider.getEvents(EventActionType actionType,
         EventType eventType,
         Long startingId,
         Long endingId,
         UUID containerId,
         String containerType)
Gets all events that match the event type, action type, starting id, ending id, container id and type. 
 | 
ContainerInfo | 
ServerProvider.getInfo(UUID containerId)
Gets the  
ContainerInfo for a SecuredContainer from the Absio Broker™ application. | 
IndexedECPublicKey | 
ServerProvider.getPublicKeyByIndex(UUID userId,
                   KeyType type,
                   int index)
This will get a single public key from Absio Broker™ application. 
 | 
IndexedECPublicKey | 
ServerProvider.getPublicKeyLatestActive(UUID userId,
                        KeyType type)
This will get the latest public key from Absio Broker™ application. 
 | 
List<IndexedECPublicKey> | 
ServerProvider.getPublicKeyList(UUID userId,
                KeyType type,
                Integer index)
Gets a user's public keys matching the key type and key ring index. 
 | 
List<IndexedECPublicKey> | 
ServerCacheOfsProvider.getPublicKeyList(UUID userId,
                KeyType type,
                Integer index)
Gets a user's public keys matching the key type and key ring index. 
 | 
String | 
ServerProvider.getReminder()
Retrieves a user's keys file passphrase reminder stored on the Absio Broker™ application. 
 | 
String | 
ServerCacheOfsProvider.getReminder()
Retrieves a user's keys file passphrase reminder stored on the Absio Broker™ application. 
 | 
String | 
ServerProvider.getReminder(UUID userId)
Retrieves a user's keys file passphrase reminder stored on the Absio Broker™ application. 
 | 
String | 
ServerCacheOfsProvider.getReminder(UUID userId)
Retrieves a user's keys file passphrase reminder stored on the Absio Broker server. 
 | 
void | 
ServerProvider.logIn(KeyRing keyRing)
Uses the provided KeyRing to authenticate with the Absio Broker™ application. 
 | 
void | 
ServerCacheOfsProvider.logIn(KeyRing keyRing)
Uses the provided KeyRing to authenticate with the Absio Broker™ application and authenticates the user
 locally by logging into the encrypted database in the OFS. 
 | 
byte[] | 
ServerProvider.logIn(UUID userId,
     String password,
     String passphrase)
This will use the passphrase to pull the key file from Absio Broker™ application. 
 | 
byte[] | 
ServerCacheOfsProvider.logIn(UUID userId,
     String password,
     String passphrase)
Authenticates the user locally by decrypting the KeyFile to get their  
KeyRing and then logs into the
 encrypted database in the OFS. | 
boolean | 
ServerCacheOfsProvider.needToSyncAccount(UUID userId)
Generates a checksum of the encrypted keys file stored in the  
OFS and checks if it matches the checksum
 of a keys file stored on the Absio Broker™ application. | 
boolean | 
ServerProvider.needToSyncAccount(UUID userId,
                 byte[] keyFileBytes)
Generates a checksum of the encrypted keys file and checks if it matches the checksum of a keys file stored on
 the Absio Broker™ application. 
 | 
byte[] | 
ServerProvider.register(String password,
        String passphrase)
This will register the new user, authenticate with Absio Broker™ application and push the new key file to
 the Absio Broker™ application. 
 | 
byte[] | 
ServerCacheOfsProvider.register(String password,
        String passphrase)
This will register the new user, authenticate with Absio Broker™ application and push the new key file to
 Absio Broker. 
 | 
byte[] | 
ServerProvider.register(String password,
        String passphrase,
        String reminder)
This will register the new user, authenticate with Absio Broker™ application and push the new key file to
 Absio Broker™ application. 
 | 
byte[] | 
ServerCacheOfsProvider.register(String password,
        String passphrase,
        String reminder)
This will register the new user, authenticate with Absio Broker™ application and push the new key file to
 Absio Broker. 
 | 
void | 
ServerCacheOfsProvider.synchronizeAccount(String password,
                  String passphrase)
This will pull the KeyFile from teh Absio Broker™ application and persist it in the OFS. 
 | 
void | 
ServerProvider.updateAccess(UUID containerId,
            List<Access> accessLevels)
Updates the access for a  
SecuredContainer on the Absio Broker™ application. | 
void | 
ServerCacheOfsProvider.updateAccess(UUID containerId,
            List<Access> accessLevels)
Updates the access for a  
SecuredContainer on the Absio Broker™ application and updates the local
 OFS cache. | 
void | 
ServerProvider.updateType(UUID containerId,
          String type)
Update the type of a  
SecuredContainer on the Absio Broker™ application. | 
void | 
ServerCacheOfsProvider.updateType(UUID containerId,
          String type)
Update the type of a  
SecuredContainer on the Absio Broker™ application and updates the local OFS cache. | 
Copyright © 2021. All rights reserved.