Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

StreamSec.Mobile.CCADB

Feature notes: TLS implementation notes (RFC map)

Classes, interfaces and records

classTsmCCADBTrustAnchors — component reference

inherits from TComponent

Drop one beside an engine, point Engine at it, and the roots are installed when the form or datamodule finishes loading. In Loaded rather than in a constructor, because a STREAMED Engine reference does not exist yet when the constructor runs - and because loading finishes before the application's own TLSSetupClient and before anything has connected, which is where anchors want to be. A root added later is not lost: the engine hands every session its LIVE root store, so a later addition reaches every connection made after it. Loaded is simply the moment at which none has been made.

constructor Create(aOwner: TComponent); override; destructor Destroy; override; function Install(aTarget: TsmCustomTLSInternalServer): Integer;
Installs into aTarget and returns how many of the set the store accepted. Safe to call more than once: a certificate the store already holds is matched to its existing slot rather than stored again, so a second pass changes nothing and reports the same count. » member page
class function Established: string;
The day the embedded list was taken, as YYYY-MM-DD. » member page
class function Verified: string;
The day the embedded set was last confirmed to match what the root program publishes. Never earlier than Established, and usually later: a set is verified far more often than it changes. » member page
class function Source: string;
The URL it was taken from. » member page
class function RootCount: Integer;
How many roots are embedded. » member page
property Installed: Integer read fInstalled;
How many roots the last Install accepted. » member page
property Engine: TsmCustomTLSInternalServer read fEngine write SetEngine;
The engine that should believe these issuers. Nothing happens until this is set - there is deliberately no fallback to a process-wide engine, since trust arriving somewhere nobody chose is the failure this guards. » member page
property AutoInstall: Boolean read fAutoInstall write fAutoInstall default True;
Install as soon as loading finishes. Loaded is called by the STREAMING system, so this covers the streamed component only: an instance created at run time is never loaded and must call Install itself, as must any application that turns this off. » member page
property OnProblem: tCCADBProblemEvent read fOnProblem write fOnProblem;

Types (enumerations, sets, aliases)

proctCCADBProblemEvent

Reported per root that could not be installed. aSubject is the RFC 2253 name, so a report names the CA rather than an index nobody can look up.

  tCCADBProblemEvent = procedure (Sender: TObject;
                                  const aSubject, aReason: string) of object;

Routines