12345678910111213141516171819202122232425262728293031323334353637 |
- #ifndef ANDROID_KEYSTORE_BACKEND_H
- #define ANDROID_KEYSTORE_BACKEND_H
- #include <stdint.h>
- class KeystoreBackend {
- public:
- virtual ~KeystoreBackend() {}
- virtual int32_t sign(const char *key_id, const uint8_t* in, size_t len,
- uint8_t** reply, size_t* reply_len) = 0;
- virtual int32_t get_pubkey(const char *key_id, uint8_t** pubkey,
- size_t* reply_len) = 0;
- };
- #endif
|