namespace Akenti class Signature : public ref_ptr<SignatureImpl> A Signature object is a reference-count pointer that wraps a SignatureImpl object
| | Signature (SignatureImpl *impl = NULL) Contructs a Signature object given a SignatureImpl object |
| | ~Signature () Decrements the reference_count and when it goes to zero destroys the object |
| | getInstance (const string& alg) Returns a Signature object of the type set in the security provider for the type of algorithm specified by alg |
A Signature object is a reference-count pointer that wraps
a SignatureImpl object. It provides applications, albeit indirectly,
with the functionality of a digital signature algorithm such as RSA-MD5
or DSA-SHA1. Digital signatures are used for authentication and integrity
assurance of digital data.
Usage:
try {
Signature sig = Signature::getInstance("RSA-MD5");
sig->update("Date");
sig->update("to");
sig->update("be signed");
string signature = sig->sign();
} catch(SecurityException e) { ... }
~Signature()
static Signature getInstance(const string& alg)
SecurityException if algorithm is not supported
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de