Location: Symbol Reference > Classes > TJwHash Class > TJwHash Methods > Sign Method > TJwHash.Sign Method (Cardinal, TJwKeyPairType)
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwHash.Sign Method (Cardinal, TJwKeyPairType)
Pascal
function Sign(out Len: Cardinal; Key: TJwKeyPairType = kptSignature): Pointer; overload;
Parameters 
Description 
out Len: Cardinal 
The length of the returned buffer  
Key: TJwKeyPairType = kptSignature 
A CSP usually has two key pairs. This parameter specifies which should be used.  

The buffer containing the signature. It should be freed using FreeBuffer when it is no longer needed.

Sign computes a signature of the data in the hash. The used CSP must have permanent key pairs and thus have not been created with the ccfVerifyContext flag. The buffer returned by this function must be freed using FreeBuffer .

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!