Location: Symbol Reference > Classes > TJwCryptKey Class > TJwCryptKey.Generate Constructor
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwCryptKey.Generate Constructor
Pascal
constructor Generate(CSP: TJwCryptProvider; Alg: TJwEncryptionAlgorithm; Flags: TJwKeyFlagSet; Length: Word);
Parameters 
Description 
CSP: TJwCryptProvider 
The cryptographic service provider  
Alg: TJwEncryptionAlgorithm 
The algorithm for which the key is to be used  
Flags: TJwKeyFlagSet 
Flags to use with the WinAPI call  
Length: Word 
The length of the key 

Randomly generates a key

Exceptions 
Description 
will be raised if the underlying Windows call fails. 
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!