public class CardMSCertReqInfo extends EntrustPKIXCMPInjectedCertReqInfo
It is a simple data structure that allows getting/setting of all the various data components it contains. These components are the following:
For details on AA mode and supported extensions, please refer to the class
documentation of EntrustPKIXCMPInjectedCertReqInfo.
CMPForCardMS,
EntrustPKIXCMPInjectedCertReqInfo| Constructor and Description |
|---|
CardMSCertReqInfo(EntrustCertInfoId certDefnId)
A constructor; creates a new
CardMSCertReqInfo object
containing a certificate definition. |
CardMSCertReqInfo(EntrustCertInfoId certDefnId,
java.security.PublicKey publicKey)
A constructor; creates a new
CardMSCertReqInfo object
containing a certificate definition and public key. |
CardMSCertReqInfo(EntrustCertInfoId certDefnId,
java.security.PublicKey publicKey,
POPOSigningKey popoSigningKey)
A constructor; creates a new
CardMSCertReqInfo object
containing a certificate definition, public key, and proof of possession
for a signing private key. |
CardMSCertReqInfo(EntrustCertInfoId certDefnId,
java.security.PublicKey publicKey,
POPOSigningKey popoSigningKey,
X509Extensions x509Extensions)
A constructor; creates a new
CardMSCertReqInfo object
containing a certificate definition, public key,proof of possession for a
signing private key, and X.509 certificate extensions. |
CardMSCertReqInfo(PKIArchiveOptions pkiArchiveOptions,
EntrustCertInfoId certDefnId,
java.security.PublicKey publicKey)
A constructor; creates a new
CardMSCertReqInfo object
containing a certificate definition, public key, and private key archive
information. |
CardMSCertReqInfo(PKIArchiveOptions pkiArchiveOptions,
EntrustCertInfoId certDefnId,
java.security.PublicKey publicKey,
X509Extensions x509Extensions)
A constructor; creates a new
CardMSCertReqInfo object
containing a certificate definition, public key, private key archive
information, and X.509 certificate extensions. |
| Modifier and Type | Method and Description |
|---|---|
PKIArchiveOptions |
getPKIArchiveOptions()
Returns archive information pertaining to the private key.
|
POPOSigningKey |
getPOPOSigningKey()
Returns the proof of possession of a signing private key.
|
void |
setPKIArchiveOptions(PKIArchiveOptions pkiArchiveOptions)
Sets the archive information pertaining to the private key.
|
void |
setPOPOSigningKey(POPOSigningKey popoSigningKey)
Sets the proof of possession of a signing private key.
|
void |
setPublicKey(java.security.PublicKey publicKey)
Sets the public key for which certificate is being requested.
|
getCertDefnId, getOptionalValidity, getPrivateKey, getPublicKey, getX509Extensions, setOptionalValidity, setPrivateKey, setX509Extensionspublic CardMSCertReqInfo(EntrustCertInfoId certDefnId)
CardMSCertReqInfo object
containing a certificate definition.certDefnId - the identifier for the certificate definition that the
injected public key corresponds topublic CardMSCertReqInfo(EntrustCertInfoId certDefnId, java.security.PublicKey publicKey)
CardMSCertReqInfo object
containing a certificate definition and public key.
Allows the public key to be generated by the CardMS and injected into a PKIX-CMP operation. When used in an Initialization or Key Update/Certification operation, the public key must be set for a certificate definition that indicates client key generation. When used in a Recovery or Certificate Store Synchronization operation, the public key must be set for a certificate definition that indicates client key generation and no key backup.
certDefnId - the identifier for the certificate definition that the
injected public key corresponds topublicKey - the public key for which certification is being requested
(OPTIONAL)public CardMSCertReqInfo(EntrustCertInfoId certDefnId, java.security.PublicKey publicKey, POPOSigningKey popoSigningKey)
CardMSCertReqInfo object
containing a certificate definition, public key, and proof of possession
for a signing private key.
Allows the public key to be generated by the CardMS and injected into a PKIX-CMP operation. When used in an Initialization or Key Update/Certification operation, the public key must be set for a certificate definition that indicates client key generation. When used in a Recovery or Certificate Store Synchronization operation, the public key must be set for a certificate definition that indicates client key generation and no key backup.
Proof of possession must be set for a signing/verification key pair when using PKIX-CMP in normal mode (not AA mode). It is required by the EASM to demonstrate that the CMS actually has the private signing key. Proof of possession is not required using PKIX-CMP in AA mode; however, if provided it will be checked and enforced.
certDefnId - the identifier for the certificate definition that the
injected public key corresponds topublicKey - the public key for which certification is being requested
(OPTIONAL)popoSigningKey - proof of possession of a signing private key (OPTIONAL)public CardMSCertReqInfo(EntrustCertInfoId certDefnId, java.security.PublicKey publicKey, POPOSigningKey popoSigningKey, X509Extensions x509Extensions)
CardMSCertReqInfo object
containing a certificate definition, public key,proof of possession for a
signing private key, and X.509 certificate extensions.
Allows the public key to be generated by the CardMS and injected into a PKIX-CMP operation. When used in an Initialization or Key Update/Certification operation, the public key must be set for a certificate definition that indicates client key generation. When used in a Recovery or Certificate Store Synchronization operation, the public key must be set for a certificate definition that indicates client key generation and no key backup.
Proof of possession must be set for a signing/verification key pair when using PKIX-CMP in normal mode (not AA mode). It is required by the EASM to demonstrate that the CMS actually has the private signing key. Proof of possession is not required using PKIX-CMP in AA mode; however, if provided it will be checked and enforced.
Requesting X.509 extensions is not permitted when using PKIX-CMP in
normal mode (not AA mode). For details on AA mode and supported
extensions, please refer to the class documentation of
EntrustPKIXCMPInjectedCertReqInfo.
certDefnId - the identifier for the certificate definition that the
injected public key corresponds topublicKey - the public key for which certification is being requested
(OPTIONAL)popoSigningKey - proof of possession of a signing private key (OPTIONAL)x509Extensions - X.509 extensions (including extension values) that are
requested to be included in the end user certificate
(OPTIONAL)public CardMSCertReqInfo(PKIArchiveOptions pkiArchiveOptions, EntrustCertInfoId certDefnId, java.security.PublicKey publicKey)
CardMSCertReqInfo object
containing a certificate definition, public key, and private key archive
information.
Allows the public key to be generated by the CardMS and injected into a PKIX-CMP operation. When used in an Initialization or Key Update/Certification operation, the public key must be set for a certificate definition that indicates client key generation. When used in a Recovery or Certificate Store Synchronization operation, the public key must be set for a certificate definition that indicates client key generation and no key backup.
Archive information allows the client to provide a copy of the client generated private key to the server for backup. If not provided, no backup is assumed.
pkiArchiveOptions - archive information pertaining to the private key (OPTIONAL)certDefnId - the identifier for the certificate definition that the
injected public key corresponds topublicKey - the public key for which certification is being requested
(OPTIONAL)public CardMSCertReqInfo(PKIArchiveOptions pkiArchiveOptions, EntrustCertInfoId certDefnId, java.security.PublicKey publicKey, X509Extensions x509Extensions)
CardMSCertReqInfo object
containing a certificate definition, public key, private key archive
information, and X.509 certificate extensions.
Allows the public key to be generated by the CardMS and injected into a PKIX-CMP operation. When used in an Initialization or Key Update/Certification operation, the public key must be set for a certificate definition that indicates client key generation. When used in a Recovery or Certificate Store Synchronization operation, the public key must be set for a certificate definition that indicates client key generation and no key backup.
Archive information allows the client to provide a copy of the client generated private key to the server for backup. If not provided, no backup is assumed.
Requesting X.509 extensions is not permitted when using PKIX-CMP in
normal mode (not AA mode). For details on AA mode and supported
extensions, please refer to the class documentation of
EntrustPKIXCMPInjectedCertReqInfo.
pkiArchiveOptions - archive information pertaining to the private key (OPTIONAL)certDefnId - the identifier for the certificate definition that the
injected public key corresponds topublicKey - the public key for which certification is being requested
(OPTIONAL)x509Extensions - X.509 extensions (including extension values) that are
requested to be included in the end user certificate
(OPTIONAL)public void setPublicKey(java.security.PublicKey publicKey)
Allows the public key to be generated by the CardMS and injected into a PKIX-CMP operation. When used in an Initialization or Key Update/Certification operation, the public key must be set for a certificate definition that indicates client key generation. When used in a Recovery or Certificate Store Synchronization operation, the public key must be set for a certificate definition that indicates client key generation and no key backup.
setPublicKey in class EntrustPKIXCMPInjectedCertReqInfopublicKey - the public key for which certification is being requested
(OPTIONAL)EntrustPKIXCMPInjectedCertReqInfo.getPublicKey()public void setPOPOSigningKey(POPOSigningKey popoSigningKey)
setPOPOSigningKey in class EntrustPKIXCMPInjectedCertReqInfopopoSigningKey - proof of possession of a signing private key (OPTIONAL)getPOPOSigningKey()public void setPKIArchiveOptions(PKIArchiveOptions pkiArchiveOptions)
setPKIArchiveOptions in class EntrustPKIXCMPInjectedCertReqInfopkiArchiveOptions - archive information pertaining to the private key (OPTIONAL)getPKIArchiveOptions()public POPOSigningKey getPOPOSigningKey()
Proof of possession must be set for a signing/verification key pair when using PKIX-CMP in normal mode (not AA mode). It is required by the EASM to demonstrate that the CMS actually has the private signing key. Proof of possession is not required using PKIX-CMP in AA mode; however, if provided it will be checked and enforced.
getPOPOSigningKey in class EntrustPKIXCMPInjectedCertReqInfopublic PKIArchiveOptions getPKIArchiveOptions()
Archive information must be provided to the EASM for each certificate
that is requested. When not set, a default structure indicating that the
private key is not backed up is sent to the server. Currently, both the
encryptedPrivKey and archiveRemGenPrivKey
formats of archive information are supported. For a client generated
private key that requires backup, the encryptedPrivKey
format is used to indicate that backup is required and securely transfer
the private key to the server for backup. For a private key that is
server generated or does not require backup, the
archiveRemGenPrivKey format is used to indicate whether or
not the key should be backed up by the server.
getPKIArchiveOptions in class EntrustPKIXCMPInjectedCertReqInfo