com.rsa.certj.provider.pki.cmp

Class CMPKeyUpdateRequestMessage

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.CMPCertRequestCommon
                          |
                          +--com.rsa.certj.provider.pki.cmp.CMPKeyUpdateRequestMessage

public final class CMPKeyUpdateRequestMessage
extends CMPCertRequestCommon

This class holds information about a key update request message, kur, 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

CMPKeyUpdateRequestMessage(CertTemplate certTemplate)

Constructs a CMPKeyUpdateRequestMessage object for a key update request message to renew an existing certificate.

CMPKeyUpdateRequestMessage(CertTemplate certTemplate, PKIArchiveOptions archiveOptions)

Constructs a CMPKeyUpdateRequestMessage object for a key update request message to renew an existing certificate and to archive the new the private key.

 
Methods inherited from class com.rsa.certj.provider.pki.cmp.CMPCertRequestCommon
getCertificateTemplate
 
Methods inherited from class com.rsa.certj.spi.pki.PKIRequestMessage
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

CMPKeyUpdateRequestMessage

public CMPKeyUpdateRequestMessage(CertTemplate certTemplate)
                           throws InvalidParameterException
Constructs a CMPKeyUpdateRequestMessage object for a key update request message to renew an existing certificate.

Parameters

         certTemplate  

A CertTemplate object indicating the attributes of the certificate being requested. The template contains selected attributes that the certificate being requested should have, for example, the subject name that should be used in the new certificate and the public key for which the certificate should be issued.

Throws

InvalidParameterException - If any argument is invalid.

CMPKeyUpdateRequestMessage

public CMPKeyUpdateRequestMessage(CertTemplate certTemplate,
                                  PKIArchiveOptions archiveOptions)
                           throws InvalidParameterException
Constructs a CMPKeyUpdateRequestMessage object for a key update request message to renew an existing certificate and to archive the new the private key.

Parameters

         certTemplate  

A CertTemplate object indicating the attributes of the certificate being requested. The template contains selected attributes that the certificate being requested should have, for example, the subject name that should be used in the new certificate and the public key for which the certificate should be issued.

         archiveOptions  

A PKIArchiveOptions object that contains information needed to establish an archive of the private key corresponding to the public key of this request.

Throws

InvalidParameterException - If any argument is invalid.


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