public class EncryptionChunk extends Chunk
chunkLength, guid, position
Constructor and Description |
---|
EncryptionChunk(BigInteger chunkLen)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addString(String toAdd)
This method appends a String.
|
String |
getKeyID()
This method gets the keyID.
|
String |
getLicenseURL()
This method gets the license URL.
|
String |
getProtectionType()
This method gets the secret data.
|
String |
getSecretData()
This method gets the secret data.
|
Collection<String> |
getStrings()
This method returns a collection of all
String s which were addid
due addString(String) . |
String |
prettyPrint(String prefix)
This method creates a String containing useful information prepared to be
printed on STD-OUT.
|
void |
setKeyID(String toAdd)
This method appends a String.
|
void |
setLicenseURL(String toAdd)
This method appends a String.
|
void |
setProtectionType(String toAdd)
This method appends a String.
|
void |
setSecretData(String toAdd)
This method adds the secret data.
|
getChunckEnd, getChunkEnd, getChunkLength, getGuid, getPosition, setPosition, toString
public EncryptionChunk(BigInteger chunkLen)
chunkLen
- Length of current chunk.public void addString(String toAdd)
toAdd
- String to add.public String getKeyID()
public String getLicenseURL()
public String getProtectionType()
public String getSecretData()
public Collection<String> getStrings()
String
s which were addid
due addString(String)
.public String prettyPrint(String prefix)
prettyPrint
in class Chunk
prefix
- each line gets this string prepended.public void setKeyID(String toAdd)
toAdd
- String to add.public void setLicenseURL(String toAdd)
toAdd
- String to add.public void setProtectionType(String toAdd)
toAdd
- String to add.public void setSecretData(String toAdd)
toAdd
- String to add.Copyright © 2005–2020 jthink.net. All rights reserved.