Skip navigation links
A C D E G H I M N O P R S U V 

A

assignRole(String, PureGrant, String) - Method in class com.virgilsecurity.purekit.Pure
Assigns user to role
assignRole(String, PureGrant, Set<String>) - Method in class com.virgilsecurity.purekit.Pure
Assigns users to role
authenticateUser(String, String, PureSessionParams) - Method in class com.virgilsecurity.purekit.Pure
Authenticates user.
authenticateUser(String, String) - Method in class com.virgilsecurity.purekit.Pure
Authenticates user.
AuthResult - Class in com.virgilsecurity.purekit
AuthResult class is a Result of Pure.authenticateUser(String, String).

C

CellKey - Class in com.virgilsecurity.purekit.model
CellKey class represents encrypted asymmetric key used to encrypt data.
CellKey(String, String, byte[], byte[], byte[]) - Constructor for class com.virgilsecurity.purekit.model.CellKey
Instantiates CellKey.
changeUserPassword(String, String, String) - Method in class com.virgilsecurity.purekit.Pure
Changes user password.
changeUserPassword(PureGrant, String) - Method in class com.virgilsecurity.purekit.Pure
Changes user password.
checkNull(Object, String) - Static method in class com.virgilsecurity.purekit.utils.ValidationUtils
Throws NullArgumentException if an argument is null.
checkNullOrEmpty(String, String) - Static method in class com.virgilsecurity.purekit.utils.ValidationUtils
Throws NullArgumentException if an argument is null and EmptyArgumentException if an argument is empty.
checkNullOrEmpty(byte[], String) - Static method in class com.virgilsecurity.purekit.utils.ValidationUtils
Throws NullArgumentException if an argument is null and EmptyArgumentException if an argument is empty.
cleanDb() - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
Drops tables and events
com.virgilsecurity.purekit - package com.virgilsecurity.purekit
 
com.virgilsecurity.purekit.build - package com.virgilsecurity.purekit.build
 
com.virgilsecurity.purekit.client - package com.virgilsecurity.purekit.client
 
com.virgilsecurity.purekit.exception - package com.virgilsecurity.purekit.exception
 
com.virgilsecurity.purekit.model - package com.virgilsecurity.purekit.model
 
com.virgilsecurity.purekit.storage - package com.virgilsecurity.purekit.storage
 
com.virgilsecurity.purekit.storage.exception - package com.virgilsecurity.purekit.storage.exception
 
com.virgilsecurity.purekit.storage.mariadb - package com.virgilsecurity.purekit.storage.mariadb
 
com.virgilsecurity.purekit.storage.ram - package com.virgilsecurity.purekit.storage.ram
 
com.virgilsecurity.purekit.storage.virgil - package com.virgilsecurity.purekit.storage.virgil
 
com.virgilsecurity.purekit.utils - package com.virgilsecurity.purekit.utils
 
createContext(String, String, String, String, String, Map<String, List<String>>) - Static method in class com.virgilsecurity.purekit.PureContext
Designed for usage with Virgil Cloud storage.
createContext(String, String, String, String, String, Map<String, List<String>>, String, String, String) - Static method in class com.virgilsecurity.purekit.PureContext
Designed for usage with Virgil Cloud storage.
createContext(String, String, String, String, String, PureStorage, Map<String, List<String>>) - Static method in class com.virgilsecurity.purekit.PureContext
Designed for usage with custom PureStorage.
createContext(String, String, String, String, String, PureStorage, Map<String, List<String>>, String, String) - Static method in class com.virgilsecurity.purekit.PureContext
Designed for usage with custom PureStorage.
createRole(String, Set<String>) - Method in class com.virgilsecurity.purekit.Pure
Creates role
createUserGrantAsAdmin(String, VirgilPrivateKey, long) - Method in class com.virgilsecurity.purekit.Pure
Creates PureGrant for some user using admin backup private key.
createUserGrantAsAdmin(String, VirgilPrivateKey) - Method in class com.virgilsecurity.purekit.Pure
Creates PureGrant for some user using admin backup private key.

D

decrypt(PurekitProtosV3Client.DecryptRequest) - Method in class com.virgilsecurity.purekit.client.HttpKmsClient
Decrypt query
decrypt(PureGrant, String, byte[]) - Method in class com.virgilsecurity.purekit.Pure
Decrypts data.
decrypt(PureGrant, String, String, byte[]) - Method in class com.virgilsecurity.purekit.Pure
Decrypts data.
decrypt(VirgilPrivateKey, String, String, byte[]) - Method in class com.virgilsecurity.purekit.Pure
Decrypts data.
decryptGrantFromUser(String) - Method in class com.virgilsecurity.purekit.Pure
Decrypt encrypted PureGrant that was stored on client-side.
DEFAULT_GRANT_TTL - Static variable in class com.virgilsecurity.purekit.Pure
 
