public class SerializeHeader extends Object
Constructor and Description |
---|
SerializeHeader(MasterKeyProvider provider) |
Modifier and Type | Method and Description |
---|---|
EncryptionHeader |
createHeader(DataKey dataKey,
byte[] IVbytes,
Map<String,String> context) |
EncryptionHeader |
deserializeJsonHeader(byte[] header) |
int |
getHeaderSize(byte[] data) |
EncryptionHeader |
readHeader(InputStream decryptInputStream) |
public SerializeHeader(MasterKeyProvider provider)
public EncryptionHeader createHeader(DataKey dataKey, byte[] IVbytes, Map<String,String> context)
public EncryptionHeader deserializeJsonHeader(byte[] header)
public EncryptionHeader readHeader(InputStream decryptInputStream) throws IOException
IOException
public int getHeaderSize(byte[] data)
Copyright © 2016–2024. All rights reserved.