public class UnsecureKeyStore extends java.lang.Object implements KeyStore
Keys can be set after being retrieved from an outside source.
This KeyStore is dubbed 'Unsecure' because it does not rely on OSS for retrieving a master secret with which all other secrets are encrypted.
AES_FETCHER, AES_HBASE_DATA, AES_HBASE_METADATA, AES_KAFKA_DATA, AES_KAFKA_METADATA, AES_KAFKA_PLASMA_BACKEND_IN, AES_KAFKA_PLASMA_BACKEND_OUT, AES_KAFKA_PLASMA_FRONTEND_IN, AES_KAFKA_WEBCALL, AES_LEVELDB_DATA, AES_LEVELDB_METADATA, AES_LOGGING, AES_METASETS, AES_RUNNER_PSK, AES_SECURESCRIPTS, AES_TOKEN, SIPHASH_APPID, SIPHASH_CLASS, SIPHASH_CLASS_SECONDARY, SIPHASH_DIRECTORY_PSK, SIPHASH_FETCH_PSK, SIPHASH_KAFKA_DATA, SIPHASH_KAFKA_METADATA, SIPHASH_KAFKA_PLASMA_BACKEND_IN, SIPHASH_KAFKA_PLASMA_BACKEND_OUT, SIPHASH_KAFKA_PLASMA_FRONTEND_IN, SIPHASH_KAFKA_RUNNER, SIPHASH_KAFKA_WEBCALL, SIPHASH_LABELS, SIPHASH_LABELS_SECONDARY, SIPHASH_TOKEN| Constructor and Description |
|---|
UnsecureKeyStore()
Instantiates a new Unsecure key store.
|
| Modifier and Type | Method and Description |
|---|---|
KeyStore |
clone() |
byte[] |
decodeKey(java.lang.String encoded)
Decode key byte [ ].
|
void |
forget()
Forget.
|
byte[] |
getKey(java.lang.String name)
Retrieve a key given its name.
|
void |
setKey(java.lang.String name,
byte[] bits)
Store a key under a name.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckAndSetKey, checkAndSetKeypublic UnsecureKeyStore()
public byte[] getKey(java.lang.String name)
public void setKey(java.lang.String name,
byte[] bits)
public byte[] decodeKey(java.lang.String encoded)
KeyStorepublic KeyStore clone()