deleteCellKey(String, String) - Method in class com.virgilsecurity.purekit.client.HttpPureClient
Deletes cell key.
deleteCellKey(String, String) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
deleteCellKey(String, String) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Deletes a CellKey with the given userId and dataId.
deleteCellKey(String, String) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
deleteCellKey(String, String) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
deleteGrantKey(PurekitProtosV3Client.GrantKeyDescriptor) - Method in class com.virgilsecurity.purekit.client.HttpPureClient
Deletes grant key
deleteGrantKey(String, byte[]) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
deleteGrantKey(String, byte[]) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Deletes GrantKey from a storage.
deleteGrantKey(String, byte[]) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
deleteGrantKey(String, byte[]) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
deleteKey(String, String) - Method in class com.virgilsecurity.purekit.Pure
Deletes cell key with given user Id and data Id.
deleteRole(String) - Method in class com.virgilsecurity.purekit.Pure
Deletes role making previously encrypted data inaccessible.
deleteRole(String, boolean) - Method in class com.virgilsecurity.purekit.Pure
Deletes role making previously encrypted data inaccessible.
deleteRole(String, boolean) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
deleteRole(String, boolean) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Deletes role from a storage.
deleteRole(String, boolean) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
deleteRole(String, boolean) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
deleteRoleAssignments(PurekitProtosV3Client.DeleteRoleAssignments) - Method in class com.virgilsecurity.purekit.client.HttpPureClient
Delete role assignments
deleteRoleAssignments(String, Set<String>) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
deleteRoleAssignments(String, Set<String>) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Deletes role assignments for the given role and user ids from a storage.
deleteRoleAssignments(String, Set<String>) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
deleteRoleAssignments(String, Set<String>) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
deleteUser(String, boolean) - Method in class com.virgilsecurity.purekit.client.HttpPureClient
Deletes user.
deleteUser(String) - Method in class com.virgilsecurity.purekit.Pure
Deletes user with given id and all his keys.
deleteUser(String, boolean) - Method in class com.virgilsecurity.purekit.Pure
Deletes user with given id.
deleteUser(String, boolean) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
deleteUser(String, boolean) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Deletes user with the given id.
deleteUser(String, boolean) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
deleteUser(String, boolean) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 

E

encrypt(String, String, byte[]) - Method in class com.virgilsecurity.purekit.Pure
Encrypts data.
encrypt(String, String, Set<String>, Set<String>, Collection<VirgilPublicKey>, byte[]) - Method in class com.virgilsecurity.purekit.Pure
Encrypts data.
enrollAccount(PurekitProtos.EnrollmentRequest) - Method in class com.virgilsecurity.purekit.client.HttpPheClient
Enrolls new account.
ER_DUP_ENTRY - Static variable in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
execute(String, HttpClient.Method, MessageLite) - Method in class com.virgilsecurity.purekit.client.HttpClient
Executes http request
execute(String, HttpClient.Method, MessageLite, Parser<T>) - Method in class com.virgilsecurity.purekit.client.HttpClient
Executes http request
executeSql(String) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
Executes arbitrary sql

G

generateSecrets(byte[]) - Static method in class com.virgilsecurity.purekit.NonrotatableSecretsGenerator
Generate nonrotatable secrets from 1 master secret
getBackupPwdHash() - Method in class com.virgilsecurity.purekit.model.UserRecord
Returns encrypted for backup user password hash.
getBuppk() - Method in class com.virgilsecurity.purekit.Pure
 
getBuppk() - Method in class com.virgilsecurity.purekit.PureContext
Returns backup public key.
getCellKey(String, String) - Method in class com.virgilsecurity.purekit.client.HttpPureClient
Obtains cell key.
getClientException() - Method in exception com.virgilsecurity.purekit.storage.virgil.VirgilCloudStorageException
 
getCode() - Method in enum com.virgilsecurity.purekit.client.ServiceErrorCode
Error code number.
getCode() - Method in enum com.virgilsecurity.purekit.exception.PureCryptoException.ErrorStatus
 
getCode() - Method in enum com.virgilsecurity.purekit.exception.PureLogicException.ErrorStatus
 
getCode() - Method in enum com.virgilsecurity.purekit.storage.exception.PureStorageGenericException.ErrorStatus
Error code
getCpk() - Method in class com.virgilsecurity.purekit.model.CellKey
Cell public key.
getCreationDate() - Method in class com.virgilsecurity.purekit.model.GrantKey
Returns creation date
getCreationDate() - Method in class com.virgilsecurity.purekit.model.PureGrant
Returns creation date.
getCrypto() - Method in class com.virgilsecurity.purekit.PureContext
Returns crypto.
getCurrentVersion() - Method in class com.virgilsecurity.purekit.Pure
 
