Skip navigation links

Oracle Security Developer Tools PKI SDK CMP Java API Reference
11g (11.1.1)

E10666-02


oracle.security.crypto.cmp
Class GeneralMessage

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

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

public class GeneralMessage
extends PKIMessageBody

PKI message body of type General Message.


Nested Class Summary

 

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

 

Constructor Summary
GeneralMessage()
          Create an empty GeneralMessage.
GeneralMessage(oracle.security.crypto.asn1.ASN1ObjectID type)
          Create a GeneralMessage with the specified type and null value.
GeneralMessage(oracle.security.crypto.asn1.ASN1ObjectID type, oracle.security.crypto.asn1.ASN1Object value)
          Create a GeneralMessage with the specified type and value.
GeneralMessage(InfoTypeAndValue info)
          Create a GeneralMessage with the specified InfoTypeAndValue.
GeneralMessage(java.io.InputStream is)
           

 

Method Summary
 void addInfo(oracle.security.crypto.asn1.ASN1ObjectID type)
          Add an ASN1ObjectID type and null value to the data for this message body.
 void addInfo(oracle.security.crypto.asn1.ASN1ObjectID type, oracle.security.crypto.asn1.ASN1Object value)
          Add a pair of ASN1ObjectID tye and ASN1Object value to the data for this message body.
 void addInfo(InfoTypeAndValue info)
          Add an InfoTypeAndValue to this infoList.
 oracle.security.crypto.cert.AttributeTypeAndValueList getInfo()
          Return the list of InfoTypeAndValues in this message body.
 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

GeneralMessage

public GeneralMessage()
Create an empty GeneralMessage.

GeneralMessage

public GeneralMessage(oracle.security.crypto.asn1.ASN1ObjectID type)
Create a GeneralMessage with the specified type and null value.

GeneralMessage

public GeneralMessage(oracle.security.crypto.asn1.ASN1ObjectID type,
                      oracle.security.crypto.asn1.ASN1Object value)
Create a GeneralMessage with the specified type and value.

GeneralMessage

public GeneralMessage(InfoTypeAndValue info)
Create a GeneralMessage with the specified InfoTypeAndValue.

GeneralMessage

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

Method Detail

addInfo

public void addInfo(InfoTypeAndValue info)
Add an InfoTypeAndValue to this infoList. replacing any previously defined InfoTypeandValue for the given type.

addInfo

public void addInfo(oracle.security.crypto.asn1.ASN1ObjectID type)
Add an ASN1ObjectID type and null value to the data for this message body.

addInfo

public void addInfo(oracle.security.crypto.asn1.ASN1ObjectID type,
                    oracle.security.crypto.asn1.ASN1Object value)
Add a pair of ASN1ObjectID tye and ASN1Object value to the data for this message body.

getInfo

public oracle.security.crypto.cert.AttributeTypeAndValueList getInfo()
Return the list of InfoTypeAndValues in this message body.

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 Security Developer Tools PKI SDK CMP Java API Reference
11g (11.1.1)

E10666-02


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