Package net.messagevortex.asn1
Class BlendingSpec
java.lang.Object
net.messagevortex.asn1.AbstractBlock
net.messagevortex.asn1.BlendingSpec
- All Implemented Interfaces:
Serializable,Block,Dumpable
Represents a the Blending specification of the router block.
- See Also:
-
Field Summary
FieldsFields inherited from class net.messagevortex.asn1.AbstractBlock
CRLF -
Constructor Summary
ConstructorsConstructorDescriptionBlendingSpec(String blendingEndpointAddress) BlendingSpec(org.bouncycastle.asn1.ASN1Encodable to) Create object from ASN.1 code. -
Method Summary
Modifier and TypeMethodDescriptiondumpValueNotation(String prefix, DumpType dumpType) getMedia()protected final voidparse(org.bouncycastle.asn1.ASN1Encodable to) setBlendingType(String blendingType) Sets the media type of the blender spec.Sets the media type of the blender spec.setRecipientAddress(String recipientAddress) sets the receiver address of the blender spec.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
-
BlendingSpec
Create object from ASN.1 code.
- Parameters:
to- the ASN.1 code- Throws:
IOException- if parsing of ASN.1 code fails
-
BlendingSpec
-
-
Method Details
-
parse
- Specified by:
parsein classAbstractBlock- 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
-
dumpValueNotation
- Specified by:
dumpValueNotationin interfaceBlock- Throws:
IOException
-
getRecipientAddress
-
setRecipientAddress
sets the receiver address of the blender spec.
- Parameters:
recipientAddress- the encoded recipient address- Returns:
- the previously set recipient address
-
getMedia
-
setMedia
Sets the media type of the blender spec.
- Parameters:
media- the named media to set- Returns:
- the previously set media
-
getBlendingType
-
setBlendingType
Sets the media type of the blender spec.
- Parameters:
blendingType- the blender type as string- Returns:
- the previously set blender type
-