WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
SPDX-License-Identifier: AGPL3.0-or-later
-*/
+ */
/**
* @author Christian Grothoff
/**
* Query key revocation status.
*/
-struct QueryMessage
-{
+struct QueryMessage {
/**
* Type: #GNUNET_MESSAGE_TYPE_REVOCATION_QUERY
*/
* Key to check.
*/
struct GNUNET_CRYPTO_EcdsaPublicKey key;
-
};
/**
* Key revocation response.
*/
-struct QueryResponseMessage
-{
+struct QueryResponseMessage {
/**
* Type: #GNUNET_MESSAGE_TYPE_REVOCATION_QUERY_RESPONSE
*/
* #GNUNET_NO if revoked, #GNUNET_YES if valid.
*/
uint32_t is_valid GNUNET_PACKED;
-
};
* #GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE_RESPONSE (which is just
* in a `struct GNUNET_MessageHeader`.
*/
-struct RevokeMessage
-{
+struct RevokeMessage {
/**
* Type: #GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE
*/
* Key to revoke.
*/
struct GNUNET_CRYPTO_EcdsaPublicKey public_key;
-
};
/**
* Key revocation response.
*/
-struct RevocationResponseMessage
-{
+struct RevocationResponseMessage {
/**
* Type: #GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE_RESPONSE
*/
* #GNUNET_YES on success
*/
uint32_t is_valid GNUNET_PACKED;
-
};