Package de.das.encrypter.model
Class KeyFileLocation
java.lang.Object
de.das.encrypter.model.KeyFileLocation
Class to provide information of a key and its location not the key itself.
-
Constructor Summary
ConstructorsConstructorDescriptionKeyFileLocation(String keyName, long keyId, String keyLocation) Creates a new instance of KeyFileLocation. -
Method Summary
Modifier and TypeMethodDescriptionlonggetKeyId()Returns the key ID.Returns the key location.Returns the name of the key.
-
Constructor Details
-
KeyFileLocation
Creates a new instance of KeyFileLocation.- Parameters:
keyName- the name of the key.keyId- the ID of the key.keyLocation- the location of the key.
-
-
Method Details
-
getKeyId
public long getKeyId()Returns the key ID.- Returns:
- the key ID.
-
getKeyLocation
Returns the key location.- Returns:
- the key location.
-
getKeyName
Returns the name of the key.- Returns:
- the name of the key.
-