public class NestedMessage extends PKIMessageBody
PKIMessage. Used for forwarding by RAs of protected PKI messages.PKIMessageBody.Type| Constructor and Description | 
|---|
| NestedMessage()Creat a new  NestedMessage. | 
| NestedMessage(java.io.InputStream is) | 
| NestedMessage(PKIMessage msg)Create a new  NestedMessagemessage body, with the specifiedPKIMessageas its content. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addPKIMessage(PKIMessage msg)Add a  PKIMessageto theNestedMessage | 
| java.util.Vector | getNestedMessage()Return the set of the nested  PKIMessageas aVector. | 
| PKIMessageBody.Type | getType()Returns one of the values defined in  PKIMessageBody.Type. | 
| void | input(java.io.InputStream is)Initializes this object by reading its encoding from the given input stream. | 
| java.lang.String | toString() | 
inputInstance, length, outputpublic NestedMessage()
NestedMessage.public NestedMessage(PKIMessage msg)
NestedMessage message body, with the specified PKIMessage as its content.
public NestedMessage(java.io.InputStream is)
              throws java.io.IOException
java.io.IOExceptionpublic void addPKIMessage(PKIMessage msg)
PKIMessage to the NestedMessagepublic java.util.Vector getNestedMessage()
PKIMessage as a Vector.public PKIMessageBody.Type getType()
PKIMessageBodyPKIMessageBody.Type.getType in class PKIMessageBodypublic java.lang.String toString()
toString in class java.lang.Object
public void input(java.io.InputStream is)
           throws java.io.IOException
java.io.IOException