Interface EciesDemHelper.Dem
-
- Enclosing class:
- EciesDemHelper
public static interface EciesDemHelper.DemInterface for a DEM.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]decrypt(byte[] demKeyValue, byte[] ciphertext, int prefixAndHeaderSize)byte[]encrypt(byte[] demKeyValue, byte[] prefix, byte[] header, byte[] plaintext)intgetSymmetricKeySizeInBytes()
-
-
-
Method Detail
-
getSymmetricKeySizeInBytes
int getSymmetricKeySizeInBytes()
-
encrypt
byte[] encrypt(byte[] demKeyValue, byte[] prefix, byte[] header, byte[] plaintext) throws java.security.GeneralSecurityException- Throws:
java.security.GeneralSecurityException
-
decrypt
byte[] decrypt(byte[] demKeyValue, byte[] ciphertext, int prefixAndHeaderSize) throws java.security.GeneralSecurityException- Throws:
java.security.GeneralSecurityException
-
-