📄 rsasvr_tlb.pas
字号:
unit rsasvr_TLB;
// ************************************************************************ //
// WARNING
// -------
// The types declared in this file were generated from data read from a
// Type Library. If this type library is explicitly or indirectly (via
// another type library referring to this type library) re-imported, or the
// 'Refresh' command of the Type Library Editor activated while editing the
// Type Library, the contents of this file will be regenerated and all
// manual modifications will be lost.
// ************************************************************************ //
// PASTLWTR : 1.2
// File generated on 2007-7-15 23:40:11 from Type Library described below.
// ************************************************************************ //
// Type Lib: E:\网络验证\com\rsasvr.tlb (1)
// LIBID: {6BFCD58D-028F-4577-9675-35CBB53D5869}
// LCID: 0
// Helpfile:
// HelpString: rsasvr Library
// DepndLst:
// (1) v2.0 stdole, (C:\WINDOWS\system32\stdole2.tlb)
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}
{$VARPROPSETTER ON}
interface
uses Windows, ActiveX, Classes, Graphics, StdVCL, Variants;
// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used:
// Type Libraries : LIBID_xxxx
// CoClasses : CLASS_xxxx
// DISPInterfaces : DIID_xxxx
// Non-DISP interfaces: IID_xxxx
// *********************************************************************//
const
// TypeLibrary Major and minor versions
rsasvrMajorVersion = 1;
rsasvrMinorVersion = 0;
LIBID_rsasvr: TGUID = '{6BFCD58D-028F-4577-9675-35CBB53D5869}';
IID_Imake: TGUID = '{B14FC00A-0926-4A4E-B7CC-E69BEEC7F181}';
CLASS_make: TGUID = '{53E34462-180F-4085-9110-38CBB24844DC}';
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
Imake = interface;
ImakeDisp = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
make = Imake;
// *********************************************************************//
// Interface: Imake
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {B14FC00A-0926-4A4E-B7CC-E69BEEC7F181}
// *********************************************************************//
Imake = interface(IDispatch)
['{B14FC00A-0926-4A4E-B7CC-E69BEEC7F181}']
procedure OnStartPage(const AScriptingContext: IUnknown); safecall;
procedure OnEndPage; safecall;
function RSAEnc(const RsaE: WideString; const RsaN: WideString; const RSAEncStr: WideString): WideString; safecall;
function RSADec(const RsaD: WideString; const RsaN: WideString; const RSADecStr: WideString): WideString; safecall;
function GenKey: WideString; safecall;
end;
// *********************************************************************//
// DispIntf: ImakeDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {B14FC00A-0926-4A4E-B7CC-E69BEEC7F181}
// *********************************************************************//
ImakeDisp = dispinterface
['{B14FC00A-0926-4A4E-B7CC-E69BEEC7F181}']
procedure OnStartPage(const AScriptingContext: IUnknown); dispid 201;
procedure OnEndPage; dispid 202;
function RSAEnc(const RsaE: WideString; const RsaN: WideString; const RSAEncStr: WideString): WideString; dispid 203;
function RSADec(const RsaD: WideString; const RsaN: WideString; const RSADecStr: WideString): WideString; dispid 204;
function GenKey: WideString; dispid 205;
end;
// *********************************************************************//
// The Class Comake provides a Create and CreateRemote method to
// create instances of the default interface Imake exposed by
// the CoClass make. The functions are intended to be used by
// clients wishing to automate the CoClass objects exposed by the
// server of this typelibrary.
// *********************************************************************//
Comake = class
class function Create: Imake;
class function CreateRemote(const MachineName: string): Imake;
end;
implementation
uses ComObj;
class function Comake.Create: Imake;
begin
Result := CreateComObject(CLASS_make) as Imake;
end;
class function Comake.CreateRemote(const MachineName: string): Imake;
begin
Result := CreateRemoteComObject(MachineName, CLASS_make) as Imake;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -