aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet/crypto/signature.go
blob: ba8e535de1676e94a7b11680934cd3f1c32eb4b5 (plain) (blame)
1
2
3
4
5
6
7
package crypto

// SignaturePurpose is the GNUnet data structure used as header for signed data.
type SignaturePurpose struct {
	Size    uint32 `order:"big"` // How many bytes are signed?
	Purpose uint32 `order:"big"` // Signature purpose
}