# SEDSnet cross-binding wire vectors, shared by the Rust, C and Python tests.
#
# Every binding registers the schema and keys below through its own API,
# regenerates each output column from the inputs on the same line, requires
# byte-identical results, then decodes every frame (and relays one) with its
# own routers. The keys are public test values: never use them for real
# traffic.
#
# Regenerate (Rust is the reference):
#   SEDSNET_REGEN_CROSS_BINDING_VECTORS=1 cargo test --test cross_binding_vectors
#
# endpoint <name>
# type <name> <uint8 element count> <e2e policy: 0 prefer off, 1 prefer on, 2 require on>
# identity <endpoint|type> <name> <wire id>
# key <key id> <key hex>
# crypto <key id> <nonce hex> <aad hex> <plaintext hex> <ciphertext hex> <tag hex>
# credential <root key hex> <subject id> <key id> <epoch> <not before ms> <not after ms> <permissions> <now ms> <credential hex>
# discovery <hostname> <frames of one announcement, comma separated, without the schema
#           advertisement (it lists the build's seed schema)>
# frame <type name> <sender key id> <timestamp ms> <payload hex> <frame hex>
endpoint XB_SINK
type XB_SECRET 8 2
type XB_PLAIN 8 0
identity endpoint XB_SINK 55934691
identity type XB_SECRET 187774279
identity type XB_PLAIN 188175801
key 1592655105 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
key 1592656386 534544532063726f73732062696e64696e67
crypto 1592655105 0c0b0a090807060504030201 616164 68656c6c6f2063726f73732062696e64696e67 97af77cd889169ca2edfc73e8662e33cd99ee9 6e96335326e16cd8f4aeb19c341f2844
crypto 1592656386 000000000000000000000000 - 7365616c65642062792061206869676865722d6c6576656c206b6579 225fd4778133863d6eb4c41e2ce9a5290c322ef4198ac247ebd2faea 834ce30bde864c0e24c36747932d04a4
credential 726f6f74206b6579206d6174657269616c2c20746573742076616c7565206f6e6c79 43981 1592655105 3 1000 900000 5 5000 5345445343523100cdab00000000000001fded5e0300000000000000e803000000000000a0bb0d000000000005000000835be5f6d2d91ab2a44ef83dac8f7c7b19722058793e3e2b05868445a05e9ba1
discovery XB_TX 0211dccce18f03e80780020001275ba9f80000000001ca9a3b0000000044a9afe763f2061f0500000058425f5458000000000000000000000000015800000000000000000000000040000000a4075c08,0a09dccce18f03e807be6c80010000000500000058425f5458000000000000000000000000599e68ec
frame XB_SECRET 1592655105 1800000000000 0001020304050607 30c7eac459dccce18f03e3fdd51a80a0f1c2b1340881fab7f705080cbf046d6d00505c18a30100001086369332b0491f2c2a13fa752c64f600cfa953e9270803ce9173397f
frame XB_PLAIN 1592655105 1800000000001 1011121314151617 20b9abdd59dccce18f03e3fdd51a81a0f1c2b1341011121314151617d25c8b2a
frame XB_SECRET 1592656386 1800000000002 2021222324252627 30c7eac459dccce18f03e3fdd51a82a0f1c2b134088284b8f705080cbf046d6d02505c18a301000010d16e665e31d29ff46730f1aed5987d656577f998155faa910e3b2da3
