Package net.messagevortex.asn1
Class BlendingParameter
java.lang.Object
net.messagevortex.asn1.AbstractBlock
net.messagevortex.asn1.BlendingParameter
- All Implemented Interfaces:
Serializable,Block,Dumpable
Blending Parameter Block representation.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class net.messagevortex.asn1.AbstractBlock
CRLF -
Constructor Summary
ConstructorsConstructorDescriptionCreates a blender parameter set.BlendingParameter(org.bouncycastle.asn1.ASN1Encodable e) Create object from ASN.1 code. -
Method Summary
Modifier and TypeMethodDescriptiondumpValueNotation(String prefix, DumpType dumptype) booleanGets the choice type of the blender parameter.inthashCode()protected final voidparse(org.bouncycastle.asn1.ASN1Encodable to) org.bouncycastle.asn1.ASN1ObjecttoAsn1Object(DumpType dumpType) Dumps an ASN.1 representation of the object.Methods inherited from class net.messagevortex.asn1.AbstractBlock
fromBase64, fromHex, parse, prepareDump, toBase64, toBitString, toBytes, toDer, toHex
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
BlendingParameter
Create object from ASN.1 code.
- Parameters:
e- the ASN.1 code- Throws:
IOException- if parsing of ASN.1 code fails
-
BlendingParameter
Creates a blender parameter set.
- Parameters:
choice- the type of blender- Throws:
IOException- if creation of the symmetric key failed
-
-
Method Details
-
parse
- Specified by:
parsein classAbstractBlock- Throws:
IOException
-
getChoice
Gets the choice type of the blender parameter.
- Returns:
- the choice type
-
dumpValueNotation
- Specified by:
dumpValueNotationin interfaceBlock- Throws:
IOException
-
toAsn1Object
Description copied from interface:DumpableDumps an ASN.1 representation of the object.
- Specified by:
toAsn1Objectin interfaceDumpable- Parameters:
dumpType- the dump type to be used- Returns:
- the ASN.1 string representation of the object
- Throws:
IOException- if dumping of the object fails due to an illegal internal state of the object
-
equals
-
hashCode
public int hashCode()
-