public class CryptoEncryptionData extends Object
Data loaded from the file for document encryption
Constructor and Description |
---|
CryptoEncryptionData() |
Modifier and Type | Method and Description |
---|---|
PasswordKeyEncryptorData |
getPasswordEncryptorData()
Gets or sets the password encryptor data.
|
byte[] |
getSaltValue()
Gets or sets the salt value.
|
void |
setPasswordEncryptorData(PasswordKeyEncryptorData value)
Gets or sets the password encryptor data.
|
void |
setSaltValue(byte[] value)
Gets or sets the salt value.
|
static void |
writeToStream(com.aspose.ms.System.IO.Stream stream,
EncryptionConfig config,
CryptoEncryptionData data)
Write the given config + data classes into the EncryptionInfo stream
|
static void |
writeToXml(com.aspose.ms.System.Xml.XmlTextWriter writer,
EncryptionConfig config,
CryptoEncryptionData data)
Write the given config + data classes into XML.
|
public static final String RootUri
The root uri.
public byte[] getSaltValue()
Gets or sets the salt value.
public void setSaltValue(byte[] value)
Gets or sets the salt value.
public PasswordKeyEncryptorData getPasswordEncryptorData()
Gets or sets the password encryptor data.
public void setPasswordEncryptorData(PasswordKeyEncryptorData value)
Gets or sets the password encryptor data.
public static void writeToStream(com.aspose.ms.System.IO.Stream stream, EncryptionConfig config, CryptoEncryptionData data)
Write the given config + data classes into the EncryptionInfo stream
stream
- The stream.config
- The config.data
- The data.public static void writeToXml(com.aspose.ms.System.Xml.XmlTextWriter writer, EncryptionConfig config, CryptoEncryptionData data)
Write the given config + data classes into XML.
writer
- The writer.config
- The config.data
- The data.Copyright (c) 2016 Aspose. All Rights Reserved.