| Package | Description | 
|---|---|
| com.absio.broker.mapper | |
| com.absio.crypto.key | |
| com.absio.database.table | |
| com.absio.file.mapper | |
| com.absio.provider | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PublicKeyMapper.createOrUpdate(ECPublicKey publicKey,
              KeyType type,
              int index,
              boolean active)
Creates or updates the public key on 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. 
 | 
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. 
 | 
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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static KeyType | 
KeyType.findByIndex(int index)  | 
static KeyType | 
KeyType.findByName(String name)
Find the type with its enumeration name matching the passed in string (ignoring case). 
 | 
KeyType | 
IndexedKey.getKeyType()
Get the type of the key. 
 | 
KeyType | 
AbstractIndexedKey.getKeyType()
Get the type of the key. 
 | 
static KeyType | 
KeyType.valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static KeyType[] | 
KeyType.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
IndexedECPrivateKey | 
KeyRing.findPrivateKeyByIndex(int index,
                     KeyType type)
Finds the private key with the matching index and type. 
 | 
IndexedECPublicKey | 
KeyRing.getByIndex(UUID userId,
          KeyType type,
          int index)  | 
IndexedECPublicKey | 
IPublicKeySource.getByIndex(UUID userId,
          KeyType type,
          int index)
This gets the public key that match the user ID, type and inde. 
 | 
IndexedECPublicKey | 
KeyRing.getLatestActive(UUID userId,
               KeyType type)  | 
IndexedECPublicKey | 
IPublicKeySource.getLatestActive(UUID userId,
               KeyType type)
This gets the latest active public key that match the user ID and type. 
 | 
| Constructor and Description | 
|---|
AbstractIndexedKey(T key,
                  int index,
                  boolean active,
                  KeyType type)
Create the AbstractIndexedKey with the given key, index, active state and keyType 
 | 
IndexedECPrivateKey(ECPrivateKey key,
                   int index,
                   boolean active,
                   KeyType type)
Create the object with the given key, index, active state and type. 
 | 
IndexedECPublicKey(ECPublicKey key,
                  int index,
                  boolean active,
                  KeyType type)
Create the object with the given key, index, active state and type. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ParameterizedSql | 
PublicKeys.getCountSql(UUID userId,
           Integer index,
           KeyType type,
           Boolean active)  | 
ParameterizedSql | 
PublicKeys.getDeleteSql(UUID userId,
            Integer index,
            KeyType type,
            Boolean active)
Get the delete sql for this table using the given parameters. 
 | 
ParameterizedSql | 
PublicKeys.getInsertSql(UUID userId,
            int index,
            KeyType type,
            boolean active,
            byte[] key)
Get the insert sql for this table using the given parameters. 
 | 
ParameterizedSql | 
PublicKeys.getQuerySql(UUID userId,
           Integer index,
           KeyType type,
           Boolean active)
Get the query sql for this table using the given parameters. 
 | 
ParameterizedSql | 
PublicKeys.getUpdateSql(UUID userId,
            int index,
            KeyType type,
            boolean active,
            byte[] key)
Get the update sql for this table using the given parameters. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PublicKeyMapper.delete(UUID userId,
      Integer index,
      KeyType type,
      Boolean active)
Deletes public key records from the data access. 
 | 
com.google.common.collect.ListMultimap<UUID,IndexedECPublicKey> | 
PublicKeyMapper.get(UUID userId,
   Integer index,
   KeyType type,
   Boolean active)
Gets a map of user IDs and public keys from the data access and the key ring if applicable. 
 | 
IndexedECPublicKey | 
PublicKeyMapper.getByIndex(UUID userId,
          KeyType type,
          int index)  | 
IndexedECPublicKey | 
PublicKeyMapper.getLatestActive(UUID userId,
               KeyType type)  | 
| Modifier and Type | Method and Description | 
|---|---|
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. | 
IndexedECPublicKey | 
ServerProvider.getPublicKeyByIndex(UUID userId,
                   KeyType type,
                   int index)
This will get a single public key from Absio Broker™ application. 
 | 
IndexedECPublicKey | 
OfsProvider.getPublicKeyByIndex(UUID userId,
                   KeyType type,
                   int index)
This will get a single public key from Absio Broker™ application. 
 | 
IndexedECPublicKey | 
ServerCacheOfsProvider.getPublicKeyByIndex(UUID userId,
                   KeyType type,
                   int index)
This will get a single public key from Absio Broker™ application or the local  
OFS. | 
IndexedECPublicKey | 
ServerProvider.getPublicKeyLatestActive(UUID userId,
                        KeyType type)
This will get the latest public key from Absio Broker™ application. 
 | 
IndexedECPublicKey | 
OfsProvider.getPublicKeyLatestActive(UUID userId,
                        KeyType type)
This will get the latest public key from Absio Broker™ application. 
 | 
IndexedECPublicKey | 
ServerCacheOfsProvider.getPublicKeyLatestActive(UUID userId,
                        KeyType type)
This will get the latest public key from Absio Broker™ application or the local  
OFS. | 
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> | 
OfsProvider.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. 
 | 
Copyright © 2021. All rights reserved.