signature_purpose.go (3531B)
1 // Code generated by enum generator; DO NOT EDIT. 2 3 //nolint:stylecheck // allow non-camel-case for constants 4 package enums 5 6 type SigPurpose uint32 7 8 // Signature purpose values 9 const ( 10 SIG_TEST SigPurpose = 0 // Test signature, not valid for anything other than writing a test. (Note that the signature verification code will accept this value). 11 SIG_TRANSPORT_PONG_OWN SigPurpose = 1 // Signature for confirming that this peer uses a particular address. 12 SIG_TRANSPORT_DISCONNECT SigPurpose = 2 // Signature for confirming that this peer intends to disconnect. 13 SIG_REVOCATION SigPurpose = 3 // Signature for confirming a key revocation. 14 SIG_NAMESPACE_ADVERTISEMENT SigPurpose = 4 // Signature for a namespace/pseudonym advertisement (by the namespace owner). 15 SIG_PEER_PLACEMENT SigPurpose = 5 // Signature by which a peer affirms that it is providing a certain bit of content for use in LOCation URIs. 16 SIG_DHT_HOP SigPurpose = 6 // Signature by which a peer affirms that it forwarded a message in the DHT. 17 SIG_HELLO SigPurpose = 7 // Signature by which a peer affirms its address. 18 SIG_DNS_RECORD SigPurpose = 11 // Signature on a GNUNET_DNS_Advertisement. 19 SIG_CHAT_MESSAGE SigPurpose = 12 // Signature of a chat message. 20 SIG_CHAT_RECEIPT SigPurpose = 13 // Signature of confirmation receipt for a chat message. 21 SIG_NSE_SEND SigPurpose = 14 // Signature of a network size estimate message. 22 SIG_GNS_RECORD_SIGN SigPurpose = 15 // Signature of a gnunet naming system record block 23 SIG_SET_ECC_KEY SigPurpose = 16 // Purpose is to set a session key. 24 SIG_FS_UBLOCK SigPurpose = 17 // UBlock Signature, done using DSS, not ECC 25 SIG_REGEX_ACCEPT SigPurpose = 18 // Accept state in regex DFA. Peer affirms that it offers the matching service. 26 SIG_CONVERSATION_RING SigPurpose = 20 // Signature of a conversation ring. 27 SIG_SECRETSHARING_DKG1 SigPurpose = 21 // Signature for the first round of distributed key generation. 28 SIG_SECRETSHARING_DKG2 SigPurpose = 22 // Signature for the second round of distributed key generation. 29 SIG_SECRETSHARING_DECRYPTION SigPurpose = 23 // Signature for the cooperative decryption. 30 SIG_RECLAIM_CODE_SIGN SigPurpose = 27 // Signature for a GNUid Ticket 31 SIG_DELEGATE SigPurpose = 28 // Signature for a GNUnet credential 32 SIG_TRANSPORT_ADDRESS SigPurpose = 29 // Signature by a peer affirming that this is one of its addresses for the given time period. 33 SIG_TRANSPORT_EPHEMERAL SigPurpose = 30 // Signature by a peer affirming that the given ephemeral key is currently in use by that peer's transport service. 34 SIG_COMMUNICATOR_TCP_HANDSHAKE SigPurpose = 31 // Signature used by TCP communicator handshake. 35 SIG_COMMUNICATOR_TCP_REKEY SigPurpose = 32 // Signature used by TCP communicator rekey. 36 SIG_COMMUNICATOR_UDP_HANDSHAKE SigPurpose = 33 // Signature used by UDP communicator handshake. 37 SIG_COMMUNICATOR_UDP_BROADCAST SigPurpose = 34 // Signature used by UDP broadcasts. 38 SIG_TRANSPORT_CHALLENGE SigPurpose = 35 // Signature by a peer affirming that it received a challenge (and stating how long it expects the address on which the challenge was received to remain valid). 39 SIG_TRANSPORT_DV_HOP SigPurpose = 36 // Signature by a peer affirming that it is on a DV path. 40 SIG_TRANSPORT_DV_INITIATOR SigPurpose = 37 // Signature by a peer affirming that it originated the DV path. 41 SIG_CADET_CONNECTION_INITIATOR SigPurpose = 38 // Signature by a peer that like to create a connection. 42 SIG_COMMUNICATOR_TCP_HANDSHAKE_ACK SigPurpose = 39 // Signature by a peer sending back the nonce received at initial handshake. 43 44 )