getDataId() - Method in class com.virgilsecurity.purekit.model.CellKey
Returns data id
getEncryptedCskBody() - Method in class com.virgilsecurity.purekit.model.CellKey
Encrypted cell secret key body.
getEncryptedCskCms() - Method in class com.virgilsecurity.purekit.model.CellKey
Encrypted cell secret key CMS.
getEncryptedGrant() - Method in class com.virgilsecurity.purekit.AuthResult
Returns encrypted PureGrant.
getEncryptedGrantKeyBlob() - Method in class com.virgilsecurity.purekit.model.GrantKey
Returns key blod
getEncryptedGrantKeyWrap() - Method in class com.virgilsecurity.purekit.model.GrantKey
Returns key wrap
getEncryptedRsk() - Method in class com.virgilsecurity.purekit.model.RoleAssignment
Returns encrypted role private key
getEncryptedUsk() - Method in class com.virgilsecurity.purekit.model.UserRecord
Returns encrypted user secret key.
getEncryptedUskBackup() - Method in class com.virgilsecurity.purekit.model.UserRecord
Return encrypted for backup user secret key.
getErrorCode() - Method in exception com.virgilsecurity.purekit.client.HttpClientServiceException
Returns error code
getErrorStatus() - Method in exception com.virgilsecurity.purekit.exception.PureCryptoException
Returns error status
getErrorStatus() - Method in exception com.virgilsecurity.purekit.exception.PureLogicException
Error status
getErrorStatus() - Method in exception com.virgilsecurity.purekit.storage.exception.PureStorageGenericException
Error status
getExpirationDate() - Method in class com.virgilsecurity.purekit.model.GrantKey
Returns expiration date
getExpirationDate() - Method in class com.virgilsecurity.purekit.model.PureGrant
Returns expiration date
getExternalPublicKeys() - Method in class com.virgilsecurity.purekit.Pure
 
getExternalPublicKeys() - Method in class com.virgilsecurity.purekit.PureContext
Returns external public keys.
getGrant() - Method in class com.virgilsecurity.purekit.AuthResult
Returns grant.
getGrantKey(PurekitProtosV3Client.GrantKeyDescriptor) - Method in class com.virgilsecurity.purekit.client.HttpPureClient
Obtains grant key
getGrantKeysRotated() - Method in class com.virgilsecurity.purekit.Pure.RotationResults
Returns number of grant keys that were rotated
getHttpError() - Method in exception com.virgilsecurity.purekit.client.HttpClientServiceException
HttpError
getKeyId() - Method in class com.virgilsecurity.purekit.model.GrantKey
Returns key id
getKeyId() - Method in exception com.virgilsecurity.purekit.storage.exception.PureStorageGrantKeyNotFoundException
 
getKmsClient() - Method in class com.virgilsecurity.purekit.PureContext
 
getMessage() - Method in enum com.virgilsecurity.purekit.exception.PureCryptoException.ErrorStatus
 
getMessage() - Method in enum com.virgilsecurity.purekit.exception.PureLogicException.ErrorStatus
 
getMessage() - Method in enum com.virgilsecurity.purekit.storage.exception.PureStorageGenericException.ErrorStatus
Error message
getNonrotatableSecrets() - Method in class com.virgilsecurity.purekit.PureContext
 
getOsAgentName() - Static method in class com.virgilsecurity.purekit.utils.OsUtils
Returns os agent name
getOskp() - Method in class com.virgilsecurity.purekit.NonrotatableSecrets
Returns
getOskp() - Method in class com.virgilsecurity.purekit.Pure
 
getPasswordRecoveryBlob() - Method in class com.virgilsecurity.purekit.model.UserRecord
Returns password recovery blob
getPasswordRecoveryWrap() - Method in class com.virgilsecurity.purekit.model.UserRecord
Returns password recovery wrap
getPheClient() - Method in class com.virgilsecurity.purekit.PureContext
Returns phe client.
getPheRecord() - Method in class com.virgilsecurity.purekit.model.UserRecord
Returns phe record.
getPublicKey() - Method in class com.virgilsecurity.purekit.PureContext
Returns service public key.
getPublicKeyId() - Method in class com.virgilsecurity.purekit.model.RoleAssignment
Returns public key id
getPureModelSerializer() - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
Returns PureModelSerializer
getPureModelSerializer() - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
Returns PureModelSerializer
getRecordVersion() - Method in class com.virgilsecurity.purekit.model.GrantKey
Returns record version
getRecordVersion() - Method in class com.virgilsecurity.purekit.model.UserRecord
Returns phe record version.
getRoleAssignment(PurekitProtosV3Client.GetRoleAssignment) - Method in class com.virgilsecurity.purekit.client.HttpPureClient
Obtains role assignmane
getRoleAssignments(PurekitProtosV3Client.GetRoleAssignments) - Method in class com.virgilsecurity.purekit.client.HttpPureClient
Obtains role assignments
getRoleName() - Method in class com.virgilsecurity.purekit.model.Role
Returns role name
getRoleName() - Method in class com.virgilsecurity.purekit.model.RoleAssignment
Returns role name
getRoleName() - Method in exception com.virgilsecurity.purekit.storage.exception.PureStorageRoleAssignmentNotFoundException
 
getRoleNames() - Method in exception com.virgilsecurity.purekit.storage.exception.PureStorageRoleNotFoundException
 
