# 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>
# fec <k> <r> <max frame bytes, 0 = whole repairs> <source frames, comma separated>
#     <repair frames and pieces the standalone encoder emits after them, comma separated>
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 0211dccce18f03e80780020001275ba9f80000000001ca9a3b0000000044a9afe763f2061f0500000058425f5458000000000000000000000000015801000000000000000000000040000000359634a6,0a09dccce18f03e807be6c80010000000500000058425f5458000000000000000000000000599e68ec
frame XB_SECRET 1592655105 1800000000000 0001020304050607 30c7eac459dccce18f03e3fdd51a80a0f1c2b1340881fab7f705080cbf046d6d00505c18a30100001086369332b0491f2c2a13fa752c64f600cfa953e9270803ce9173397f
frame XB_PLAIN 1592655105 1800000000001 1011121314151617 20b9abdd59dccce18f03e3fdd51a81a0f1c2b1341011121314151617d25c8b2a
frame XB_SECRET 1592656386 1800000000002 2021222324252627 30c7eac459dccce18f03e3fdd51a82a0f1c2b134088284b8f705080cbf046d6d02505c18a301000010d16e665e31d29ff46730f1aed5987d656577f998155faa910e3b2da3
fec 4 1 0 03a1c1e3071c335d7895b4c401b75b09,062444668a9fb6e0fb1837476a8fa5bdd7f31131de433028,09a7c7e90d2239f9dcc00c,0c2a4a6c90a5bce6011e3d4d7095abc333d132ae 680004105b093028c00c32ae170000080800100400a25e53b2ce1bad5577e422239fde433028fe0e0859
fec 3 2 0 0fadcdef13283f6984a1c0d0f3182e46607ccd2df18c,1230507296abc2ec07804f65be,15b3d3f5192e456f8aa7c6d6f91e344c6682a0c0e2061b325c2ef8b45d 68000320f18c65beb45d0600082e4e689cadb8ea09864963b4061a0a06fe6ded138a1b325c2ef8b45d4f575a29,68000321f18c65beb45ddb00095d3aee8e92c1ec844755e52b01b66d797d0c1dc056e63477b518dc0926825c2f
fec 4 1 24 183656789cb1c8f20d2a49597ca1b7cfe905234365899eb5dffa17364669021cdf5e,1bb9d9fb1f344b7590adccdcff243a526c88a6c6e80c9ef5cdeb,1e3c5c7ea2b7cef813304f5f82a7bdd5ef0b29496b8fa4bbe50027db788e,01bfdf01253a517b96b3d2e2052a65ca565a 69000410002cdf5ecdeb788e565a34001c0c0cfcfafe5e09,690004100e04081c0418041838040855823cdcacbbad455c,690004101dcce60aa4fbf71130ed3ee7021cdf5e38ab02c9
fec 2 2 32 04426284a8bdd4fe1936556588adc3dbf5112f4f7195aac1eb06234252759ab0c8e2fe1c3c5e829766804092,07c5e5072b4057819cb9d8e80b30465e7894b2d2f4182d446e89a6c5d5f81d334b5e7f3e90 69000220003240923e9009000387878383fd837f858f8d8d839d8585fb192a76,69000220168d859d9d858d8785858f8587878d878383bc8122ac5e822c9604b6,690002202d9766804092f79af48a,69000221003240923e90b8002f6dc05ea939c1fce3da4d3804e68531497d0f9c,69000221166e8f73996584659e44afe16db5e0101d4369fe9142d58fc365b639,690002212db2f271b62c9386b9cd
