public class CertificateInfo extends API
This Class provides the Java implementation of CICS API command EXTRACT CERTIFICATE.
The protected constructor obtains the full certificate and the getter methods return the individual values contained within the full certificate.
com.ibm.cics.server.API
for general restrictions on using the JCICS API.
Modifier and Type | Field and Description |
---|---|
static int |
ISSUER
Constant - ISSUER
|
static int |
OWNER
Constant - OWNER
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getCertificate()
Usage:
Returns the full certificate obtained by the constructor. |
java.lang.String |
getCommonName()
Usage:
Returns the common name from the client certificate obtained by the constructor. |
java.lang.String |
getCountry()
Usage:
Returns the country from the client certificate obtained by the constructor. |
java.lang.String |
getLocality()
Usage:
Returns the locality from the client certificate obtained by the constructor. |
java.lang.String |
getOrganization()
Usage:
Returns the organization from the client certificate obtained by the constructor. |
java.lang.String |
getOrgUnit()
Usage:
Returns the organization unit from the client certificate obtained by the constructor. |
java.lang.String |
getSerialNum()
Usage:
Returns the serial number of the certificate assigned by the certificate issuer obtained by the constructor. |
java.lang.String |
getState()
Usage:
Returns the state or province from the client certificate obtained by the constructor. |
java.lang.String |
getUserID()
Usage:
Returns the user-id connected with the client certificate obtained by the constructor. |
public static final int OWNER
public static final int ISSUER
public byte[] getCertificate()
public java.lang.String getSerialNum()
public java.lang.String getUserID()
public java.lang.String getCommonName()
public java.lang.String getCountry()
public java.lang.String getState()
public java.lang.String getLocality()
public java.lang.String getOrganization()
public java.lang.String getOrgUnit()