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
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.projectunified.minelib.util.key.KeyManager
createKeyPair, createKeyPair
-
Constructor Details
-
AbstractKeyManager
public AbstractKeyManager()
-
-
Method Details
-
createKey
Description copied from interface:KeyManagerCreate a newNamespacedKey. This should have a function to store the createdNamespacedKeyfor later uses.- Specified by:
createKeyin interfaceKeyManager- Parameters:
key- the key- Returns:
- the
NamespacedKey
-
newKey
Create a new key- Parameters:
key- the key- Returns:
- the new key
-