Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

StreamSec.DSI.CertificateViewer

Dual-framework certificate viewer control.

  - When FRAMEWORK_FMX is defined the control is a FireMonkey TPanel descendant and
    works on every FMX platform (Win32/Win64/macOS/Linux/Android/iOS). FMX is
    resolution-independent, so layout uses Align/Margins/Position in logical units.
  - Otherwise it is a VCL TCustomPanel descendant (Win32/Win64). The VCL layout is
    DPI-scaling aware: hardcoded 96-dpi design metrics are scaled to the host form's
    current PPI so the control renders correctly at >100% scaling.

Feature notes: PKIX / CMS implementation notes

Classes, interfaces and records

classTstCertificateViewer

inherits from TstViewerPanel

constructor Create(AOwner: TComponent); override; destructor Destroy; override; procedure Display(aCert: iCertificate; aRC : iRevokedCertificate; aCRLs: array of iCertificateList); property Align; property Anchors; property Visible; property TabOrder; property TabStop; property OnCanResize; property OnEnter; property OnExit; property OnResize;

Types (enumerations, sets, aliases)

typeTstViewerPanel

  TstViewerPanel  = FMX.StdCtrls.TPanel;

typeTstViewerPages

  TstViewerPages  = FMX.TabControl.TTabControl;

typeTstViewerTab

  TstViewerTab    = FMX.TabControl.TTabItem;

typeTstViewerLabel

  TstViewerLabel  = FMX.StdCtrls.TLabel;

typeTstViewerMemo

  TstViewerMemo   = FMX.Memo.TMemo;

typeTstViewerList

  TstViewerList   = FMX.ListBox.TListBox;

typeTstViewerTable

  TstViewerTable  = FMX.Grid.TStringGrid;

typeTstViewerPanel

  TstViewerPanel  = TCustomPanel;

typeTstViewerPages

  TstViewerPages  = TPageControl;

typeTstViewerTab

  TstViewerTab    = TTabSheet;

typeTstViewerLabel

  TstViewerLabel  = TLabel;

typeTstViewerMemo

  TstViewerMemo   = TMemo;

typeTstViewerList

  TstViewerList   = TListBox;

typeTstViewerTable

  TstViewerTable  = TListView;

Routines