Package com.dracoon.sdk.crypto.model
Class PlainFileKey
java.lang.Object
com.dracoon.sdk.crypto.model.FileKey<PlainFileKey.Version>
com.dracoon.sdk.crypto.model.PlainFileKey
Plain file key model.
This model holds plain file key data.
This model holds plain file key data.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAvailable plain file key versions. -
Constructor Summary
ConstructorsConstructorDescriptionPlainFileKey(PlainFileKey.Version version, byte[] key, byte[] iv) Constructs a new plain file key. -
Method Summary
-
Constructor Details
-
PlainFileKey
public PlainFileKey(PlainFileKey.Version version, byte[] key, byte[] iv) throws IllegalArgumentException Constructs a new plain file key.- Parameters:
version- The file key version.key- The plain file key.iv- The encryption initialization vector.- Throws:
IllegalArgumentException- If a parameter is invalid (e.g. null or empty).
-