public interface FilePasswordProvider
Modifier and Type | Field and Description |
---|---|
static FilePasswordProvider |
EMPTY
An "empty" provider that returns
null - i.e., unprotected key file |
Modifier and Type | Method and Description |
---|---|
String |
getPassword(String resourceKey) |
static final FilePasswordProvider EMPTY
null
- i.e., unprotected key fileString getPassword(String resourceKey) throws IOException
resourceKey
- The resource key representing the private
filenull
/empty then no password is requiredIOException
- if cannot resolve passwordCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.