|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.glub.secureftp.bean.SSLCertificate
public class SSLCertificate
The SSLCertificate
class contains useful information about
an SSL (X509) certificate.
Constructor Summary | |
---|---|
SSLCertificate(X509Certificate cert)
Create a SSLCertificate object. |
Method Summary | |
---|---|
int |
getBitStrength()
Return the bit strength of the RSA certificate |
String |
getCN()
Returns the common name of the certificate. |
String |
getCountry()
Returns the country associated with the certificate. |
String |
getEmail()
Returns the e-mail address associated with the certificate. |
Date |
getEndDate()
Returns the ending date of the certificate. |
String |
getFingerprint()
Returns the crypto fingerprint of the certificate. |
String |
getIssuerCN()
Returns the common name of the certificate issuer. |
String |
getIssuerCountry()
Returns the country associated with the certificate issuer. |
String |
getIssuerEmail()
Returns the e-mail address associated with the certificate issuer. |
String |
getIssuerLocality()
Returns the locality (or city) associated with the certificate issuer. |
String |
getIssuerOrg()
Returns the organization associated with the certificate issuer. |
String |
getIssuerOU()
Returns the organizational unit associated with the certificate issuer. |
String |
getIssuerState()
Returns the state associated with the certificate issuer. |
String |
getLocality()
Returns the locality (or city) associated with the certificate. |
String |
getOrg()
Returns the organization associated with the certificate. |
String |
getOU()
Returns the organizational unit associated with the certificate. |
String |
getSerialNumber()
Returns the serial number of the certificate. |
Date |
getStartDate()
Returns the starting date of the certificate. |
String |
getState()
Returns the state associated with the certificate. |
X509Certificate |
getX509Certificate()
Returns the X.509 certificate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSLCertificate(X509Certificate cert)
SSLCertificate
object.
cert
- the X509 certificate.Method Detail |
---|
public X509Certificate getX509Certificate()
public String getFingerprint()
public String getSerialNumber()
public Date getStartDate()
public Date getEndDate()
public String getCN()
Usually this is the hostname of the server.
public String getEmail()
public String getOU()
public String getOrg()
public String getLocality()
public String getState()
public String getCountry()
public String getIssuerCN()
public String getIssuerEmail()
public String getIssuerOU()
public String getIssuerOrg()
public String getIssuerLocality()
public String getIssuerState()
public String getIssuerCountry()
public int getBitStrength()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |