|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - Type of credential to read.public interface CredentialReader<T>
Reads a security credential (e.g. key, certificate) from a resource.
| Method Summary | |
|---|---|
T |
read(File file)
Reads a credential, commonly in encoded format, from the given file. |
T |
read(InputStream in)
Reads a credential, commonly in encoded format, from the given input stream. |
| Method Detail |
|---|
T read(File file)
throws IOException,
CryptException
file - File from which to read credential.
IOException - On IO exceptions.
CryptException - On cryptography errors such as invalid formats,
unsupported ciphers, illegal settings.
T read(InputStream in)
throws IOException,
CryptException
in - Input stream from which to read credential.
IOException - On IO exceptions.
CryptException - On cryptography errors such as invalid formats,
unsupported ciphers, illegal settings.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||