Skip navigation links

Oracle Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10666-03


oracle.security.crypto.cmp
Class NestedMessage

java.lang.Object
  extended by oracle.security.crypto.cmp.PKIMessageBody
      extended by oracle.security.crypto.cmp.NestedMessage

All Implemented Interfaces:
oracle.security.crypto.asn1.ASN1Object, oracle.security.crypto.util.Streamable

public class NestedMessage
extends PKIMessageBody

PKI message body of type Nested Message, containing a sequence of PKIMessage. Used for forwarding by RAs of protected PKI messages.


Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.security.crypto.cmp.PKIMessageBody
PKIMessageBody.Type

 

Constructor Summary
NestedMessage()
          Creat a new NestedMessage.
NestedMessage(java.io.InputStream is)
           
NestedMessage(PKIMessage msg)
          Create a new NestedMessage message body, with the specified PKIMessage as its content.

 

Method Summary
 void addPKIMessage(PKIMessage msg)
          Add a PKIMessage to the NestedMessage
 java.util.Vector getNestedMessage()
          Return the set of the nested PKIMessage as a Vector.
 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()
           

 

Methods inherited from class oracle.security.crypto.cmp.PKIMessageBody
inputInstance, length, output

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

NestedMessage

public NestedMessage()
Creat a new NestedMessage.

NestedMessage

public NestedMessage(PKIMessage msg)
Create a new NestedMessage message body, with the specified PKIMessage as its content.

NestedMessage

public NestedMessage(java.io.InputStream is)
              throws java.io.IOException
Throws:
java.io.IOException

Method Detail

addPKIMessage

public void addPKIMessage(PKIMessage msg)
Add a PKIMessage to the NestedMessage

getNestedMessage

public java.util.Vector getNestedMessage()
Return the set of the nested PKIMessage as a Vector.

getType

public PKIMessageBody.Type getType()
Description copied from class: PKIMessageBody
Returns one of the values defined in PKIMessageBody.Type.
Specified by:
getType in class PKIMessageBody

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

input

public void input(java.io.InputStream is)
           throws java.io.IOException
Initializes this object by reading its encoding from the given input stream.
Throws:
java.io.IOException

Skip navigation links

Oracle Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10666-03


Copyright © 2005, 2011 , Oracle. All rights reserved.