|
JWSCL Documentation
|
constructor Create(Alg: TJwHashAlgorithm; const CSP: TJwCryptProvider = nil; const Key: TJwCryptKey = nil);
|
Parameters |
Description |
|
Alg: TJwHashAlgorithm |
Specifies the algorithm to use |
|
const CSP: TJwCryptProvider = nil |
The provider the hash uses. If it is nil, the default CSP of type ctRsaFull is used. Be aware that you will not be able to call the GetSignatureLength and Sign functions in this case since the CSP is created with the flag ccfVerifyContext meaning that there are no lasting key pairs in the CSP. The CSP can be freed during lifetime of the hash since the hash increments the reference count of the CSP. |
|
The |
key used for data hashing if a keyed algorithm is specified. Otherwise this must be nil. |
Creates a new hash object
|
Exceptions |
Description |
|
will be raised if there is a key specified for a non-keyed algorithm or if no key is specified for a keyed algorithm. | |
|
will be raised if the underlying Windows call fails. TJwHash |
|
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!
|