getRoles(PurekitProtosV3Client.GetRoles) - Method in class com.virgilsecurity.purekit.client.HttpPureClient
Obtains roles
getRpk() - Method in class com.virgilsecurity.purekit.model.Role
Returns role public key
getSecretKey() - Method in class com.virgilsecurity.purekit.PureContext
Returns app secret key.
getSessionId() - Method in class com.virgilsecurity.purekit.model.PureGrant
Returns session id.
getSessionId() - Method in class com.virgilsecurity.purekit.PureSessionParams
Returns session id
getStorage() - Method in class com.virgilsecurity.purekit.Pure
 
getStorage() - Method in class com.virgilsecurity.purekit.PureContext
Returns PureStorage.
getTtl() - Method in class com.virgilsecurity.purekit.PureSessionParams
Returns time to live in seconds
getUkp() - Method in class com.virgilsecurity.purekit.model.PureGrant
Returns user key pair.
getUpdateToken() - Method in class com.virgilsecurity.purekit.PureContext
Returns PureStorage.
getUpk() - Method in class com.virgilsecurity.purekit.model.UserRecord
Returns user public key.
getUser(String) - Method in class com.virgilsecurity.purekit.client.HttpPureClient
Obtains user.
getUserId() - Method in class com.virgilsecurity.purekit.model.CellKey
Returns user id
getUserId() - Method in class com.virgilsecurity.purekit.model.GrantKey
Returns user id
getUserId() - Method in class com.virgilsecurity.purekit.model.PureGrant
Returns user id.
getUserId() - Method in class com.virgilsecurity.purekit.model.RoleAssignment
Returns user id
getUserId() - Method in class com.virgilsecurity.purekit.model.UserRecord
Return user id.
getUserId() - Method in exception com.virgilsecurity.purekit.storage.exception.PureStorageGrantKeyNotFoundException
 
getUserId() - Method in exception com.virgilsecurity.purekit.storage.exception.PureStorageRoleAssignmentNotFoundException
 
getUserIds() - Method in exception com.virgilsecurity.purekit.storage.exception.PureStorageUserNotFoundException
 
getUsers(Collection<String>) - Method in class com.virgilsecurity.purekit.client.HttpPureClient
Obtains user.
getUsersRotated() - Method in class com.virgilsecurity.purekit.Pure.RotationResults
Returns number of users that were rotated
getVskp() - Method in class com.virgilsecurity.purekit.NonrotatableSecrets
Returns virgil signing key pair
GRANT_KEYS_CLEAN_INTERVAL - Static variable in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
GrantKey - Class in com.virgilsecurity.purekit.model
Grant key
GrantKey(String, byte[], int, byte[], byte[], Date, Date) - Constructor for class com.virgilsecurity.purekit.model.GrantKey
Constructor

H

HttpClient - Class in com.virgilsecurity.purekit.client
HttpClient class intention is to handle http requests.
HttpClient(URL, String) - Constructor for class com.virgilsecurity.purekit.client.HttpClient
Creating HttpClient with default virgil-agent header.
HttpClient.Method - Enum in com.virgilsecurity.purekit.client
Http method
HttpClientException - Exception in com.virgilsecurity.purekit.client
Base class for http client exception
HttpClientException() - Constructor for exception com.virgilsecurity.purekit.client.HttpClientException
 
HttpClientException(Throwable) - Constructor for exception com.virgilsecurity.purekit.client.HttpClientException
 
HttpClientIOException - Exception in com.virgilsecurity.purekit.client
HttpClient IOException exception
HttpClientIOException(Throwable) - Constructor for exception com.virgilsecurity.purekit.client.HttpClientIOException
 
HttpClientServiceException - Exception in com.virgilsecurity.purekit.client
HttpClient exception with service response
HttpClientServiceException(PurekitProtos.HttpError) - Constructor for exception com.virgilsecurity.purekit.client.HttpClientServiceException
Constructor
HttpKmsClient - Class in com.virgilsecurity.purekit.client
HttpPheClient class is for http interactions with PHE service.
HttpKmsClient(String, URL) - Constructor for class com.virgilsecurity.purekit.client.HttpKmsClient
Instantiates HttpKmsClient.
HttpPheClient - Class in com.virgilsecurity.purekit.client
HttpPheClient class is for http interactions with PHE service.
HttpPheClient(String, URL) - Constructor for class com.virgilsecurity.purekit.client.HttpPheClient
Instantiates HttpPheClient.
HttpPureClient - Class in com.virgilsecurity.purekit.client
Class for http interactions with Pure service
HttpPureClient(String, URL) - Constructor for class com.virgilsecurity.purekit.client.HttpPureClient
Instantiates HttpPureClient.

I

