GenMsgContent (Bouncy Castle Library 1.52 API Specification)
Date: 2015-03-01

org.bouncycastle.asn1.cmp

## Class GenMsgContent

- java.lang.Object
- - org.bouncycastle.asn1.ASN1Object
  - - org.bouncycastle.asn1.cmp.GenMsgContent

- All Implemented Interfaces:
    ASN1Encodable, Encodable

      public class GenMsgContent
      extends ASN1Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GenMsgContent(InfoTypeAndValue itv)`
    `GenMsgContent(InfoTypeAndValue[] itv)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static GenMsgContent` | `getInstance(java.lang.Object o)`
    `ASN1Primitive` | `toASN1Primitive()` GenMsgContent ::= SEQUENCE OF InfoTypeAndValue
    `InfoTypeAndValue[]` | `toInfoTypeAndValueArray()`

    - ### Methods inherited from class org.bouncycastle.asn1.ASN1Object

      `equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GenMsgContent

          public GenMsgContent(InfoTypeAndValue itv)

    - #### GenMsgContent

          public GenMsgContent(InfoTypeAndValue[] itv)

  - ### Method Detail

    - #### getInstance

          public static GenMsgContent getInstance(java.lang.Object o)

    - #### toInfoTypeAndValueArray

          public InfoTypeAndValue[] toInfoTypeAndValueArray()

    - #### toASN1Primitive

          public ASN1Primitive toASN1Primitive()

           GenMsgContent ::= SEQUENCE OF InfoTypeAndValue

      Specified by:
        `toASN1Primitive` in interface `ASN1Encodable`
      Specified by:
        `toASN1Primitive` in class `ASN1Object`
      Returns:
        a basic ASN.1 object representation.