net/secinfo.eh
Security information. More...
Types
Functions
Description
This header provides functions to access information about a secure network connection.
Type details
Security certificate.
Information about secure connection.
Function details
Returns the
Certificate
used to establish the secure connection with the server.
def SecInfo.protocol_name(): String;
|
Returns the secure protocol name.
If TLS (RFC 2246) or WAP TLS Profile and Tunneling (WAP-219-TLS) is used for the connection,
the return value is "TLS". If SSL V3 (The SSL Protocol Version 3.0) is used for the connection,
the return value is "SSL". If WTLS (WAP 199) is used for the connection the return value is "WTLS".
def SecInfo.protocol_version(): String;
|
Returns the protocol version.
-
For SSL V3 it returns "3.0"
-
For TLS 1.0 it returns "3.1"
-
For WTLS (WAP-199) it returns "1"
-
For WAP TLS Profile and Tunneling Specification it returns "3.1".
def SecInfo.cipher_suite(): String;
|
Returns the name of the cipher suite in use for the connection.
def Certificate.subject(): String;
|
def Certificate.issuer(): String;
|
def Certificate.certtype(): String;
|
def Certificate.version(): String;
|
def Certificate.signalg(): String;
|
def Certificate.notbefore(): Long;
|
def Certificate.notafter(): Long;
|