initDb(int) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
Creates tables and events.
insertCellKey(PurekitProtosV3Storage.CellKey) - Method in class com.virgilsecurity.purekit.client.HttpPureClient
Inserts new cell key.
insertCellKey(CellKey) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
insertCellKey(CellKey) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Insert a CellKey key into a storage.
insertCellKey(CellKey) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
insertCellKey(CellKey) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
insertGrantKey(PurekitProtosV3Storage.GrantKey) - Method in class com.virgilsecurity.purekit.client.HttpPureClient
Inserts new grant key
insertGrantKey(GrantKey) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
insertGrantKey(GrantKey) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Inserts grant key into a storage.
insertGrantKey(GrantKey) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
insertGrantKey(GrantKey) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
insertRole(PurekitProtosV3Storage.Role) - Method in class com.virgilsecurity.purekit.client.HttpPureClient
Inserts role
insertRole(Role) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
insertRole(Role) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Insert a Role into a storage.
insertRole(Role) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
insertRole(Role) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
insertRoleAssignments(PurekitProtosV3Storage.RoleAssignments) - Method in class com.virgilsecurity.purekit.client.HttpPureClient
Inserts roles assignments
insertRoleAssignments(Collection<RoleAssignment>) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
insertRoleAssignments(Collection<RoleAssignment>) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Insert a Role assignment into a storage.
insertRoleAssignments(Collection<RoleAssignment>) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
insertRoleAssignments(Collection<RoleAssignment>) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
insertUser(PurekitProtosV3Storage.UserRecord) - Method in class com.virgilsecurity.purekit.client.HttpPureClient
Inserts new user.
insertUser(UserRecord) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
insertUser(UserRecord) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Insert a new user into a storage.
insertUser(UserRecord) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
insertUser(UserRecord) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
invalidateEncryptedUserGrant(String) - Method in class com.virgilsecurity.purekit.Pure
Invalidates existing encrypted user grant
isNotGrantVersion(Integer) - Static method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
isNotVersion(Integer) - Static method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 

M

MariaDbOperationNotSupportedException - Exception in com.virgilsecurity.purekit.storage.mariadb
MariaDb storage operation not supported exception
MariaDbOperationNotSupportedException() - Constructor for exception com.virgilsecurity.purekit.storage.mariadb.MariaDbOperationNotSupportedException
 
MariaDbPureStorage - Class in com.virgilsecurity.purekit.storage.mariadb
MariaDB storage
MariaDbPureStorage(String) - Constructor for class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
Constructor
MariaDbPureStorage(DataSource) - Constructor for class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
Constructor
MariaDbSqlException - Exception in com.virgilsecurity.purekit.storage.mariadb
MariaDbSqlStorage exception
MariaDbSqlException(Throwable) - Constructor for exception com.virgilsecurity.purekit.storage.mariadb.MariaDbSqlException
Constructor

N

NonrotatableSecrets - Class in com.virgilsecurity.purekit
Nonrotatable secrets
NonrotatableSecrets(VirgilKeyPair, VirgilKeyPair) - Constructor for class com.virgilsecurity.purekit.NonrotatableSecrets
Constructor
NonrotatableSecretsGenerator - Class in com.virgilsecurity.purekit
Generate nonrotatable secrets from 1 master secret
NonrotatableSecretsGenerator() - Constructor for class com.virgilsecurity.purekit.NonrotatableSecretsGenerator
 

O

OsUtils - Class in com.virgilsecurity.purekit.utils
OS Utils
OsUtils() - Constructor for class com.virgilsecurity.purekit.utils.OsUtils
 

P

