public abstract class AbstractCryptPayloadOperation extends Operation implements Serializable, Dumpable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
CRLF
Constructor and Description |
---|
AbstractCryptPayloadOperation(org.bouncycastle.asn1.ASN1Encodable object)
Create object from ASN.1 code.
|
Modifier and Type | Method and Description |
---|---|
String |
dumpValueNotation(String prefix,
DumpType dumptype) |
abstract Operation |
getNewInstance(org.bouncycastle.asn1.ASN1Encodable object)
Gets an instance of the object.
|
protected void |
parse(org.bouncycastle.asn1.ASN1Encodable to) |
org.bouncycastle.asn1.ASN1Object |
toAsn1Object(DumpType dumpType)
Dumps an ASN.1 representation of the object.
|
getTagNumber, setTagNumber
fromBase64, fromHex, parse, prepareDump, toBase64, toBitString, toBytes, toDer, toHex
public static final long serialVersionUID
public AbstractCryptPayloadOperation(org.bouncycastle.asn1.ASN1Encodable object) throws IOException
Create object from ASN.1 code.
object
- the ASN.1 codeIOException
- if parsing of ASN.1 code failsprotected final void parse(org.bouncycastle.asn1.ASN1Encodable to) throws IOException
parse
in class AbstractBlock
IOException
public String dumpValueNotation(String prefix, DumpType dumptype)
dumpValueNotation
in interface Block
public org.bouncycastle.asn1.ASN1Object toAsn1Object(DumpType dumpType) throws IOException
Dumpable
Dumps an ASN.1 representation of the object.
toAsn1Object
in interface Dumpable
dumpType
- the dump type to be usedIOException
- if dumping of the object fails due to an illegal internal state of the
objectpublic abstract 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.