NestedMessageContent (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.asn1.cmp

## Class NestedMessageContent

- java.lang.Object
- - org.bouncycastle.asn1.ASN1Object
  - - org.bouncycastle.asn1.cmp.PKIMessages
    - - org.bouncycastle.asn1.cmp.NestedMessageContent

- All Implemented Interfaces:
    ASN1Encodable, Encodable

      public class NestedMessageContent
      extends PKIMessages

  NestedMessageContent ::= PKIMessages

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NestedMessageContent(ASN1Sequence seq)`
    `NestedMessageContent(PKIMessage msg)`
    `NestedMessageContent(PKIMessage[] msgs)`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static NestedMessageContent` | `getInstance(java.lang.Object o)`

    - ### Methods inherited from class org.bouncycastle.asn1.cmp.PKIMessages

      `toASN1Primitive, toPKIMessageArray`

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

      `encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode`

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

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

- - ### Constructor Detail

    - #### NestedMessageContent

          public NestedMessageContent(PKIMessage msg)

    - #### NestedMessageContent

          public NestedMessageContent(PKIMessage[] msgs)

    - #### NestedMessageContent

          public NestedMessageContent(ASN1Sequence seq)

  - ### Method Detail

    - #### getInstance

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