public class DERClassContextSpecificPr extends DERObject(Code)
DERClassContextSpecificPr can be both, primitive or structured type of DER
encoded object with the context-specific class tag (part of object Identifier
Octet) in ASN.1 notation. Difference bettween DERClassContextSpecific and
DERClassContextSpecificPr is that class DERClassContextSpecific has public
method addContent. Also, DERClassContextSpecific extends it's super class
DERClassContextSpecificPr.
public DERClassContextSpecificPr(int type0, boolean structured0) throws SMIMEException(Code)
Constructs the structured or primitive DERClassContextSpecificPr object
Parameters: type0 - define value of identifier octet Parameters: structured0 - used for defining structured complexity of Context Specificclass (true = structured, and false = primitive) exception: SMIMEException - thrown in super class constructor.
Adds content to DER encoded Context Specific Class Type
Parameters: content0 - content for adding to Context Specific Class Type exception: SMIMEException - when adding content to primitiveDERClassContextSpecificPr object is performed more than once, or thrown insuper class method addContent.
Methods inherited from org.enhydra.oyster.der.DERObject