-- -- This file is part of TALER -- Copyright (C) 2014--2022 Taler Systems SA -- -- TALER is free software; you can redistribute it and/or modify it under the -- terms of the GNU General Public License as published by the Free Software -- Foundation; either version 3, or (at your option) any later version. -- -- TALER is distributed in the hope that it will be useful, but WITHOUT ANY -- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -- A PARTICULAR PURPOSE. See the GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License along with -- TALER; see the file COPYING. If not, see -- CREATE TABLE auditor_exchange_signkeys (exchange_pub BYTEA PRIMARY KEY CHECK (LENGTH(exchange_pub)=32) ,master_sig BYTEA NOT NULL CHECK (LENGTH(master_sig)=64) ,ep_valid_from INT8 NOT NULL ,ep_expire_sign INT8 NOT NULL ,ep_expire_legal INT8 NOT NULL ); COMMENT ON TABLE auditor_exchange_signkeys IS 'list of the online signing keys of exchanges we are auditing'; COMMENT ON COLUMN auditor_exchange_signkeys.exchange_pub IS 'Public online signing key of the exchange.'; COMMENT ON COLUMN auditor_exchange_signkeys.master_sig IS 'Signature affirming the validity of the signing key of purpose TALER_SIGNATURE_MASTER_SIGNING_KEY_VALIDITY.'; COMMENT ON COLUMN auditor_exchange_signkeys.ep_valid_from IS 'Time when this online signing key will first be used to sign messages.'; COMMENT ON COLUMN auditor_exchange_signkeys.ep_expire_sign IS 'Time when this online signing key will no longer be used to sign.'; COMMENT ON COLUMN auditor_exchange_signkeys.ep_expire_legal IS 'Time when this online signing key legally expires.';