com.rsa.certj.provider.pki.cmp

Class CMPInitRequestMessage

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.CMPInitRequestMessage

public final class CMPInitRequestMessage
extends CMPCertRequestCommon

This class holds information about an initialization request message, ir, 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

CMPInitRequestMessage(CertTemplate certTemplate)

Constructs a CMPInitRequestMessage object using a given certTemplate.

CMPInitRequestMessage(CertTemplate certTemplate, PKIArchiveOptions archiveOptions)

Constructs a CMPInitRequestMessage object for an initialization request message when asking for the server to archive 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

CMPInitRequestMessage

public CMPInitRequestMessage(CertTemplate certTemplate)
                      throws InvalidParameterException
Constructs a CMPInitRequestMessage object using a given certTemplate.

Parameters

         certTemplate  

A CertTemplate object indicating the attributes of the certificate being requested. The template contains selected attributes that the new 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 new certificate should be issued.

Throws

InvalidParameterException - If any argument is invalid.

CMPInitRequestMessage

public CMPInitRequestMessage(CertTemplate certTemplate,
                             PKIArchiveOptions archiveOptions)
                      throws InvalidParameterException
Constructs a CMPInitRequestMessage object for an initialization request message when asking for the server to archive the private key.

Parameters

         certTemplate  

A CertTemplate object indicating the attributes of the certificate being requested. The template contains selected attributes that the new 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 new 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