Class DERClassContextSpecific


public class DERClassContextSpecific
extends DERClassContextSpecificPr

DERClassContextSpecific 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.

Constructor Summary
DERClassContextSpecific(int type0, boolean structured0)
          Constructs the structured or primitive DERClassContextSpecific object
Method Summary
 void addContent(byte[] content0)
          Adds content to DER encoded Context Specific Class Type
Methods inherited from class org.webdocwf.util.smime.der.DERObject
getContentOctets, getContentPartSize, getDEREncoded, getIdentifierOctet, getLengthOctets, getLengthPartSize, getTagClassType, getTagComplexity, getTagTypeNumber, getTotalSize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public DERClassContextSpecific(int type0,
                               boolean structured0)
                        throws SMIMEException
Constructs the structured or primitive DERClassContextSpecific object
type0 - define value of identifier octet
structured0 - used for defining structured complexity of Context Specific class (true means structured, and false means primitive)
SMIMEException - thrown in super class constructor.
Method Detail


public void addContent(byte[] content0)
                throws SMIMEException
Adds content to DER encoded Context Specific Class Type
addContent in class DERClassContextSpecificPr
content0 - content for adding to Context Specific Class Type
SMIMEException - when adding content to primitive DERClassContextSpecificPr object is performed more than once, or thrown in super class method addContent.

Copyright © 2002-2002 Together Teamlösungen. All Rights Reserved.