com.rsa.certj.provider.pki.cmp

Class CMPResponseCommon

java.lang.Object
  |
  +--com.rsa.certj.spi.pki.PKIMessage
        |
        +--com.rsa.certj.spi.pki.PKIResponseMessage
              |
              +--com.rsa.certj.provider.pki.cmp.CMPResponseCommon
Direct Known Subclasses:
CMPCertResponseCommon, CMPConfirmMessage, CMPErrorMessage, CMPRevokeResponseMessage

public abstract class CMPResponseCommon
extends PKIResponseMessage

This class holds information about a response message being received from a CMP PKI server.

Copyright © RSA Security Inc., 2000-2001. All rights reserved.


Fields inherited from class com.rsa.certj.spi.pki.PKIMessage
WRAP_ENVELOPE, WRAP_ENVELOPE_THEN_SIGN, WRAP_NONE, WRAP_SIGN, WRAP_SIGN_THEN_ENVELOPE
 

Method Summary

 TypeAndValue[]

getGeneralInfo()

Returns the general info associated with this object.

 GeneralName

getRecipientName()

Returns the recipient name associated with this object.

 byte[]

getRecipKID()

Returns the recipient KID associated with this object.

 byte[]

getRecipNonce()

Returns the recipient nonce associated with this object.

 byte[]

getSenderKID()

Returns the sender KID associated with this object.

 GeneralName

getSenderName()

Returns the sender name associated with this object.

 byte[]

getSenderNonce()

Returns the sender nonce associated with this object.

 
Methods inherited from class com.rsa.certj.spi.pki.PKIResponseMessage
getCACerts, getCertificate, getPrivateKey, getRegInfo, getStatusInfo, setCACerts, setCertificate, setPrivateKey, setRegInfo
 
Methods inherited from class com.rsa.certj.spi.pki.PKIMessage
getEncryptionName, getEncryptionParams, getExtraCerts, getExtraCRLs, getFreeText, getMessageTime, getProviderData, getRecipient, getSender, getTransactionID, getVersion, getWrapType, setExtraCerts, setExtraCRLs, setFreeText, setMessageTime, setProviderData, setTransactionID, setVersion, setWrapInfo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSenderName

public GeneralName getSenderName()
Returns the sender name associated with this object.

Returns

A GeneralName object holding the sender name associated with this object.

getRecipientName

public GeneralName getRecipientName()
Returns the recipient name associated with this object.

Returns

A GeneralName object holding the recipient name associated with this object.

getSenderKID

public byte[] getSenderKID()
Returns the sender KID associated with this object.

Returns

A byte array holding the sender KID associated with this object.

getRecipKID

public byte[] getRecipKID()
Returns the recipient KID associated with this object.

Returns

A byte array holding the recipient KID associated with this object.

getSenderNonce

public byte[] getSenderNonce()
Returns the sender nonce associated with this object.

Returns

A byte array holding the sender nonce associated with this object.

getRecipNonce

public byte[] getRecipNonce()
Returns the recipient nonce associated with this object.

Returns

A byte array holding the recipient nonce associated with this object.

getGeneralInfo

public TypeAndValue[] getGeneralInfo()
Returns the general info associated with this object.

Returns

A byte array holding the general info associated with this object.


RSA BSAFE ® Cert-J 2.1.1 001-047007-211-001-000