org.mozilla.jss.ssl
public class SSLSecurityStatus extends Object
Field Summary | |
---|---|
int | STATUS_FORTEZZA |
int | STATUS_NOOPT |
int | STATUS_OFF |
int | STATUS_ON_HIGH |
int | STATUS_ON_LOW |
Constructor Summary | |
---|---|
SSLSecurityStatus(int status, String cipher, int sessionKeySize, int sessionSecretSize, String issuer, String subject, String serialNumber, X509Certificate certificate)
This constructor is called from the native SSL code
It's not necessary for you to call this. |
Method Summary | |
---|---|
String | getCipher()
Query which cipher is being used in this session. |
X509Certificate | getPeerCertificate()
Retrieve certificate presented by the other other end
of the socket Not Supported in NSS 2.0 Beta release. |
String | getRemoteIssuer()
Get the distinguished name of the remote certificate's issuer |
String | getRemoteSubject()
Get the distinguished name of the subject of the remote certificate |
int | getSecurityStatus()
Get exact security status of socket. |
String | getSerialNumber()
Get the serial number of the remote certificate |
int | getSessionKeySize()
Query how many bits long the session key is. |
int | getSessionSecretSize()
To satisfy export restrictions, some of the session key may
be revealed. |
boolean | isSecurityOn()
Query if security is enabled on this socket. |
String | toString()
Get a pretty string to show to a user, summarizing the contents
of this object
|
Deprecated: As of NSS 3.11, FORTEZZA is no longer supported. STATUS_FORTEZZA is a placeholder for backward compatibility.
Not Supported in NSS 2.0 Beta release.
Can be null if peer did not present a certificate.
Deprecated: As of NSS 3.11, FORTEZZA is no longer supported. This is just a placeholder for backward compatibility.
Get a pretty string to show to a user, summarizing the contents of this object