com.rsa.certj.provider.pki.cmp

Class CMPRevokeRequestMessage

java.lang.Object
  |
  +--com.rsa.certj.spi.pki.PKIMessage
        |
        +--com.rsa.certj.spi.pki.PKIRequestMessage
              |
              +--com.rsa.certj.provider.pki.cmp.CMPRequestCommon
                    |
                    +--com.rsa.certj.provider.pki.cmp.CMPRevokeRequestMessage

public final class CMPRevokeRequestMessage
extends com.rsa.certj.provider.pki.cmp.CMPRequestCommon

This class holds information about a revocation request 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.PKIRequestMessage
PKI_POP_ENCRYPTION, PKI_POP_KEY_AGREE, PKI_POP_RA_VERIFIED, PKI_POP_SIGNATURE
 
Fields inherited from class com.rsa.certj.spi.pki.PKIMessage
WRAP_ENVELOPE, WRAP_ENVELOPE_THEN_SIGN, WRAP_NONE, WRAP_SIGN, WRAP_SIGN_THEN_ENVELOPE
 

Constructor Summary

CMPRevokeRequestMessage(X509Certificate[] certsToBeRevoked, X509V3Extensions[] crlEntryExtensionsList)

Constructs a CMPRevokeRequestMessage object to revoke multiple certificates.

CMPRevokeRequestMessage(X509Certificate certToBeRevoked, X509V3Extensions crlEntryExtensions)

Constructs a CMPRevokeRequestMessage object to revoke a single certificate.

 
Methods inherited from class com.rsa.certj.spi.pki.PKIRequestMessage
getCertificateTemplate, getPopType, getRegInfo, setPopType
 
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
 

Constructor Detail

CMPRevokeRequestMessage

public CMPRevokeRequestMessage(X509Certificate[] certsToBeRevoked,
                               X509V3Extensions[] crlEntryExtensionsList)
                        throws InvalidParameterException
Constructs a CMPRevokeRequestMessage object to revoke multiple certificates.

Parameters

         certsToBeRevoked  

An X509Certificate array each element of which contains information about a certificate for which revocation is requested.

         crlEntryExtensionsList  

An X509V3Extensions array each element of which contains a CRL entry extensions for the corresponding element of the certsToBeRevoked array.

Throws

InvalidParameterException - If any argument is invalid.

CMPRevokeRequestMessage

public CMPRevokeRequestMessage(X509Certificate certToBeRevoked,
                               X509V3Extensions crlEntryExtensions)
                        throws InvalidParameterException
Constructs a CMPRevokeRequestMessage object to revoke a single certificate.

Parameters

         certToBeRevoked  

An X509Certificate object which contains information about a certificate for which revocation is requested.

         crlEntryExtensions  

An X509V3Extensions object which contains a CRL entry extensions for the certToBeRevoked object.

Throws

InvalidParameterException - If any argument is invalid.


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