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