parseCellKey(PurekitProtosV3Storage.CellKey) - Method in class com.virgilsecurity.purekit.storage.PureModelSerializer
Parses and verifies signature of CellKey
parseGrantKey(PurekitProtosV3Storage.GrantKey) - Method in class com.virgilsecurity.purekit.storage.PureModelSerializer
Parses and verifies signature of GrantKey
parseRole(PurekitProtosV3Storage.Role) - Method in class com.virgilsecurity.purekit.storage.PureModelSerializer
Parses and verifies signature of Role
parseRoleAssignment(PurekitProtosV3Storage.RoleAssignment) - Method in class com.virgilsecurity.purekit.storage.PureModelSerializer
Parses and verifies signature of RoleAssignment
parseUserRecord(PurekitProtosV3Storage.UserRecord) - Method in class com.virgilsecurity.purekit.storage.PureModelSerializer
Parses and verifies signature of UserRecord
performRotation() - Method in class com.virgilsecurity.purekit.Pure
Performs PHE and KMS records rotation for all users with old version.
Pure - Class in com.virgilsecurity.purekit
Main class for interactions with PureKit
Pure(PureContext) - Constructor for class com.virgilsecurity.purekit.Pure
Instantiates Pure.
Pure.RotationResults - Class in com.virgilsecurity.purekit
Rotation result
PureContext - Class in com.virgilsecurity.purekit
PureContext class represents dependencies needed to initialize Pure.
PureCryptoException - Exception in com.virgilsecurity.purekit.exception
Pure crypto exception
PureCryptoException(PureCryptoException.ErrorStatus) - Constructor for exception com.virgilsecurity.purekit.exception.PureCryptoException
Constructor
PureCryptoException(Throwable) - Constructor for exception com.virgilsecurity.purekit.exception.PureCryptoException
Constructor.
PureCryptoException.ErrorStatus - Enum in com.virgilsecurity.purekit.exception
Error status
PureException - Exception in com.virgilsecurity.purekit.exception
Base class for all Pure exceptions
PureException() - Constructor for exception com.virgilsecurity.purekit.exception.PureException
Constructor
PureException(String) - Constructor for exception com.virgilsecurity.purekit.exception.PureException
Constructor
PureException(Throwable) - Constructor for exception com.virgilsecurity.purekit.exception.PureException
Constructor
PureGrant - Class in com.virgilsecurity.purekit.model
PureGrant class.
PureGrant(VirgilKeyPair, String, String, Date, Date) - Constructor for class com.virgilsecurity.purekit.model.PureGrant
Instantiates PureGrant.
PureLogicException - Exception in com.virgilsecurity.purekit.exception
Pure logic exception
PureLogicException(PureLogicException.ErrorStatus) - Constructor for exception com.virgilsecurity.purekit.exception.PureLogicException
Constructor
PureLogicException.ErrorStatus - Enum in com.virgilsecurity.purekit.exception
Error status
PureModelSerializer - Class in com.virgilsecurity.purekit.storage
Class that signs Pure models and serializes them to protobuf models
PureModelSerializer(VirgilCrypto, VirgilKeyPair) - Constructor for class com.virgilsecurity.purekit.storage.PureModelSerializer
Instantiates PureModelSerializer.
PureModelSerializerDependent - Interface in com.virgilsecurity.purekit.storage
Interface for PureStorage implementations that allows to user PureModelSerializer
PureSessionParams - Class in com.virgilsecurity.purekit
Pure session params
PureSessionParams(String, long) - Constructor for class com.virgilsecurity.purekit.PureSessionParams
Constructor
PureSessionParams(long) - Constructor for class com.virgilsecurity.purekit.PureSessionParams
Constructor
PureSessionParams(String) - Constructor for class com.virgilsecurity.purekit.PureSessionParams
Constructor
PureSessionParams() - Constructor for class com.virgilsecurity.purekit.PureSessionParams
Constructor
PureStorage - Interface in com.virgilsecurity.purekit.storage
Interface for Pure storage.
PureStorageCellKeyAlreadyExistsException - Exception in com.virgilsecurity.purekit.storage.exception
PureStorage CellKey already exists exception
PureStorageCellKeyAlreadyExistsException() - Constructor for exception com.virgilsecurity.purekit.storage.exception.PureStorageCellKeyAlreadyExistsException
 
PureStorageCellKeyNotFoundException - Exception in com.virgilsecurity.purekit.storage.exception
PureStorage CellKey not found exception
PureStorageCellKeyNotFoundException() - Constructor for exception com.virgilsecurity.purekit.storage.exception.PureStorageCellKeyNotFoundException
 
PureStorageException - Exception in com.virgilsecurity.purekit.storage.exception
Base class for PureStorage exceptions
PureStorageException() - Constructor for exception com.virgilsecurity.purekit.storage.exception.PureStorageException
Constructor
PureStorageException(String) - Constructor for exception com.virgilsecurity.purekit.storage.exception.PureStorageException
Constructor
PureStorageException(Throwable) - Constructor for exception com.virgilsecurity.purekit.storage.exception.PureStorageException
Constructor
PureStorageGenericException - Exception in com.virgilsecurity.purekit.storage.exception
Common PureStorage exceptions
PureStorageGenericException(PureStorageGenericException.ErrorStatus) - Constructor for exception com.virgilsecurity.purekit.storage.exception.PureStorageGenericException
Constructor
PureStorageGenericException.ErrorStatus - Enum in com.virgilsecurity.purekit.storage.exception
Error status
PureStorageGrantKeyNotFoundException - Exception in com.virgilsecurity.purekit.storage.exception
 
PureStorageGrantKeyNotFoundException(String, byte[]) - Constructor for exception com.virgilsecurity.purekit.storage.exception.PureStorageGrantKeyNotFoundException
 
PureStorageInvalidProtobufException - Exception in com.virgilsecurity.purekit.storage.exception
Invalid protobuf exception wrapped in PureStorageException
PureStorageInvalidProtobufException(Throwable) - Constructor for exception com.virgilsecurity.purekit.storage.exception.PureStorageInvalidProtobufException
Constructor
PureStorageRoleAssignmentNotFoundException - Exception in com.virgilsecurity.purekit.storage.exception
 
PureStorageRoleAssignmentNotFoundException(String, String) - Constructor for exception com.virgilsecurity.purekit.storage.exception.PureStorageRoleAssignmentNotFoundException
 
PureStorageRoleNotFoundException - Exception in com.virgilsecurity.purekit.storage.exception
 
PureStorageRoleNotFoundException(Set<String>) - Constructor for exception com.virgilsecurity.purekit.storage.exception.PureStorageRoleNotFoundException
 
PureStorageRoleNotFoundException(String) - Constructor for exception com.virgilsecurity.purekit.storage.exception.PureStorageRoleNotFoundException
 
