com.netscape.certsrv.connector
Interface IPKIMessage

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IHttpPKIMessage

public interface IPKIMessage
extends java.io.Serializable

Messages that are serialized and go over the wire. It must be serializable, and later will be inherited by CRMF message.

Version:
$Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Method Summary
 void fromRequest(IRequest r)
          Makes a PKIMessage from a request PKIMessage will be sent to wire.
 java.lang.String getReqId()
          Retrieves the request identifer.
 java.lang.String getReqStatus()
          Returns status of request.
 java.lang.String getReqType()
          Retrieves the request type.
 void toRequest(IRequest r)
          Copies contents of PKIMessage to the request PKIMessage is from the wire.
 

Method Detail

getReqStatus

java.lang.String getReqStatus()
Returns status of request.

Returns:
String of request status.

getReqType

java.lang.String getReqType()
Retrieves the request type.

Returns:
String of type of request.

getReqId

java.lang.String getReqId()
Retrieves the request identifer.

Returns:
String of name of request.

fromRequest

void fromRequest(IRequest r)
Makes a PKIMessage from a request PKIMessage will be sent to wire.

Parameters:
r - Request to copy from.

toRequest

void toRequest(IRequest r)
Copies contents of PKIMessage to the request PKIMessage is from the wire.

Parameters:
r - Request to copy to.