org.mozilla.jss.pkix.cmc

Class TaggedContentInfo

public class TaggedContentInfo extends Object implements ASN1Value

CMC TaggedContentInfo.
 The definition of TaggedContentInfo comes from RFC 2797 Section 3.6.
 TaggedContentInfo ::= SEQUENCE {
      bodyPartID      BodyPartID,
      contentInfo     ContentInfo}
 
Nested Class Summary
static classTaggedContentInfo.Template
A Template for decoding a TaggedContentInfo.
Constructor Summary
TaggedContentInfo(INTEGER bodyPartID, ContentInfo contentInfo)
Constructs a new TaggedContentInfo from its components.
Method Summary
voidencode(OutputStream ostream)
voidencode(Tag implicitTag, OutputStream ostream)
INTEGERgetBodyPartID()
Returns the bodyPartID field.
ContentInfogetContentInfo()
Returns the contentInfo field.
TaggetTag()
static TaggedContentInfo.TemplategetTemplate()

Constructor Detail

TaggedContentInfo

public TaggedContentInfo(INTEGER bodyPartID, ContentInfo contentInfo)
Constructs a new TaggedContentInfo from its components.

Method Detail

encode

public void encode(OutputStream ostream)

encode

public void encode(Tag implicitTag, OutputStream ostream)

getBodyPartID

public INTEGER getBodyPartID()
Returns the bodyPartID field.

getContentInfo

public ContentInfo getContentInfo()
Returns the contentInfo field.

getTag

public Tag getTag()

getTemplate

public static TaggedContentInfo.Template getTemplate()