com.rsa.certj.provider.pki.cmp
Class CMPCertRequestMessage
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.CMPCertRequestMessage
- public final class CMPCertRequestMessage
- extends CMPCertRequestCommon
This class holds information about a certification request
message, cr, 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.
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 |
CMPCertRequestMessage
public CMPCertRequestMessage(CertTemplate certTemplate)
throws InvalidParameterException
- Constructs a
CMPCertRequestMessage
object
using a given certTemplate.
Parameters
| certTemplate | | A CertTemplate
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.
CMPCertRequestMessage
public CMPCertRequestMessage(CertTemplate certTemplate,
PKIArchiveOptions archiveOptions)
throws InvalidParameterException
- Constructs a
CMPCertRequestMessage
object
for a certification request message when asking for
the server to archive the private key.
Parameters
| certTemplate | | A CertTemplate
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