2021-01-18 00:00:45 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
2021-01-18 01:17:06 +00:00
|
|
|
#include "json.hpp"
|
|
|
|
|
2021-01-18 00:00:45 +00:00
|
|
|
namespace BareMinimumCrypto {
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
struct ExpiringSignature {
|
|
|
|
string cert_s;
|
|
|
|
vector <uint8_t> sig;
|
|
|
|
|
|
|
|
bool operator == (const ExpiringSignature & o) const;
|
|
|
|
bool operator != (const ExpiringSignature & o) const;
|
|
|
|
};
|
|
|
|
}
|