Package | Description |
---|---|
eu.gambas.system.security | |
info.pppc.base.security | |
info.pppc.base.security.key |
Modifier and Type | Method and Description |
---|---|
ISymmetricKey |
GAMBASKeyStore.getEncryptionKey(Profile profile)
Gets the encryption key from a specified profile.
|
ISymmetricKey |
GAMBASKeyStore.getEncryptionKey(SystemID system) |
ISymmetricKey |
GAMBASKeyStore.getEncryptionKey(User user)
Gets the encryption key from a specified user.
|
ISymmetricKey |
GAMBASKeyStore.getSignatureKey(Profile profile)
Gets the signature key from a specified profile.
|
ISymmetricKey |
GAMBASKeyStore.getSignatureKey(SystemID system) |
ISymmetricKey |
GAMBASKeyStore.getSignatureKey(User user)
Gets the signature key from a specified user.
|
Modifier and Type | Method and Description |
---|---|
void |
GAMBASKeyStore.addKey(SystemID system,
ISymmetricKey hmacSymmetricKey,
ISymmetricKey aesSymmetricKey,
long time) |
void |
GAMBASKeyStore.addKey(User user,
ISymmetricKey hmacSymmetricKey,
ISymmetricKey aesSymmetricKey,
long time)
Adds a key to a user and persists/merges the user.
|
User |
GAMBASKeyStore.addKeyToUserWithProfile(Profile profile,
java.lang.String name,
ISymmetricKey hmacKey,
ISymmetricKey aesKey,
Pseudonym remotePseudonym) |
void |
SymmetricSignature.sign(ISymmetricKey key)
Creates a signature for the signature object.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ISymEncryptionKey
This is a marker interface for symmetric keys that are used for encryption.
|
interface |
ISymSigningKey
This is a marker interface for symmetric keys that are used for HMACs (i.e.
|
Modifier and Type | Method and Description |
---|---|
ISymmetricKey |
IKeyStore.getEncryptionKey(SystemID system)
Returns the encryption key for the specified system or null
if there is none.
|
ISymmetricKey |
IKeyStore.getSignatureKey(SystemID system)
Returns the signature key for the specified system or null
if there is none.
|
Modifier and Type | Method and Description |
---|---|
void |
IKeyStore.addKey(SystemID system,
ISymmetricKey hmacSymmetricKey,
ISymmetricKey aesSymmetricKey,
long time)
Adds a session key to the key store.
|
Modifier and Type | Class and Description |
---|---|
class |
AESSymmetricKey
This class implements a symmetric AES encryption/decryption.
|
class |
HMACSymmetricKey
This class is used to create a symmetric key that can be used for signing (using a HMAC)
|