Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

StreamSec.DSI.PkixMessage

Feature notes: PKIX / CMS implementation notes

Classes, interfaces and records

classtUserDefinedAlgorithmItem

inherits from TCollectionItem

property Identifier: AnsiString read fIdentifier write SetIdentifier;

classtUserDefinedEncryptionItem

inherits from tUserDefinedAlgorithmItem

function GetCipherClass: tCipherClass;
Delegates to MustFindCipherClass, forwarding fAlgorithm and fMode, and returns its result.
property Algorithm: tCipherAlg read fAlgorithm write SetAlgorithm; property Mode: tCipherMode read fMode write SetMode; property Padding: tBlockPaddingMode read fPadding write SetPadding; property DefaultKeyLength: Integer read fDefaultKeyLength write SetDefaultKeyLength;

classtUserDefinedSignatureItem

inherits from tUserDefinedAlgorithmItem

function GetHashClass: tHashClass; property DigestAlgorithm: tHashAlgorithm read fDigestAlgorithm write SetDigestAlgorithm;

classtUserDefinedAlgorithms

inherits from TOwnedCollection

function FindItem(const aIdentifier: AnsiString): tUserDefinedAlgorithmItem;

classtUserDefinedEncryptions

inherits from tUserDefinedAlgorithms

constructor Create(aOwner: TComponent); function Add: tUserDefinedEncryptionItem; reintroduce;
Delegates to tUserDefinedEncryptionItem, passing 1 argument(s), and returns its result.
procedure SuggestRequiredUnits(aProc: tGetStringMethod); property Items[aIndex: Integer]: tUserDefinedEncryptionItem read GetItems;

classtUserDefinedSignatures

inherits from tUserDefinedAlgorithms

constructor Create(aOwner: TComponent); function Add: tUserDefinedSignatureItem; reintroduce;
Delegates to tUserDefinedSignatureItem, passing 1 argument(s), and returns its result.
procedure SuggestRequiredUnits(aProc: tGetStringMethod); property Items[aIndex: Integer]: tUserDefinedSignatureItem read GetItems;

classTstAbstractPkixMessage

inherits from TstCustomProtoComponent

constructor Create(AOwner: TComponent); override; destructor Destroy; override; function Decode(aSrc, aDst: TStream): Boolean; overload; virtual;
Delegates to Decode, forwarding aSrc and fBody, and returns its result.
function Decode(aSrc: TStream; aDst: TStrings): Boolean; overload; virtual;
Delegates to Decode, forwarding aSrc and fBody, and returns its result.
function Decode(aSrc, aDst: TStrings): Boolean; overload; virtual;
Delegates to Decode, forwarding aSrc and fBody, and returns its result.
function Decode(aSrc: TStream): Boolean; overload; virtual;
Delegates to Decode, forwarding aSrc and fBody, and returns its result.
function Decode(aSrc: TStrings): Boolean; overload; virtual;
Delegates to Decode, forwarding aSrc and fBody, and returns its result.
function Encode(aSrc, aDst: TStream): Boolean; overload; virtual;
Delegates to Encode, forwarding fBody and aDst, and returns its result.
function Encode(aSrc: TStrings; aDst: TStream): Boolean; overload; virtual;
Delegates to Encode, forwarding fBody and aDst, and returns its result.
function Encode(aSrc, aDst: TStrings): Boolean; overload; virtual;
Delegates to Encode, forwarding fBody and aDst, and returns its result.
function Encode(aDst: TStream): Boolean; overload; virtual;
Delegates to Encode, forwarding fBody and aDst, and returns its result.
function Encode(aDst: TStrings): Boolean; overload; virtual;
Delegates to Encode, forwarding fBody and aDst, and returns its result.
function AddRecipientCertificateID(const aID: OctetString): Integer; procedure ClearRecipientCertificates; procedure SuggestRequiredUnits(aProc: tGetStringMethod); override; property KeyManager: TstKeyManager read GetKeyManager; property OriginatorCertificate: iCertificate read GetOriginatorCertificate write SetOriginatorCertificate; property OriginatorCertificateID: OctetString read fOriginatorCertificateID write SetOriginatorCertificateID; property RecipientCertificateCount: Integer read GetRecipientCertificateCount; property RecipientCertificateIDs[aIndex: Integer]: OctetString read GetRecipientCertificateIDs; property RecipientCertificates[aIndex: Integer]: iCertificate read GetRecipientCertificates; property UserDefinedEncryptions: tUserDefinedEncryptions read fUserDefinedEncryptions write SetUserDefinedEncryptions; property UserDefinedSignatures: tUserDefinedSignatures read fUserDefinedSignatures write SetUserDefinedSignatures; property KeyManagerName: string read GetKeyManagerName write SetKeyManagerName; property Body: TStrings read fBody write SetBody; property CollectedStoreName: string read fCollectedStoreName write SetCollectedStoreName; property MyStoreName: string read fMyStoreName write SetMyStoreName; property TrustedStoreName: string read fTrustedStoreName write SetTrustedStoreName; property CertificateIdentifierIndexName: string read fCertificateIdentifierIndexName write SetCertificateIdentifierIndexName;