public interface KeyStorageTree extends StorageTree, AppService
Modifier and Type | Method and Description |
---|---|
org.rundeck.storage.api.Resource<ResourceMeta> |
getPassword(org.rundeck.storage.api.Path path) |
org.rundeck.storage.api.Resource<ResourceMeta> |
getPrivateKey(org.rundeck.storage.api.Path path) |
org.rundeck.storage.api.Resource<ResourceMeta> |
getPublicKey(org.rundeck.storage.api.Path path) |
boolean |
hasPassword(java.lang.String path) |
boolean |
hasPrivateKey(java.lang.String path) |
boolean |
hasPublicKey(java.lang.String path) |
byte[] |
readPassword(org.rundeck.storage.api.Path path) |
byte[] |
readPassword(java.lang.String path) |
byte[] |
readPrivateKey(org.rundeck.storage.api.Path path) |
byte[] |
readPrivateKey(java.lang.String path) |
byte[] |
readPublicKey(org.rundeck.storage.api.Path path) |
byte[] |
readPublicKey(java.lang.String path) |
createResource, createResource, deleteResource, deleteResource, getPath, getPath, getResource, getResource, hasDirectory, hasDirectory, hasPath, hasPath, hasResource, hasResource, listDirectory, listDirectory, listDirectoryResources, listDirectoryResources, listDirectorySubdirs, listDirectorySubdirs, updateResource, updateResource
org.rundeck.storage.api.Resource<ResourceMeta> getPassword(org.rundeck.storage.api.Path path)
path
- pathcom.dtolabs.rundeck.core.storage.WrongContentType
- if not the right content typeorg.rundeck.storage.api.StorageException
- if not foundbyte[] readPassword(org.rundeck.storage.api.Path path) throws java.io.IOException
path
- pathcom.dtolabs.rundeck.core.storage.WrongContentType
- if not the right content typeorg.rundeck.storage.api.StorageException
- if not foundjava.io.IOException
byte[] readPassword(java.lang.String path) throws java.io.IOException
path
- pathcom.dtolabs.rundeck.core.storage.WrongContentType
- if not the right content typeorg.rundeck.storage.api.StorageException
- if not foundjava.io.IOException
org.rundeck.storage.api.Resource<ResourceMeta> getPublicKey(org.rundeck.storage.api.Path path)
path
- pathcom.dtolabs.rundeck.core.storage.WrongContentType
- if not the right content typeorg.rundeck.storage.api.StorageException
- if not foundbyte[] readPublicKey(org.rundeck.storage.api.Path path) throws java.io.IOException
path
- pathcom.dtolabs.rundeck.core.storage.WrongContentType
- if not the right content typeorg.rundeck.storage.api.StorageException
- if not foundjava.io.IOException
byte[] readPublicKey(java.lang.String path) throws java.io.IOException
path
- pathcom.dtolabs.rundeck.core.storage.WrongContentType
- if not the right content typeorg.rundeck.storage.api.StorageException
- if not foundjava.io.IOException
org.rundeck.storage.api.Resource<ResourceMeta> getPrivateKey(org.rundeck.storage.api.Path path)
path
- pathcom.dtolabs.rundeck.core.storage.WrongContentType
- if not the right content typeorg.rundeck.storage.api.StorageException
- if not foundbyte[] readPrivateKey(org.rundeck.storage.api.Path path) throws java.io.IOException
path
- pathcom.dtolabs.rundeck.core.storage.WrongContentType
- if not the right content typeorg.rundeck.storage.api.StorageException
- if not foundjava.io.IOException
byte[] readPrivateKey(java.lang.String path) throws java.io.IOException
path
- pathcom.dtolabs.rundeck.core.storage.WrongContentType
- if not the right content typeorg.rundeck.storage.api.StorageException
- if not foundjava.io.IOException
boolean hasPassword(java.lang.String path)
path
- pathboolean hasPrivateKey(java.lang.String path)
path
- pathboolean hasPublicKey(java.lang.String path)
path
- path