public class OSSKeyStore extends java.lang.Object implements KeyStore
AES_FDB_DATA, AES_FDB_METADATA, AES_FETCHER, AES_KAFKA_DATA, AES_KAFKA_METADATA, AES_KAFKA_PLASMA_BACKEND_IN, AES_KAFKA_PLASMA_BACKEND_OUT, AES_KAFKA_PLASMA_FRONTEND_IN, 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_LABELS, SIPHASH_LABELS_SECONDARY, SIPHASH_TOKEN| Constructor and Description |
|---|
OSSKeyStore(java.lang.String masterKeySpec)
Instantiates a new Oss key store.
|
| Modifier and Type | Method and Description |
|---|---|
KeyStore |
clone() |
byte[] |
decodeKey(java.lang.String encoded)
Decode key byte [ ].
|
void |
forget()
Forget the master key
|
byte[] |
getKey(java.lang.String name)
Get key byte [ ].
|
void |
setKey(java.lang.String name,
byte[] key)
Sets key.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckAndSetKey, checkAndSetKeypublic OSSKeyStore(java.lang.String masterKeySpec)
throws com.geoxp.oss.OSSException
masterKeySpec - the master key speccom.geoxp.oss.OSSException - the oss exceptionpublic void setKey(java.lang.String name,
byte[] key)
KeyStorepublic byte[] getKey(java.lang.String name)
KeyStorepublic byte[] decodeKey(java.lang.String encoded)
KeyStorepublic KeyStore clone()