public final class InMemorySecretKeyStore extends Object implements SecretKeyStore
Modifier and Type | Field and Description |
---|---|
static InMemorySecretKeyStore |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all stored secret keys.
|
String |
getSecretKey(String keyId) |
void |
removeSecretKey(String keyId)
Removes the secret key for the given key id.
|
void |
storeSecretKey(String keyId,
String secretKey)
Stores the given secret key for the given key id.
|
public static final InMemorySecretKeyStore INSTANCE
public String getSecretKey(String keyId)
getSecretKey
in interface SecretKeyStore
null
.public void storeSecretKey(String keyId, String secretKey)
public void removeSecretKey(String keyId)
public void clear()
Copyright © 2024 Worldline Global Collect. All rights reserved.