26 #ifndef SBITUNESSIGNATURE_H_
27 #define SBITUNESSIGNATURE_H_
29 #include <nsStringAPI.h>
33 class nsIScriptableUnicodeConverter;
56 nsresult
Update(nsAString
const & aStringData);
66 nsAString
const & aSignature);
71 nsAString & aSignature);
73 typedef nsCOMPtr<nsIScriptableUnicodeConverter> nsIScriptableUnicodeConverterPtr;
74 typedef nsCOMPtr<nsICryptoHash> nsICryptoHashPtr;
75 typedef nsCOMPtr<sbIDatabasePreparedStatement> PreparedStatementPtr;
80 nsICryptoHashPtr mHashProc;
95 PreparedStatementPtr mInsertSig;
100 PreparedStatementPtr mRetrieveSig;
nsresult StoreSignature(nsAString const &aID, nsAString const &aSignature)
nsresult Update(nsAString const &aStringData)
nsresult RetrieveSignature(nsAString const &aID, nsAString &aSignature)
nsCOMPtr< sbIDatabaseQuery > sbIDatabaseQueryPtr
nsresult GetSignature(nsAString &aSignature)
An object responsible for executing SQL queries on the database.
A prepared database statement.