Skip to main content

Module manual

Module manual 

Source

Structsยง

ManualLicense

Constantsยง

EMBEDDED_PUBLIC_KEY_HEX ๐Ÿ”’
Embedded public key (hex) used to verify manual licences in production builds. Replace this with the public half of the keypair you generate via cargo run --bin issue-license -- generate; keep the private half out of the repo.
MAX_NAME_BYTES ๐Ÿ”’
TOKEN_PREFIX
TOKEN_VERSION ๐Ÿ”’

Functionsยง

decode_message ๐Ÿ”’
embedded_verifying_key ๐Ÿ”’
encode_message ๐Ÿ”’
looks_like_manual_token
parse_verifying_key_hex ๐Ÿ”’
sign
verify
verify_with