PureStorageUserNotFoundException - Exception in com.virgilsecurity.purekit.storage.exception
 
PureStorageUserNotFoundException(Set<String>) - Constructor for exception com.virgilsecurity.purekit.storage.exception.PureStorageUserNotFoundException
 
PureStorageUserNotFoundException(String) - Constructor for exception com.virgilsecurity.purekit.storage.exception.PureStorageUserNotFoundException
 

R

RamPureStorage - Class in com.virgilsecurity.purekit.storage.ram
PureStorage implementation that stores data in RAM.
RamPureStorage() - Constructor for class com.virgilsecurity.purekit.storage.ram.RamPureStorage
Constructor
recoverUser(String, String) - Method in class com.virgilsecurity.purekit.Pure
Recovers user in case he doesn't remember his password.
registerUser(String, String) - Method in class com.virgilsecurity.purekit.Pure
Registers new user.
registerUser(String, String, PureSessionParams) - Method in class com.virgilsecurity.purekit.Pure
Registers and authenticates new user.
resetUserPassword(String, String, boolean) - Method in class com.virgilsecurity.purekit.Pure
Resets user password, all encrypted user data becomes inaccessible.
Role - Class in com.virgilsecurity.purekit.model
Role
Role(String, byte[]) - Constructor for class com.virgilsecurity.purekit.model.Role
Constructor
RoleAssignment - Class in com.virgilsecurity.purekit.model
Role assignment
RoleAssignment(String, String, byte[], byte[]) - Constructor for class com.virgilsecurity.purekit.model.RoleAssignment
Constructor
RotationResults(long, long) - Constructor for class com.virgilsecurity.purekit.Pure.RotationResults
Constructor

S

selectCellKey(String, String) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
selectCellKey(String, String) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Obtains a CellKey for the given userId and dataId from a storage.
selectCellKey(String, String) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
selectCellKey(String, String) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
selectGrantKey(String, byte[]) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
selectGrantKey(String, byte[]) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Obtains GrantKey from a storage.
selectGrantKey(String, byte[]) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
selectGrantKey(String, byte[]) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
selectGrantKeys(int) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
selectGrantKeys(int) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Obrains grant keys with given record version
selectGrantKeys(int) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
selectGrantKeys(int) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
selectRoleAssignment(String, String) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
selectRoleAssignment(String, String) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Obtains role assignment for the given user and role name from a storage.
selectRoleAssignment(String, String) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
selectRoleAssignment(String, String) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
selectRoleAssignments(String) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
selectRoleAssignments(String) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Obtains all role assignments for the given user from a storage.
selectRoleAssignments(String) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
selectRoleAssignments(String) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
selectRoles(Set<String>) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
selectRoles(Set<String>) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Obtains a Role for the given name from a storage.
selectRoles(Set<String>) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
selectRoles(Set<String>) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
selectUser(String) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
selectUser(String) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Obtains a user record with the given userId from a storage.
selectUser(String) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
selectUser(String) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
selectUsers(Set<String>) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
selectUsers(int) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
selectUsers(Set<String>) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Obtains users records with given userIds from a storage.
selectUsers(int) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Obtains users records with given recordVersion from a storage.
selectUsers(Set<String>) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
selectUsers(int) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
selectUsers(Set<String>) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
selectUsers(int) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
serializeCellKey(CellKey) - Method in class com.virgilsecurity.purekit.storage.PureModelSerializer
Signs and serializes CellKey
serializeGrantKey(GrantKey) - Method in class com.virgilsecurity.purekit.storage.PureModelSerializer
Signs and serializes GrantKey
serializeRole(Role) - Method in class com.virgilsecurity.purekit.storage.PureModelSerializer
Signs and serializes Role
serializeRoleAssignment(RoleAssignment) - Method in class com.virgilsecurity.purekit.storage.PureModelSerializer
Signs and serializes RoleAssignment
serializeUserRecord(UserRecord) - Method in class com.virgilsecurity.purekit.storage.PureModelSerializer
Signs and serializes UserRecord
SERVICE_ADDRESS - Static variable in class com.virgilsecurity.purekit.client.HttpKmsClient
KMS service url
SERVICE_ADDRESS - Static variable in class com.virgilsecurity.purekit.client.HttpPheClient
PHE service url
SERVICE_ADDRESS - Static variable in class com.virgilsecurity.purekit.client.HttpPureClient
Pure service url
ServiceErrorCode - Enum in com.virgilsecurity.purekit.client
PHE service error codes.
setPureModelSerializer(PureModelSerializer) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
setPureModelSerializer(PureModelSerializer) - Method in interface com.virgilsecurity.purekit.storage.PureModelSerializerDependent
Sets pureModelSerializer
setPureModelSerializer(PureModelSerializer) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
setSessionId(String) - Method in class com.virgilsecurity.purekit.PureSessionParams
Sets session id
setStorage(PureStorage) - Method in class com.virgilsecurity.purekit.PureContext
 
