unit Chilkat.XmlDSig;

{
  Pascal wrapper for Chilkat XmlDSig.
  Auto-generated by PascalWrapperGenerator -- do not edit manually.
}

{$IFDEF FPC}
  {$MODE DELPHI}
{$ENDIF}

interface

uses
  SysUtils,
  Chilkat.Base;

type

  { TXmlDSig wraps CkXmlDSig via the C bridge layer. }
  TXmlDSig = class(TChilkatBase)
  private
    function  GetLastErrorHtml: string;
    function  GetLastErrorText: string;
    function  GetLastErrorXml: string;
    function  GetVersion: string;
    function  GetDebugLogFilePath: string;
    procedure SetDebugLogFilePath(AValue: string);
    function  GetVerboseLogging: Boolean;
    procedure SetVerboseLogging(AValue: Boolean);
    function  GetLastMethodSuccess: Boolean;
    procedure SetLastMethodSuccess(AValue: Boolean);
    function  GetNumReferences: Integer;
    function  GetNumSignatures: Integer;
    function  GetSelector: Integer;
    procedure SetSelector(AValue: Integer);
    function  GetIgnoreExternalRefs: Boolean;
    procedure SetIgnoreExternalRefs(AValue: Boolean);
    function  GetRefFailReason: Integer;
    function  GetExternalRefDirs: string;
    procedure SetExternalRefDirs(AValue: string);
    function  GetUncommonOptions: string;
    procedure SetUncommonOptions(AValue: string);
  public
    constructor Create;
    destructor  Destroy; override;

    property LastErrorHtml: string read GetLastErrorHtml;
    property LastErrorText: string read GetLastErrorText;
    property LastErrorXml: string read GetLastErrorXml;
    property Version: string read GetVersion;
    property DebugLogFilePath: string read GetDebugLogFilePath write SetDebugLogFilePath;
    property VerboseLogging: Boolean read GetVerboseLogging write SetVerboseLogging;
    property LastMethodSuccess: Boolean read GetLastMethodSuccess write SetLastMethodSuccess;
    property NumReferences: Integer read GetNumReferences;
    property NumSignatures: Integer read GetNumSignatures;
    property Selector: Integer read GetSelector write SetSelector;
    property IgnoreExternalRefs: Boolean read GetIgnoreExternalRefs write SetIgnoreExternalRefs;
    property RefFailReason: Integer read GetRefFailReason;
    property ExternalRefDirs: string read GetExternalRefDirs write SetExternalRefDirs;
    property UncommonOptions: string read GetUncommonOptions write SetUncommonOptions;

    function  CanonicalizeXml(const xml: string; const version: string; withComments: Boolean): string;
    function  LoadSignature(const xmlSig: string): Boolean;
    function  LoadSignatureSb(sbXmlSig: TChilkatBase): Boolean;
    function  IsReferenceExternal(index: Integer): Boolean;
    function  ReferenceUri(index: Integer): string;
    function  SetRefDataSb(index: Integer; sb: TChilkatBase; const charset: string): Boolean;
    function  SetRefDataBd(index: Integer; binData: TChilkatBase): Boolean;
    function  SetRefDataFile(index: Integer; const path: string): Boolean;
    function  VerifyReferenceDigest(index: Integer): Boolean;
    function  CanonicalizeFragment(const xml: string; const fragmentId: string; const version: string; const prefixList: string; withComments: Boolean): string;
    function  LoadSignatureBd(binData: TChilkatBase): Boolean;
    function  VerifySignature(verifyReferenceDigests: Boolean): Boolean;
    function  GetKeyInfo: TChilkatBase;
    function  GetPublicKey: TChilkatBase;
    function  UseCertVault(certVault: TChilkatBase): Boolean;
    function  SetHmacKey(const key: string; const encoding: string): Boolean;
    function  SetPublicKey(pubKey: TChilkatBase): Boolean;
    function  GetCerts(sa: TChilkatBase): Boolean;
    function  HasEncapsulatedTimeStamp: Boolean;
    function  AddEncapsulatedTimeStamp(json: TChilkatBase; sbOut: TChilkatBase): Boolean;
    procedure SetHttpObj(http: TChilkatBase);
  end;

