public class AddRedundancyOperation extends AbstractRedundancyOperation implements Serializable, Dumpable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
DATA_STRIPES, GF_SIZE, INPUT_ID, KEYS, OUTPUT_ID, REDUNDANCY
CRLF
Constructor and Description |
---|
AddRedundancyOperation(org.bouncycastle.asn1.ASN1Encodable to)
Create object from ASN.1 code.
|
AddRedundancyOperation(int inputId,
int dataStripes,
int redundancy,
List<SymmetricKey> keys,
int outputId,
int gfSize) |
Modifier and Type | Method and Description |
---|---|
static AddRedundancyOperation |
getInstance(Object obj)
Static conversion method.
|
Operation |
getNewInstance(org.bouncycastle.asn1.ASN1Encodable object)
Gets an instance of the object.
|
org.bouncycastle.asn1.ASN1Object |
toAsn1Object(DumpType dumpType)
Dumps an ASN.1 representation of the object.
|
org.bouncycastle.asn1.ASN1Primitive |
toAsn1Primitive() |
dumpValueNotation, getDataStripes, getGfSize, getInputId, getKeys, getOutputId, getRedundancy, parse, setDataStripes, setGfSize, setInputId, setKeys, setOutputId, setRedundancy
getTagNumber, setTagNumber
fromBase64, fromHex, parse, prepareDump, toBase64, toBitString, toBytes, toDer, toHex
public static final long serialVersionUID
public AddRedundancyOperation(int inputId, int dataStripes, int redundancy, List<SymmetricKey> keys, int outputId, int gfSize)
public AddRedundancyOperation(org.bouncycastle.asn1.ASN1Encodable to) throws IOException
Create object from ASN.1 code.
to
- the ASN.1 codeIOException
- if parsing of ASN.1 code failspublic static AddRedundancyOperation getInstance(Object obj) throws IOException
Static conversion method.
obj
- the object to be convertedIOException
- if conversion failspublic org.bouncycastle.asn1.ASN1Object toAsn1Object(DumpType dumpType) throws IOException
Dumpable
Dumps an ASN.1 representation of the object.
toAsn1Object
in interface Dumpable
toAsn1Object
in class AbstractRedundancyOperation
dumpType
- the dump type to be usedIOException
- if dumping of the object fails due to an illegal internal state of the
objectpublic org.bouncycastle.asn1.ASN1Primitive toAsn1Primitive() throws IOException
IOException
public Operation getNewInstance(org.bouncycastle.asn1.ASN1Encodable object) throws IOException
Operation
Gets an instance of the object.
getNewInstance
in class Operation
object
- the object to be parsedIOException
- if parsing failsCopyright © 2023. All rights reserved.