| RSA BSAFE CERT-J |
Certificate Management Components for Java |
| Javadoc |
 
![]() |
In the current release, CMP PKI Service Provider will only support the following nine types of PKI messages: ir, ip, cr, cp, rr, rp, certconf, pkiconf and error.
Inheritance diagram for CMP:

Public Methods | |
| CMP (String name, InputStream configStream) throws InvalidParameterException | |
Constructs a CMP object, using a configStream that is given as an InputStream. More... | |
| CMP (String name, File configFile) throws InvalidParameterException | |
Constructs a CMP object, using a configFile that is given as a File. More... | |
| CMP (String name, String configFileName) throws InvalidParameterException | |
Constructs a CMP object using a configFileName that is given as a String. More... | |
| synchronized void CMP:: | setCMPTCPOptions (int cmptcpFlags, int pollDuration) |
| Sets cmptcp protocol specific options. More... | |
| ProviderImplementation CMP:: | instantiate (CertJ certJ) throws ProviderManagementException |
Creates a ProviderImplementation object that handles CMP PKI SPI methods. More... | |
| void CMP:: | saveMessage (byte[] bytes, PKIMessage message, ProtectInfo protectInfo) throws CMPException |
| Does not do anything. More... | |
| void CMP:: | saveCertificate (PKIResponseMessage response) throws CMPException |
| Does not do anything. More... | |
| void CMP:: | saveData (byte[] data, String fileName) throws CMPException |
| Does not do anything. More... | |
Static Public Attributes | |
| final int CMP:: | CMP1999 |
| Indicates CMP version 1, which is not supported. | |
| final int CMP:: | CMP2000 |
| Indicates CMP version 2, which is the supported version. | |
| final int CMP:: | DEFAULT_CMPTCP_PORT |
| Indicates the default value used for a cmptcp port. | |
| final int CMP:: | CMPTCP_ERROR_NONE |
| Indicates that no error has occurred. | |
| final int CMP:: | CMPTCP_ERROR_VERSION |
| Indicates that CMP version is wrong. | |
| final int CMP:: | CMPTCP_ERROR_CLIENT |
| Indicates a client-side error. | |
| final int CMP:: | CMPTCP_ERROR_MSGTYPE |
| Indicates that the type of a message is wrong. | |
| final int CMP:: | CMPTCP_ERROR_POLLID |
| Indicates the poll ID is invalid. | |
| final int CMP:: | CMPTCP_ERROR_SERVER |
| Indicates a server-side error. | |
| final int CMP:: | CMPTCP_FLAGS_CLOSE_CONN |
| Indicates that it will ask the server to close the connection after it sends a response. More... | |
| final int CMP:: | CMPTCP_FLAGS_NO_AUTOPOLL |
| Indicates that it does not send a polling request message when a polling response message is received from the server. More... | |
Static Protected Methods | |
| byte [] CMP:: | derEncodeProtectedPart (byte[] headerDER, int headerOffset, int headerLen, byte[] bodyDER, int bodyOffset, int bodyLen) throws CMPException |
| PKIProtection ::= BIT STRING ProtectedPart ::= SEQUENCE { header PKIHeader, body PKIBody }. | |
Static Protected Attributes | |
| final byte [] CMP:: | PASSWORD_BASED_MAC_OID |
| PasswordBasedMac ::= OBJECT IDENTIFIER --{1 2 840 113533 7 66 13}. | |
|
||||||||||||
|
Constructs a
The contents of the resource pointed to by configStream are "properties-style" lines of text. The property names which this provider recognizes are
For example, the contents of the configuration file might be:
dest=cmptcp://myserver:892
profile=Keon
timoutSecs=3
|
|
||||||||||||
|
Constructs a
The contents of the resource pointed to by configFile are "properties-style" lines of text. The property names which this provider recognizes are
For example, the contents of the configuration file might be:
dest=cmptcp://myserver:892
profile=Keon
timoutSecs=3
|
|
||||||||||||
|
Constructs a
The contents of the resource pointed to by configFileName are "properties-style" lines of text. The property names which this provider recognizes are
For example, the contents of the configuration file might be:
dest=cmptcp://myserver:892
profile=Keon
timoutSecs=3
|
|
|
Creates a
Reimplemented from Provider. |
|
|
Does not do anything. It is a place holder for a subclass of this class that provide this method for debugging purposes.
Reimplemented in CMPDebug. |
|
||||||||||||
|
Does not do anything. It is a place holder for a subclass of this class that provide this method for debugging purposes.
Reimplemented in CMPDebug. |
|
||||||||||||||||
|
Does not do anything. It is a place holder for a subclass of this class that provide this method for debugging purposes.
Reimplemented in CMPDebug. |
|
||||||||||||
|
Sets cmptcp protocol specific options.
|
|
|
Indicates that it will ask the server to close the connection after it sends a response. If this flag is set, the performance may suffer due to extrat time needed to establish connection each time a request is sent. |
|
|
Indicates that it does not send a polling request message when a polling response message is received from the server. If this flag is set, it will return a |