Location: Symbol Reference > Structs, Records, Enums > TJwEnumAlgorithmsEntry Record
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwEnumAlgorithmsEntry Record
Pascal
TJwEnumAlgorithmsEntry = record
  AlgId: ALG_ID;
  DefaultKeyLen: Cardinal;
  MinKeyLen: Cardinal;
  MaxKeyLen: Cardinal;
  ProtocolNum: Cardinal;
  ShortName: TJwString;
  LongName: TJwString;
  HashAlgorithm: Boolean;
  case Boolean of
    False: (EncrAlgType: TJwEncryptionAlgorithm;);
    True: (HashAlgType: TJwHashAlgorithm;);
end;
Members 
Description 
AlgId: ALG_ID; 
The algorithm as a Windows ALG_ID. This value can be useful if HashAlgType/EncrAlgType is haUnknown/eaUnknown. 
DefaultKeyLen: Cardinal; 
The default key length for the algorithm 
MinKeyLen: Cardinal; 
The minimal key length for the algorithm 
MaxKeyLen: Cardinal; 
The maximal key length for the algorithm 
ProtocolNum: Cardinal; 
The number of protocols supported 
ShortName: TJwString; 
The short name of the algorithm 
LongName: TJwString; 
The long name of the algorithm 
HashAlgorithm: Boolean; 
Is this a hash algorithm? 

An array of TJwEnumAlgorithmsEntry is returned by TJwCryptProvider.EnumAlgorithms. It is mostly the same as PROV_ENUMALGS_EX (see http://msdn2.microsoft.com/en-us/library/aa387441.aspx), but uses delphi strings.

Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!