Opera 12.15 Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

signed_file.h 450B

123456789101112
  1. #ifndef _SSL_SIGN_H_
  2. #define _SSL_SIGN_H_
  3. BOOL VerifySignedFile(URL &signed_file, const OpStringC8 &signature, const unsigned char *key, unsigned long key_len, SSL_HashAlgorithmType alg=SSL_SHA);
  4. BOOL VerifyChecksum(URL &signed_file, const OpStringC8 &checksum, SSL_HashAlgorithmType alg);
  5. /**
  6. * Check file signature (SHA 256 hash)
  7. */
  8. OP_STATUS CheckFileSignature(const OpString &full_path, const OpString8& signature);
  9. #endif // _SSL_SIGN_H_