|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@TransactionType(value=NOT_SUPPORTED) public interface TLSSecurityInfo
This interface defines methods to access information about a TLS secure network connection.
This interface extends the SecurityInfo
interface to provide additional security parameters of a TLS connection. It
provides the client certificate (in addition to the server certificate
provided by the base interface) when PKI is used or the PSK identity provided
by the peer when PSK is used.
The SecureConnection.getSecurityInfo()
and
HttpsConnection.getSecurityInfo()
methods
return an object that implements this interface when TLS is used as the
underlying protcol.
Certificate
,
SecureConnection
,
HttpsConnection
,
ServerSocketConnection
,
CredentialManager
,
ConnectorPermission
Method Summary | |
---|---|
Certificate |
getClientCertificate()
Returns the Certificate used to establish the secure
connection with the client. |
String |
getPSKIdentity()
Returns the PSK Identity provided by the peer to establish the secure connection with that peer. |
Methods inherited from interface javax.microedition.io.SecurityInfo |
---|
getCipherSuite, getProtocolName, getProtocolVersion, getServerCertificate |
Method Detail |
---|
Certificate getClientCertificate()
Certificate
used to establish the secure
connection with the client.
This method only returns a Certificate
object if PKI was
used and if client authentication was required for establishing the
secure connection.
Certificate
used to establish the secure
connection with the client; or null, if PKI was not used or if
client authentication was not required.String getPSKIdentity()
This method only returns a PSK Identity string object if PSK was used for establishing the secure connection and a PSK identity was provided.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |