Skip to content

Instantly share code, notes, and snippets.

@fperana
fperana / UnitTest.pas
Last active April 24, 2019 12:03
Get Subject's Common Name from Certificates stored on Smart Card [Delphi + WinCryptographyAPIs]
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TForm1 = class(TForm)