org.webdocwf.util.smime.der
Class DERClassContextSpecificPr
java.lang.Object
|
+--org.webdocwf.util.smime.der.DERObject
|
+--org.webdocwf.util.smime.der.DERClassContextSpecificPr
- Direct Known Subclasses:
- Certificates, Content, DERClassContextSpecific, SignedAttributes
- public class DERClassContextSpecificPr
- extends DERObject
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.
Constructor Summary |
DERClassContextSpecificPr(int type0,
boolean structured0)
Constructs the structured or primitive DERClassContextSpecificPr object |
Method Summary |
protected void |
addContent(byte[] content0)
Adds content to DER encoded Context Specific Class Type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DERClassContextSpecificPr
public DERClassContextSpecificPr(int type0,
boolean structured0)
throws SMIMEException
- Constructs the structured or primitive DERClassContextSpecificPr object
- Parameters:
type0
- define value of identifier octetstructured0
- used for defining structured complexity of Context Specific
class (true = structured, and false = primitive)- Throws:
SMIMEException
- thrown in super class constructor.
addContent
protected void addContent(byte[] content0)
throws SMIMEException
- Adds content to DER encoded Context Specific Class Type
- Parameters:
content0
- content for adding to Context Specific Class Type- Throws:
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.