com.rsa.certj.provider.pki.cmp

Class CMPRevokeResponseMessage

java.lang.Object
  |
  +--com.rsa.certj.spi.pki.PKIMessage
        |
        +--com.rsa.certj.spi.pki.PKIResponseMessage
              |
              +--com.rsa.certj.provider.pki.cmp.CMPResponseCommon
                    |
                    +--com.rsa.certj.provider.pki.cmp.CMPRevokeResponseMessage

public final class CMPRevokeResponseMessage
extends CMPResponseCommon

This class holds information about a revocation response message, rr, being sent to a CMP PKI server. Note: Objects that are passed to a constructor or method of this class, or returned from a method of this class, are shared. No copy is made. It is advisable to make a copy of the object before passing it to a constructor or method of this class or after getting it from a method of this class.

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

 OldCertID

getCertIdAt(int index)

Returns the returned certificate ID at the specified index.

 X509CRL[]

getCRLs()

Returns the CRLs returned in a revocation response message that this object represents.

 PKIStatusInfo

getStatusAt(int index)

Returns the returned status at the specified index.

 int

getStatusCount()

Returns the number of status returned in a revocation response message that this object represents.

 
Methods inherited from class com.rsa.certj.provider.pki.cmp.CMPResponseCommon
getGeneralInfo, getRecipientName, getRecipKID, getRecipNonce, getSenderKID, getSenderName, getSenderNonce
 
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

getCRLs

public X509CRL[] getCRLs()
Returns the CRLs returned in a revocation response message that this object represents.

Returns

An X509CRL array holding the CRLs returned in the revocation response message.

getStatusCount

public int getStatusCount()
Returns the number of status returned in a revocation response message that this object represents.

Returns

An int value indicating how many status is returned in the revocation response message.

getStatusAt

public PKIStatusInfo getStatusAt(int index)
                          throws CMPException
Returns the returned status at the specified index.

Parameters

         index  

An int value indicating the index into the status array received from the CMP server.

Returns

A PKIStatusInfo object returned at the specified index.

Throws

CMPException - If index is out of range.

getCertIdAt

public OldCertID getCertIdAt(int index)
                      throws CMPException
Returns the returned certificate ID at the specified index.

Parameters

         index  

An int value indicating the index into the cert ID array received from the CMP server.

Returns

An OldCertID object returned at the specified index.

Throws

CMPException - If index is out of range.


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