public class EncryptParameters extends Object implements XMLConvertible
Parameters for encryption
| Constructor and Description |
|---|
EncryptParameters(int uncompressedSize,
int compressedSize,
long crc32,
String compressedCheckSumType,
String compressedCheckSum,
String startKeyGenerationName,
int startKeySize,
String keyDerivationName,
int derivedKeySize,
int derivationIterationCount,
String derivationSalt,
String algorithmName,
String algorithmInitializationVector) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendXMLContent(XMLUtil util,
Appendable appendable)
Write the XML format for this object.
|
static EncryptParametersBuilder |
builder() |
long |
getCompressedSize() |
long |
getCrc32() |
int |
getUncompressedSize() |
public EncryptParameters(int uncompressedSize,
int compressedSize,
long crc32,
String compressedCheckSumType,
String compressedCheckSum,
String startKeyGenerationName,
int startKeySize,
String keyDerivationName,
int derivedKeySize,
int derivationIterationCount,
String derivationSalt,
String algorithmName,
String algorithmInitializationVector)
public static EncryptParametersBuilder builder()
public void appendXMLContent(XMLUtil util, Appendable appendable) throws IOException
XMLConvertibleappendXMLContent in interface XMLConvertibleutil - a helper objectappendable - the appendable to append data toIOException - if the style can't be addedpublic int getUncompressedSize()
public long getCompressedSize()
public long getCrc32()
Copyright © 2016–2021. All rights reserved.