public interface EncryptionProtocol
| Modifier and Type | Interface and Description |
|---|---|
static interface |
EncryptionProtocol.Factory |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(java.lang.String contentKey,
byte[] encryptedContent) |
byte[] |
decrypt(java.lang.String contentKey,
char[] password,
byte[] encryptedContent) |
java.lang.String |
deriveContentKey(java.lang.String originalContentKey) |
byte[] |
encrypt(java.lang.String contentKey,
byte[] rawContent) |
byte[] |
encrypt(java.lang.String contentKey,
char[] password,
byte[] rawContent) |
java.lang.String deriveContentKey(java.lang.String originalContentKey)
byte[] encrypt(java.lang.String contentKey,
byte[] rawContent)
throws EncryptionProtocolException
EncryptionProtocolExceptionbyte[] encrypt(java.lang.String contentKey,
char[] password,
byte[] rawContent)
throws EncryptionProtocolException
EncryptionProtocolExceptionbyte[] decrypt(java.lang.String contentKey,
byte[] encryptedContent)
throws EncryptionProtocolException
EncryptionProtocolExceptionbyte[] decrypt(java.lang.String contentKey,
char[] password,
byte[] encryptedContent)
throws EncryptionProtocolException
EncryptionProtocolException