implementation

uses
  CkDllLoader,
  Chilkat.Utils;

{ ---- C bridge function pointer types ---- }
type
  TCkXmlDSig_Create  = function(): Pointer; cdecl;
  TCkXmlDSig_Dispose = procedure(handle: Pointer); cdecl;
  TCkXmlDSig_get_LastErrorHtml = function(handle: Pointer): PAnsiChar; cdecl;
  TCkXmlDSig_get_LastErrorText = function(handle: Pointer): PAnsiChar; cdecl;
  TCkXmlDSig_get_LastErrorXml = function(handle: Pointer): PAnsiChar; cdecl;
  TCkXmlDSig_get_Version = function(handle: Pointer): PAnsiChar; cdecl;
  TCkXmlDSig_get_DebugLogFilePath = function(handle: Pointer): PAnsiChar; cdecl;
  TCkXmlDSig_put_DebugLogFilePath = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkXmlDSig_get_VerboseLogging = function(handle: Pointer): LongBool; cdecl;
  TCkXmlDSig_put_VerboseLogging = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkXmlDSig_get_LastMethodSuccess = function(handle: Pointer): LongBool; cdecl;
  TCkXmlDSig_put_LastMethodSuccess = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkXmlDSig_get_NumReferences = function(handle: Pointer): Integer; cdecl;
  TCkXmlDSig_get_NumSignatures = function(handle: Pointer): Integer; cdecl;
  TCkXmlDSig_get_Selector = function(handle: Pointer): Integer; cdecl;
  TCkXmlDSig_put_Selector = procedure(handle: Pointer; value: Integer); cdecl;
  TCkXmlDSig_get_IgnoreExternalRefs = function(handle: Pointer): LongBool; cdecl;
  TCkXmlDSig_put_IgnoreExternalRefs = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkXmlDSig_get_RefFailReason = function(handle: Pointer): Integer; cdecl;
  TCkXmlDSig_get_ExternalRefDirs = function(handle: Pointer): PAnsiChar; cdecl;
  TCkXmlDSig_put_ExternalRefDirs = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkXmlDSig_get_UncommonOptions = function(handle: Pointer): PAnsiChar; cdecl;
  TCkXmlDSig_put_UncommonOptions = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkXmlDSig_CanonicalizeXml = function(handle: Pointer; xml: PAnsiChar; version: PAnsiChar; withComments: LongBool): PAnsiChar; cdecl;
  TCkXmlDSig_LoadSignature = function(handle: Pointer; xmlSig: PAnsiChar): LongBool; cdecl;
  TCkXmlDSig_LoadSignatureSb = function(handle: Pointer; sbXmlSig: Pointer): LongBool; cdecl;
  TCkXmlDSig_IsReferenceExternal = function(handle: Pointer; index: Integer): LongBool; cdecl;
  TCkXmlDSig_ReferenceUri = function(handle: Pointer; index: Integer): PAnsiChar; cdecl;
  TCkXmlDSig_SetRefDataSb = function(handle: Pointer; index: Integer; sb: Pointer; charset: PAnsiChar): LongBool; cdecl;
  TCkXmlDSig_SetRefDataBd = function(handle: Pointer; index: Integer; binData: Pointer): LongBool; cdecl;
  TCkXmlDSig_SetRefDataFile = function(handle: Pointer; index: Integer; path: PAnsiChar): LongBool; cdecl;
  TCkXmlDSig_VerifyReferenceDigest = function(handle: Pointer; index: Integer): LongBool; cdecl;
  TCkXmlDSig_CanonicalizeFragment = function(handle: Pointer; xml: PAnsiChar; fragmentId: PAnsiChar; version: PAnsiChar; prefixList: PAnsiChar; withComments: LongBool): PAnsiChar; cdecl;
  TCkXmlDSig_LoadSignatureBd = function(handle: Pointer; binData: Pointer): LongBool; cdecl;
  TCkXmlDSig_VerifySignature = function(handle: Pointer; verifyReferenceDigests: LongBool): LongBool; cdecl;
  TCkXmlDSig_GetKeyInfo = function(handle: Pointer): Pointer; cdecl;
  TCkXmlDSig_GetPublicKey = function(handle: Pointer): Pointer; cdecl;
  TCkXmlDSig_UseCertVault = function(handle: Pointer; certVault: Pointer): LongBool; cdecl;
  TCkXmlDSig_SetHmacKey = function(handle: Pointer; key: PAnsiChar; encoding: PAnsiChar): LongBool; cdecl;
  TCkXmlDSig_SetPublicKey = function(handle: Pointer; pubKey: Pointer): LongBool; cdecl;
  TCkXmlDSig_GetCerts = function(handle: Pointer; sa: Pointer): LongBool; cdecl;
  TCkXmlDSig_HasEncapsulatedTimeStamp = function(handle: Pointer): LongBool; cdecl;
  TCkXmlDSig_AddEncapsulatedTimeStamp = function(handle: Pointer; json: Pointer; sbOut: Pointer): LongBool; cdecl;
  TCkXmlDSig_SetHttpObj = procedure(handle: Pointer; http: Pointer); cdecl;

