|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BlobCrypter
Utility interface for managing signed, encrypted, and time stamped blobs. Blobs are made up of name/value pairs. Time stamps are automatically included and checked. Thread safe.
| Method Summary | |
|---|---|
Map<String,String> |
unwrap(String in,
int maxAgeSec)
Unwraps a blob. |
String |
wrap(Map<String,String> in)
Time stamps, encrypts, and signs a blob. |
| Method Detail |
|---|
String wrap(Map<String,String> in)
throws BlobCrypterException
in - name/value pairs to encrypt
BlobCrypterException - when crypto errors occur
Map<String,String> unwrap(String in,
int maxAgeSec)
throws BlobCrypterException
in - blobmaxAgeSec - maximum age for the blob
BlobExpiredException - if the blob is too old to be accepted.
BlobCrypterException - if the blob can't be decoded.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||