public class EncryptionHeader extends Object
Constructor and Description |
---|
EncryptionHeader() |
Modifier and Type | Method and Description |
---|---|
String |
getAdditionalAuthenticatedData() |
Map<String,String> |
getContext() |
List<EncryptionKey> |
getEncryptedDataKeys() |
EncryptionKey |
getEncryptionKey() |
byte[] |
getHeaderBytes() |
String |
getIV() |
byte[] |
getIvBytes() |
void |
setEncryptionHeader(EncryptionKey encryptionKey,
String iv,
String additionalAuthenticatedData) |
void |
setHeaderBytes(byte[] headerBytes) |
public void setEncryptionHeader(EncryptionKey encryptionKey, String iv, String additionalAuthenticatedData)
public byte[] getIvBytes()
public byte[] getHeaderBytes()
public void setHeaderBytes(byte[] headerBytes)
public String getAdditionalAuthenticatedData()
public Map<String,String> getContext() throws IOException
IOException
public EncryptionKey getEncryptionKey()
public List<EncryptionKey> getEncryptedDataKeys()
public String getIV()
Copyright © 2016–2024. All rights reserved.