|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.webdocwf.util.smime.der.DERObject | +--org.webdocwf.util.smime.der.DERSequencePr | +--org.webdocwf.util.smime.cms.ContentInfo
ContentInfo class is DER encoded content info represented in ASN.1 notation
according to RFC2630. This class is top level class in construction of CMS
objects (signed or encrypted)
Constructor Summary | |
ContentInfo()
Constructs empty Content Info. |
Method Summary | |
void |
addContent(byte[] cont0)
Adds content to Content Info |
void |
addContentType(byte[] type0)
Adds Content Type to Content Info |
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 ContentInfo() throws SMIMEException
SMIMEException
- thrown from super class.Method Detail |
public void addContentType(byte[] type0) throws SMIMEException
type0
- Content Type represented as byte arraySMIMEException
- if order of adding components is wrong. Also, it
can be thrown from super class addContent method.public void addContent(byte[] cont0) throws SMIMEException
addContent
in class DERSequencePr
cont0
- Content represented as byte arraySMIMEException
- if order of adding components is wrong. Also, it
can be thrown from super class addContent method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |