net/secinfo.eh

Security information. More...

use "net/secinfo.eh"

Types

type Certificate < Any;
type SecInfo < Any;

Functions

def Certificate.certtype(): String;
def Certificate.issuer(): String;
def Certificate.notafter(): Long;
def Certificate.notbefore(): Long;
def Certificate.signalg(): String;
def Certificate.subject(): String;
def Certificate.version(): String;
def SecInfo.certificate(): Certificate;
def SecInfo.cipher_suite(): String;
def SecInfo.protocol_name(): String;
def SecInfo.protocol_version(): String;

Description

This header provides functions to access information about a secure network connection.

Type details

type Certificate < Any;
Security certificate.

type SecInfo < Any;
Information about secure connection.

Function details

def SecInfo.certificate(): Certificate;
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.

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;