|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.rsa.certj.spi.pki.PKIMessage | +--com.rsa.certj.spi.pki.PKIRequestMessage
This class is a subclass of PKIMessage
that
represents certification-request messages. It contains
the PKI message information that is specific to PKI
certification-request messages. Note that not all of the fields
of the class are used by every service provider.
Field Summary |
|
static int |
PKI_POP_ENCRYPTION
Indicates that proof-of-possession is provided by encrypted data. |
static int |
PKI_POP_KEY_AGREE
Indicates that proof-of-possession is provided by key agreement. |
static int |
PKI_POP_RA_VERIFIED
Indicates that proof-of-possession is verified by a registration authority. |
static int |
PKI_POP_SIGNATURE
Indicates that proof-of-possession is provided by 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 |
|
PKIRequestMessage(Certificate certificateTemplate,
Properties regInfo)
Constructs a |
Method Summary |
|
getCertificateTemplate()
Returns a template for the contents of the new certificate, which specifies the fields that you want the new certificate to have. |
|
int |
getPopType()
Returns the type of proof-of-possession (POP) information to be included in the certification request message. |
getRegInfo()
Returns supplementary information that is required to fulfill a certification request. |
|
void |
setPopType(int popType)
Sets the type of proof-of-possession (POP) information to be included in the certification request message to popType. |
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 |
Field Detail |
public static final int PKI_POP_RA_VERIFIED
public static final int PKI_POP_SIGNATURE
public static final int PKI_POP_ENCRYPTION
public static final int PKI_POP_KEY_AGREE
Constructor Detail |
public PKIRequestMessage(Certificate certificateTemplate, Properties regInfo)
PKIRequestMessage
object for
requesting a certificate. The template in
certificateTemplate specifies the fields that
the new certificate should have. The registration
information provided in regInfo must comply
with the requirements of the PKI server provider
for the request to be successful.Parameters
certificateTemplate | A | ||
regInfo | A |
See Also
setPopType(int)
PKIMessage.PKIMessage()
Method Detail |
public int getPopType()
PKI_POP_RA_VERIFIED
,
PKI_POP_SIGNATURE
,
PKI_POP_ENCRYPTION
, and
PKI_POP_KEY_AGREE
. These values were previously
defined in this class.
Returns
int
value indicating the POP type of
this object.public void setPopType(int popType)
PKI_POP_RA_VERIFIED
,
PKI_POP_SIGNATURE
,
PKI_POP_ENCRYPTION
, and
PKI_POP_KEY_AGREE
. These values were previously
defined in this class.Parameters
popType | An |
public Certificate getCertificateTemplate()
Returns
Certificate
that contains selected fields
of the certificate to be requested.public Properties getRegInfo()
Returns
Properties
object that contains
registration information.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |