Class AbstractKeyManager
java.lang.Object
io.github.projectunified.minelib.util.key.AbstractKeyManager
- All Implemented Interfaces:
KeyManager
- Direct Known Subclasses:
MinecraftKeyManager
,PluginKeyManager
The abstract key manager
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.github.projectunified.minelib.util.key.KeyManager
createKeyPair, createKeyPair
-
Constructor Details
-
AbstractKeyManager
public AbstractKeyManager()
-
-
Method Details
-
createKey
Description copied from interface:KeyManager
Create a newNamespacedKey
. This should have a function to store the createdNamespacedKey
for later uses.- Specified by:
createKey
in interfaceKeyManager
- Parameters:
key
- the key- Returns:
- the
NamespacedKey
-
newKey
Create a new key- Parameters:
key
- the key- Returns:
- the new key
-