Signs the specified data and add a timestamp from the given TSA client
Namespace:
Cryptware.NDigitSign
Assembly:
NDigitSign (in NDigitSign.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function Sign ( _
data As Byte(), _
session As Session, _
prikey As PrivateKey, _
certificate As Certificate _
) As Byte() |
Visual C++ |
---|
public:
virtual array<unsigned char>^ Sign(
[InAttribute] array<unsigned char>^ data,
Session^ session,
PrivateKey^ prikey,
Certificate^ certificate
) sealed |
JavaScript |
---|
function sign(data, session, prikey, certificate); |
Return Value
Signed data in PKCS#7 DER encoded format
See Also