{ ---- C bridge function pointer variables ---- }
var
  CkXmlDSig_Create:  TCkXmlDSig_Create  = nil;
  CkXmlDSig_Dispose: TCkXmlDSig_Dispose = nil;
  CkXmlDSig_get_LastErrorHtml: TCkXmlDSig_get_LastErrorHtml = nil;
  CkXmlDSig_get_LastErrorText: TCkXmlDSig_get_LastErrorText = nil;
  CkXmlDSig_get_LastErrorXml: TCkXmlDSig_get_LastErrorXml = nil;
  CkXmlDSig_get_Version: TCkXmlDSig_get_Version = nil;
  CkXmlDSig_get_DebugLogFilePath: TCkXmlDSig_get_DebugLogFilePath = nil;
  CkXmlDSig_put_DebugLogFilePath: TCkXmlDSig_put_DebugLogFilePath = nil;
  CkXmlDSig_get_VerboseLogging: TCkXmlDSig_get_VerboseLogging = nil;
  CkXmlDSig_put_VerboseLogging: TCkXmlDSig_put_VerboseLogging = nil;
  CkXmlDSig_get_LastMethodSuccess: TCkXmlDSig_get_LastMethodSuccess = nil;
  CkXmlDSig_put_LastMethodSuccess: TCkXmlDSig_put_LastMethodSuccess = nil;
  CkXmlDSig_get_NumReferences: TCkXmlDSig_get_NumReferences = nil;
  CkXmlDSig_get_NumSignatures: TCkXmlDSig_get_NumSignatures = nil;
  CkXmlDSig_get_Selector: TCkXmlDSig_get_Selector = nil;
  CkXmlDSig_put_Selector: TCkXmlDSig_put_Selector = nil;
  CkXmlDSig_get_IgnoreExternalRefs: TCkXmlDSig_get_IgnoreExternalRefs = nil;
  CkXmlDSig_put_IgnoreExternalRefs: TCkXmlDSig_put_IgnoreExternalRefs = nil;
  CkXmlDSig_get_RefFailReason: TCkXmlDSig_get_RefFailReason = nil;
  CkXmlDSig_get_ExternalRefDirs: TCkXmlDSig_get_ExternalRefDirs = nil;
  CkXmlDSig_put_ExternalRefDirs: TCkXmlDSig_put_ExternalRefDirs = nil;
  CkXmlDSig_get_UncommonOptions: TCkXmlDSig_get_UncommonOptions = nil;
  CkXmlDSig_put_UncommonOptions: TCkXmlDSig_put_UncommonOptions = nil;
  CkXmlDSig_CanonicalizeXml: TCkXmlDSig_CanonicalizeXml = nil;
  CkXmlDSig_LoadSignature: TCkXmlDSig_LoadSignature = nil;
  CkXmlDSig_LoadSignatureSb: TCkXmlDSig_LoadSignatureSb = nil;
  CkXmlDSig_IsReferenceExternal: TCkXmlDSig_IsReferenceExternal = nil;
  CkXmlDSig_ReferenceUri: TCkXmlDSig_ReferenceUri = nil;
  CkXmlDSig_SetRefDataSb: TCkXmlDSig_SetRefDataSb = nil;
  CkXmlDSig_SetRefDataBd: TCkXmlDSig_SetRefDataBd = nil;
  CkXmlDSig_SetRefDataFile: TCkXmlDSig_SetRefDataFile = nil;
  CkXmlDSig_VerifyReferenceDigest: TCkXmlDSig_VerifyReferenceDigest = nil;
  CkXmlDSig_CanonicalizeFragment: TCkXmlDSig_CanonicalizeFragment = nil;
  CkXmlDSig_LoadSignatureBd: TCkXmlDSig_LoadSignatureBd = nil;
  CkXmlDSig_VerifySignature: TCkXmlDSig_VerifySignature = nil;
  CkXmlDSig_GetKeyInfo: TCkXmlDSig_GetKeyInfo = nil;
  CkXmlDSig_GetPublicKey: TCkXmlDSig_GetPublicKey = nil;
  CkXmlDSig_UseCertVault: TCkXmlDSig_UseCertVault = nil;
  CkXmlDSig_SetHmacKey: TCkXmlDSig_SetHmacKey = nil;
  CkXmlDSig_SetPublicKey: TCkXmlDSig_SetPublicKey = nil;
  CkXmlDSig_GetCerts: TCkXmlDSig_GetCerts = nil;
  CkXmlDSig_HasEncapsulatedTimeStamp: TCkXmlDSig_HasEncapsulatedTimeStamp = nil;
  CkXmlDSig_AddEncapsulatedTimeStamp: TCkXmlDSig_AddEncapsulatedTimeStamp = nil;
  CkXmlDSig_SetHttpObj: TCkXmlDSig_SetHttpObj = nil;

