public class GeneralMessageInfo
extends java.lang.Object
GeneralMessageInfo encapsulates information contained in a PKIX CMP
General Message. It can be used to retrieve information
about an Entrust User before the User
is created.
The following example shows how ClientSettings can be retrieved
for a user that has not yet been created.
ManagerTransport man = new ManagerTransport("myPkI",829);
try {
PKIXCMPUtils utils = new PKIXCMPUtils(man);
GeneralMessageInfo info = utils.getGeneralMessageInfo(refNum, authCode);
ClientSettings settings = info.getClientSettings();
}
catch (EntrustPKIXCMPException e) {
e.printStackTrace();
}
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getCachedPkixcmpGenp()
Returns the cached PKIX-CMP General Message Response.
|
EntrustCertTypeSettings |
getCertTypeSettings() |
ClientSettings |
getClientSettings()
Return the Client settings, or null if no client
setting have been set.
|
EntrustCapabilityList |
getEntrustCapabilityList() |
EntrustEventInfo |
getEventInfo()
Returns the user's Entrust Event Info
|
Name |
getUserDN() |
EntrustState |
getUserState()
Returns the user's current state.
|
public ClientSettings getClientSettings()
public Name getUserDN()
public EntrustState getUserState()
If a General Message transaction has not been done yet, or the communication is not being done with an Entrust Security Manager 7.0 or later, null is returned.
public EntrustCertTypeSettings getCertTypeSettings()
public EntrustCapabilityList getEntrustCapabilityList()
public EntrustEventInfo getEventInfo()
If a General Message transaction has not been done yet, or the communication is not being done with an Entrust Security Manager 7.0 or later, null is returned.
public byte[] getCachedPkixcmpGenp()
This contains the last PKIX-CMP General Message Response received during a PKIX-CMP transaction. It is represented as a a DER-encoded PKIMessage.