Class Content


public class Content
extends DERClassContextSpecificPr

Content class is DER encoded container, represented in ASN.1 notation according to RFC2630, used for storing contents of CMS object.

content [0] EXPLICIT ANY DEFINED BY contentType

Constructor Summary
Content(byte[] content0, boolean structured0)
          Constructs structured DER encoded object with tag Class Context Specific
Methods inherited from class org.webdocwf.util.smime.der.DERClassContextSpecificPr
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 Content(byte[] content0,
               boolean structured0)
        throws SMIMEException
Constructs structured DER encoded object with tag Class Context Specific
content0 - byte array content for adding to instance of class Content
structured0 - type of content: structured (true) or primitive (false)
SMIMEException - thrown from super class constructor or its addContent method.

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