Skip navigation links

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

E10666-02


oracle.security.crypto.cmp
Class PKIMessageBody

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

All Implemented Interfaces:
oracle.security.crypto.asn1.ASN1Object, oracle.security.crypto.util.Streamable
Direct Known Subclasses:
CAKeyUpdateAnn, CertAnnouncement, CertConfirm, Confirmation, CRLAnnouncement, ErrorMessage, GeneralMessage, GeneralResponse, KeyRecoveryResponse, NestedMessage, PKCS10CertReq, PKICertRepMessage, PKICertReqMessages, POPChallenge, POPResponse, RevAnnouncement, RevocationRequest, RevocationResponse

public abstract class PKIMessageBody
extends java.lang.Object
implements oracle.security.crypto.asn1.ASN1Object

CMP base class for message bodies.


Nested Class Summary
static class PKIMessageBody.Type
          Type of PKIMessageBody.

 

Constructor Summary
PKIMessageBody()
           

 

Method Summary
abstract  PKIMessageBody.Type getType()
          Returns one of the values defined in PKIMessageBody.Type.
static PKIMessageBody inputInstance(java.io.InputStream is)
          Creates a new CMP PKIMessageBody by reading its encoding from the given input stream.
 int length()
           
 void output(java.io.OutputStream os)
           

 

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

 

Methods inherited from interface oracle.security.crypto.util.Streamable
input

 

Constructor Detail

PKIMessageBody

public PKIMessageBody()

Method Detail

getType

public abstract PKIMessageBody.Type getType()
Returns one of the values defined in PKIMessageBody.Type.

inputInstance

public static PKIMessageBody inputInstance(java.io.InputStream is)
                                    throws java.io.IOException
Creates a new CMP PKIMessageBody by reading its encoding from the given input stream.
Parameters:
is - the input stream.
Throws:
java.io.IOException - If an I/O error occurs during input, or the encoding does not have the correct format.

output

public void output(java.io.OutputStream os)
            throws java.io.IOException
Specified by:
output in interface oracle.security.crypto.util.Streamable
Throws:
java.io.IOException

length

public int length()
Specified by:
length in interface oracle.security.crypto.util.Streamable

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.