Oracle Security Developer Tools PKI SDK CMP Java API Reference
10g Release 2 (10.1.2.0.2)

B15559-01


oracle.security.crypto.cmp
Class PKIMessageBody

java.lang.Object
  extended byoracle.security.crypto.cmp.PKIMessageBody

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

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

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
Throws:
java.io.IOException

length

public int length()

Oracle Security Developer Tools PKI SDK CMP Java API Reference
10g Release 2 (10.1.2.0.2)

B15559-01


Copyright © 2005 , Oracle. All rights reserved.