constructor TXmlDSig.Create;
begin
  inherited Create;
  FHandle := CkXmlDSig_Create();
end;

destructor TXmlDSig.Destroy;
begin
  if FHandle <> nil then
    CkXmlDSig_Dispose(FHandle);
  FHandle := nil;
  inherited;
end;

function TXmlDSig.GetLastErrorHtml: string;
begin
  Result := CkToStr(CkXmlDSig_get_LastErrorHtml(FHandle));
end;

function TXmlDSig.GetLastErrorText: string;
begin
  Result := CkToStr(CkXmlDSig_get_LastErrorText(FHandle));
end;

function TXmlDSig.GetLastErrorXml: string;
begin
  Result := CkToStr(CkXmlDSig_get_LastErrorXml(FHandle));
end;

function TXmlDSig.GetVersion: string;
begin
  Result := CkToStr(CkXmlDSig_get_Version(FHandle));
end;

function TXmlDSig.GetDebugLogFilePath: string;
begin
  Result := CkToStr(CkXmlDSig_get_DebugLogFilePath(FHandle));
end;

procedure TXmlDSig.SetDebugLogFilePath(AValue: string);
begin
  CkXmlDSig_put_DebugLogFilePath(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TXmlDSig.GetVerboseLogging: Boolean;
begin
  Result := Boolean(CkXmlDSig_get_VerboseLogging(FHandle));
end;

procedure TXmlDSig.SetVerboseLogging(AValue: Boolean);
begin
  CkXmlDSig_put_VerboseLogging(FHandle, LongBool(AValue));
end;

function TXmlDSig.GetLastMethodSuccess: Boolean;
begin
  Result := Boolean(CkXmlDSig_get_LastMethodSuccess(FHandle));
end;

procedure TXmlDSig.SetLastMethodSuccess(AValue: Boolean);
begin
  CkXmlDSig_put_LastMethodSuccess(FHandle, LongBool(AValue));
end;

function TXmlDSig.GetNumReferences: Integer;
begin
  Result := CkXmlDSig_get_NumReferences(FHandle);
end;

function TXmlDSig.GetNumSignatures: Integer;
begin
  Result := CkXmlDSig_get_NumSignatures(FHandle);
end;

function TXmlDSig.GetSelector: Integer;
begin
  Result := CkXmlDSig_get_Selector(FHandle);
end;

procedure TXmlDSig.SetSelector(AValue: Integer);
begin
  CkXmlDSig_put_Selector(FHandle, AValue);
end;

function TXmlDSig.GetIgnoreExternalRefs: Boolean;
begin
  Result := Boolean(CkXmlDSig_get_IgnoreExternalRefs(FHandle));
end;

procedure TXmlDSig.SetIgnoreExternalRefs(AValue: Boolean);
begin
  CkXmlDSig_put_IgnoreExternalRefs(FHandle, LongBool(AValue));
end;

function TXmlDSig.GetRefFailReason: Integer;
begin
  Result := CkXmlDSig_get_RefFailReason(FHandle);
end;

function TXmlDSig.GetExternalRefDirs: string;
begin
  Result := CkToStr(CkXmlDSig_get_ExternalRefDirs(FHandle));
end;

procedure TXmlDSig.SetExternalRefDirs(AValue: string);
begin
  CkXmlDSig_put_ExternalRefDirs(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TXmlDSig.GetUncommonOptions: string;
begin
  Result := CkToStr(CkXmlDSig_get_UncommonOptions(FHandle));
end;

procedure TXmlDSig.SetUncommonOptions(AValue: string);
begin
  CkXmlDSig_put_UncommonOptions(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TXmlDSig.CanonicalizeXml(const xml: string; const version: string; withComments: Boolean): string;
begin
  Result := CkToStr(CkXmlDSig_CanonicalizeXml(FHandle, PAnsiChar(StrToCk(xml)), PAnsiChar(StrToCk(version)), LongBool(withComments)));
end;

function TXmlDSig.LoadSignature(const xmlSig: string): Boolean;
begin
  Result := Boolean(CkXmlDSig_LoadSignature(FHandle, PAnsiChar(StrToCk(xmlSig))));
end;

function TXmlDSig.LoadSignatureSb(sbXmlSig: TChilkatBase): Boolean;
begin
  Result := Boolean(CkXmlDSig_LoadSignatureSb(FHandle, sbXmlSig.Handle));
end;

function TXmlDSig.IsReferenceExternal(index: Integer): Boolean;
begin
  Result := Boolean(CkXmlDSig_IsReferenceExternal(FHandle, index));
end;

function TXmlDSig.ReferenceUri(index: Integer): string;
begin
  Result := CkToStr(CkXmlDSig_ReferenceUri(FHandle, index));
end;

function TXmlDSig.SetRefDataSb(index: Integer; sb: TChilkatBase; const charset: string): Boolean;
begin
  Result := Boolean(CkXmlDSig_SetRefDataSb(FHandle, index, sb.Handle, PAnsiChar(StrToCk(charset))));
end;

function TXmlDSig.SetRefDataBd(index: Integer; binData: TChilkatBase): Boolean;
begin
  Result := Boolean(CkXmlDSig_SetRefDataBd(FHandle, index, binData.Handle));
end;

function TXmlDSig.SetRefDataFile(index: Integer; const path: string): Boolean;
begin
  Result := Boolean(CkXmlDSig_SetRefDataFile(FHandle, index, PAnsiChar(StrToCk(path))));
end;

function TXmlDSig.VerifyReferenceDigest(index: Integer): Boolean;
begin
  Result := Boolean(CkXmlDSig_VerifyReferenceDigest(FHandle, index));
end;

function TXmlDSig.CanonicalizeFragment(const xml: string; const fragmentId: string; const version: string; const prefixList: string; withComments: Boolean): string;
begin
  Result := CkToStr(CkXmlDSig_CanonicalizeFragment(FHandle, PAnsiChar(StrToCk(xml)), PAnsiChar(StrToCk(fragmentId)), PAnsiChar(StrToCk(version)), PAnsiChar(StrToCk(prefixList)), LongBool(withComments)));
end;

function TXmlDSig.LoadSignatureBd(binData: TChilkatBase): Boolean;
begin
  Result := Boolean(CkXmlDSig_LoadSignatureBd(FHandle, binData.Handle));
end;

function TXmlDSig.VerifySignature(verifyReferenceDigests: Boolean): Boolean;
begin
  Result := Boolean(CkXmlDSig_VerifySignature(FHandle, LongBool(verifyReferenceDigests)));
end;

function TXmlDSig.GetKeyInfo: TChilkatBase;
begin
  Result := TChilkatBase.CreateFromHandle(CkXmlDSig_GetKeyInfo(FHandle));
end;

function TXmlDSig.GetPublicKey: TChilkatBase;
begin
  Result := TChilkatBase.CreateFromHandle(CkXmlDSig_GetPublicKey(FHandle));
end;

function TXmlDSig.UseCertVault(certVault: TChilkatBase): Boolean;
begin
  Result := Boolean(CkXmlDSig_UseCertVault(FHandle, certVault.Handle));
end;

function TXmlDSig.SetHmacKey(const key: string; const encoding: string): Boolean;
begin
  Result := Boolean(CkXmlDSig_SetHmacKey(FHandle, PAnsiChar(StrToCk(key)), PAnsiChar(StrToCk(encoding))));
end;

function TXmlDSig.SetPublicKey(pubKey: TChilkatBase): Boolean;
begin
  Result := Boolean(CkXmlDSig_SetPublicKey(FHandle, pubKey.Handle));
end;

function TXmlDSig.GetCerts(sa: TChilkatBase): Boolean;
begin
  Result := Boolean(CkXmlDSig_GetCerts(FHandle, sa.Handle));
end;

function TXmlDSig.HasEncapsulatedTimeStamp: Boolean;
begin
  Result := Boolean(CkXmlDSig_HasEncapsulatedTimeStamp(FHandle));
end;

function TXmlDSig.AddEncapsulatedTimeStamp(json: TChilkatBase; sbOut: TChilkatBase): Boolean;
begin
  Result := Boolean(CkXmlDSig_AddEncapsulatedTimeStamp(FHandle, json.Handle, sbOut.Handle));
end;

procedure TXmlDSig.SetHttpObj(http: TChilkatBase);
begin
  CkXmlDSig_SetHttpObj(FHandle, http.Handle);
end;

initialization
  Chilkat_GetProcedureAddress(CkXmlDSig_Create,  'CkXmlDSig_Create');
  Chilkat_GetProcedureAddress(CkXmlDSig_Dispose, 'CkXmlDSig_Dispose');
  Chilkat_GetProcedureAddress(CkXmlDSig_get_LastErrorHtml, 'CkXmlDSig_get_LastErrorHtml');
  Chilkat_GetProcedureAddress(CkXmlDSig_get_LastErrorText, 'CkXmlDSig_get_LastErrorText');
  Chilkat_GetProcedureAddress(CkXmlDSig_get_LastErrorXml, 'CkXmlDSig_get_LastErrorXml');
  Chilkat_GetProcedureAddress(CkXmlDSig_get_Version, 'CkXmlDSig_get_Version');
  Chilkat_GetProcedureAddress(CkXmlDSig_get_DebugLogFilePath, 'CkXmlDSig_get_DebugLogFilePath');
  Chilkat_GetProcedureAddress(CkXmlDSig_put_DebugLogFilePath, 'CkXmlDSig_put_DebugLogFilePath');
  Chilkat_GetProcedureAddress(CkXmlDSig_get_VerboseLogging, 'CkXmlDSig_get_VerboseLogging');
  Chilkat_GetProcedureAddress(CkXmlDSig_put_VerboseLogging, 'CkXmlDSig_put_VerboseLogging');
  Chilkat_GetProcedureAddress(CkXmlDSig_get_LastMethodSuccess, 'CkXmlDSig_get_LastMethodSuccess');
  Chilkat_GetProcedureAddress(CkXmlDSig_put_LastMethodSuccess, 'CkXmlDSig_put_LastMethodSuccess');
  Chilkat_GetProcedureAddress(CkXmlDSig_get_NumReferences, 'CkXmlDSig_get_NumReferences');
  Chilkat_GetProcedureAddress(CkXmlDSig_get_NumSignatures, 'CkXmlDSig_get_NumSignatures');
  Chilkat_GetProcedureAddress(CkXmlDSig_get_Selector, 'CkXmlDSig_get_Selector');
  Chilkat_GetProcedureAddress(CkXmlDSig_put_Selector, 'CkXmlDSig_put_Selector');
  Chilkat_GetProcedureAddress(CkXmlDSig_get_IgnoreExternalRefs, 'CkXmlDSig_get_IgnoreExternalRefs');
  Chilkat_GetProcedureAddress(CkXmlDSig_put_IgnoreExternalRefs, 'CkXmlDSig_put_IgnoreExternalRefs');
  Chilkat_GetProcedureAddress(CkXmlDSig_get_RefFailReason, 'CkXmlDSig_get_RefFailReason');
  Chilkat_GetProcedureAddress(CkXmlDSig_get_ExternalRefDirs, 'CkXmlDSig_get_ExternalRefDirs');
  Chilkat_GetProcedureAddress(CkXmlDSig_put_ExternalRefDirs, 'CkXmlDSig_put_ExternalRefDirs');
  Chilkat_GetProcedureAddress(CkXmlDSig_get_UncommonOptions, 'CkXmlDSig_get_UncommonOptions');
  Chilkat_GetProcedureAddress(CkXmlDSig_put_UncommonOptions, 'CkXmlDSig_put_UncommonOptions');
  Chilkat_GetProcedureAddress(CkXmlDSig_CanonicalizeXml, 'CkXmlDSig_CanonicalizeXml');
  Chilkat_GetProcedureAddress(CkXmlDSig_LoadSignature, 'CkXmlDSig_LoadSignature');
  Chilkat_GetProcedureAddress(CkXmlDSig_LoadSignatureSb, 'CkXmlDSig_LoadSignatureSb');
  Chilkat_GetProcedureAddress(CkXmlDSig_IsReferenceExternal, 'CkXmlDSig_IsReferenceExternal');
  Chilkat_GetProcedureAddress(CkXmlDSig_ReferenceUri, 'CkXmlDSig_ReferenceUri');
  Chilkat_GetProcedureAddress(CkXmlDSig_SetRefDataSb, 'CkXmlDSig_SetRefDataSb');
  Chilkat_GetProcedureAddress(CkXmlDSig_SetRefDataBd, 'CkXmlDSig_SetRefDataBd');
  Chilkat_GetProcedureAddress(CkXmlDSig_SetRefDataFile, 'CkXmlDSig_SetRefDataFile');
  Chilkat_GetProcedureAddress(CkXmlDSig_VerifyReferenceDigest, 'CkXmlDSig_VerifyReferenceDigest');
  Chilkat_GetProcedureAddress(CkXmlDSig_CanonicalizeFragment, 'CkXmlDSig_CanonicalizeFragment');
  Chilkat_GetProcedureAddress(CkXmlDSig_LoadSignatureBd, 'CkXmlDSig_LoadSignatureBd');
  Chilkat_GetProcedureAddress(CkXmlDSig_VerifySignature, 'CkXmlDSig_VerifySignature');
  Chilkat_GetProcedureAddress(CkXmlDSig_GetKeyInfo, 'CkXmlDSig_GetKeyInfo');
  Chilkat_GetProcedureAddress(CkXmlDSig_GetPublicKey, 'CkXmlDSig_GetPublicKey');
  Chilkat_GetProcedureAddress(CkXmlDSig_UseCertVault, 'CkXmlDSig_UseCertVault');
  Chilkat_GetProcedureAddress(CkXmlDSig_SetHmacKey, 'CkXmlDSig_SetHmacKey');
  Chilkat_GetProcedureAddress(CkXmlDSig_SetPublicKey, 'CkXmlDSig_SetPublicKey');
  Chilkat_GetProcedureAddress(CkXmlDSig_GetCerts, 'CkXmlDSig_GetCerts');
  Chilkat_GetProcedureAddress(CkXmlDSig_HasEncapsulatedTimeStamp, 'CkXmlDSig_HasEncapsulatedTimeStamp');
  Chilkat_GetProcedureAddress(CkXmlDSig_AddEncapsulatedTimeStamp, 'CkXmlDSig_AddEncapsulatedTimeStamp');
  Chilkat_GetProcedureAddress(CkXmlDSig_SetHttpObj, 'CkXmlDSig_SetHttpObj');

end.