setTtl(long) - Method in class com.virgilsecurity.purekit.PureSessionParams
Sets time to live in seconds
setUpdateToken(String) - Method in class com.virgilsecurity.purekit.PureContext
Sets Update token.
share(PureGrant, String, String) - Method in class com.virgilsecurity.purekit.Pure
Gives possibility to decrypt data to other user that is not data owner.
share(PureGrant, String, Set<String>, Collection<VirgilPublicKey>) - Method in class com.virgilsecurity.purekit.Pure
Gives possibility to decrypt data to other user that is not data owner.
shareToRole(PureGrant, String, Set<String>) - Method in class com.virgilsecurity.purekit.Pure
Share data to roles
shareToRole(PureGrant, String, String) - Method in class com.virgilsecurity.purekit.Pure
Share data to role

U

unassignRole(String, Set<String>) - Method in class com.virgilsecurity.purekit.Pure
Unassigns users from role
unshare(String, String, String) - Method in class com.virgilsecurity.purekit.Pure
Revoke possibility to decrypt data from other user that is not data owner.
unshare(String, String, Set<String>, Collection<VirgilPublicKey>) - Method in class com.virgilsecurity.purekit.Pure
Revoke possibility to decrypt data from other user that is not data owner.
updateCellKey(String, String, PurekitProtosV3Storage.CellKey) - Method in class com.virgilsecurity.purekit.client.HttpPureClient
Updates cell key.
updateCellKey(CellKey) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
updateCellKey(CellKey) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Updates a CellKey.
updateCellKey(CellKey) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
updateCellKey(CellKey) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
updateGrantKeys(Iterable<GrantKey>) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
updateGrantKeys(Iterable<GrantKey>) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Updated grant keys
updateGrantKeys(Iterable<GrantKey>) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
updateGrantKeys(Iterable<GrantKey>) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
updateUser(String, PurekitProtosV3Storage.UserRecord) - Method in class com.virgilsecurity.purekit.client.HttpPureClient
Updates user.
updateUser(UserRecord) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
updateUser(UserRecord) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Updates a user in a storage.
updateUser(UserRecord) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
updateUser(UserRecord) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
updateUsers(Iterable<UserRecord>, int) - Method in class com.virgilsecurity.purekit.storage.mariadb.MariaDbPureStorage
 
updateUsers(Iterable<UserRecord>, int) - Method in interface com.virgilsecurity.purekit.storage.PureStorage
Updates users in a storage.
updateUsers(Iterable<UserRecord>, int) - Method in class com.virgilsecurity.purekit.storage.ram.RamPureStorage
 
updateUsers(Iterable<UserRecord>, int) - Method in class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
 
UserRecord - Class in com.virgilsecurity.purekit.model
User record
UserRecord(String, byte[], int, byte[], byte[], byte[], byte[], byte[], byte[]) - Constructor for class com.virgilsecurity.purekit.model.UserRecord
Instantiates UserRecord.

V

ValidationUtils - Class in com.virgilsecurity.purekit.utils
ValidateUtils class.
ValidationUtils() - Constructor for class com.virgilsecurity.purekit.utils.ValidationUtils
 
valueOf(String) - Static method in enum com.virgilsecurity.purekit.client.HttpClient.Method
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.virgilsecurity.purekit.client.ServiceErrorCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.virgilsecurity.purekit.exception.PureCryptoException.ErrorStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.virgilsecurity.purekit.exception.PureLogicException.ErrorStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.virgilsecurity.purekit.storage.exception.PureStorageGenericException.ErrorStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.virgilsecurity.purekit.client.HttpClient.Method
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.virgilsecurity.purekit.client.ServiceErrorCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.virgilsecurity.purekit.exception.PureCryptoException.ErrorStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.virgilsecurity.purekit.exception.PureLogicException.ErrorStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.virgilsecurity.purekit.storage.exception.PureStorageGenericException.ErrorStatus
Returns an array containing the constants of this enum type, in the order they are declared.
verifyPassword(PurekitProtos.VerifyPasswordRequest) - Method in class com.virgilsecurity.purekit.client.HttpPheClient
Verifies password.
VERSION - Static variable in class com.virgilsecurity.purekit.build.VersionVirgilAgent
 
VersionVirgilAgent - Class in com.virgilsecurity.purekit.build
 
VersionVirgilAgent() - Constructor for class com.virgilsecurity.purekit.build.VersionVirgilAgent
 
VirgilCloudPureStorage - Class in com.virgilsecurity.purekit.storage.virgil
PureStorage on Virgil cloud side
VirgilCloudPureStorage(HttpPureClient) - Constructor for class com.virgilsecurity.purekit.storage.virgil.VirgilCloudPureStorage
Instantiates VirgilCloudPureStorage.
VirgilCloudStorageException - Exception in com.virgilsecurity.purekit.storage.virgil
Virgil Cloud storage exception
VirgilCloudStorageException(HttpClientException) - Constructor for exception com.virgilsecurity.purekit.storage.virgil.VirgilCloudStorageException
Constructor
A C D E G H I M N O P R S U V 
Skip navigation links