Location: Symbol Reference > Classes > TJwHash Class > TJwHash Methods > Sign Method > TJwHash.Sign Method (Pointer, Cardinal, TJwKeyPairType)
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwHash.Sign Method (Pointer, Cardinal, TJwKeyPairType)
Pascal
procedure Sign(Signature: Pointer; var Len: Cardinal; Key: TJwKeyPairType = kptSignature); overload;
Parameters 
Description 
Signature: Pointer 
The buffer the signature is stored in  
var Len: Cardinal 
The length of the buffer specified in Signature. The actual size of the signature is returned here.  
Key: TJwKeyPairType = kptSignature 
A CSP usually has two key pairs. This parameter specifies which should be used. 

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.

Exceptions 
Description 
will be raised if the underlying Windows call fails because the specified buffer is to small or for other reasons. 
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!