Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

stASN1Utils

Feature notes: PKIX / CMS implementation notes

Classes, interfaces and records

classeASN1Error

inherits from Exception

constructor Create(const aMessage: string; aLine, aColumn : Integer); property FirstMessageLine: string read fFirstMessageLine; property Line: Integer read fLine; property Column: Integer read fColumn;

classtASN1Parser

constructor Create(const aDecl: string); constructor CreateTokenize(aLine: pChar; aLineLen: Integer; aSyntax: pByte); procedure ParseNextToken(const aAllowed : tTokenKinds; const aErrorMessage: string); procedure Error(const aMessage: string); procedure Tokenize; property SourceLine: Integer read fSourceLine; property Column: Integer read GetColumn; property TokenKind: tTokenKind read fTokenKind; property Name: string read fName; property UniversalType: Cardinal read fUniversalType; property InQuote: Boolean read fInQuote; property StringKind: tStringKind read fStringKind; property Literal: string read GetLiteral; property Position: Integer read GetPosition; property OnPreProc: tPreProcEvent read fOnPreProc write SetOnPreProc;

Types (enumerations, sets, aliases)

enumtTokenKind

  tTokenKind = (tkNULL,
                tkModuleName,tkTypeReference,tkValueReference,tkClassReference,
                tkName,tkUniversalTypeName,
                tkUniversal,tkContext,tkApplication,tkPrivate,
                tkExplicit,tkImplicit,tkAutomatic,tkOf,tkEncapsulates,
                tkChoice,tkTypeIdentifier,tkClass,tkIdentifiedBy,
                tkMethod,tkInPar,tkOutPar,tkInOutPar,tkResult,
                tkDefault,tkOptional,
                tkSize, tkExtends, tkReplaces,
                tkExports, tkImports,tkFrom,tkTags,tkDefinitions,tkAll,tkAs,
                tkAssignment, tkExtensibility, tkImplied,
                tkBegin,tkEnd,
                tkBeginDecl,tkEndDecl,
                tkBeginTag,tkEndTag,
                tkLeftPar,tkRightPar,
                tkComma,tkEqual,tkEt,tkDot,tkPipe,tkSemiColon,tkRangeSeparator,
                tkExtensionMarker, tkVersionBegin, tkVersionEnd,
                tkComment,
                tkUnknown);

settTokenKinds

  tTokenKinds = set of tTokenKind;

enumtStringKind

  tStringKind = (skChar,skBin,skHex,skSingleQuote);

proctPreProcEvent

  tPreProcEvent = procedure (Sender: tObject; const aDirective: string) of object;

typepByte

  pByte = ^Byte;