|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SynchronousKey
An interface to support very simple synchronous key encryption. The entire data to be encrypted needs to fit into memory, i.e. this scheme is not appropriate to encode/decode large files at once.
Encoded| Method Summary | |
|---|---|
void |
decode(InputStream in,
OutputStream out)
decodes the given InputStream into the given OutputStream |
void |
encode(InputStream in,
OutputStream out)
encodes the given InputStream into the given OutputStream |
String |
getKeySignature()
returns a signature that is used to identify the key that needs to be known for both, encoding and decoding |
| Method Detail |
|---|
void encode(InputStream in,
OutputStream out)
throws IOException,
GeneralSecurityException
IOException
GeneralSecurityException
void decode(InputStream in,
OutputStream out)
throws IOException,
GeneralSecurityException
IOException
GeneralSecurityExceptionString getKeySignature()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||