Class org.lightningj.paywall.btcpayserver.BTCPayServerHelperSpec

4

tests

0

failures

0

ignored

0.027s

duration

100%

successful

Tests

Test Duration Result
Postman Test and remove 0.007s passed
Verify that correct SIN number is generated for a given ECPublicKey 0.006s passed
Verify that doesn't throw exception when generating signature header 0.005s passed
Verify that pubKeyInHex() converts the key ec Q point to compressed hexadecimal format 0.009s passed

Standard output

sin: Tf6ysK7ArtjeLL5jhBPJckHZPzR1tJwVUXZ
key hex: 026B871DF26A69210A2E8AD0EADA4F732931D3B16672DE7D97A521C798BA2860D0
signature: 3046022100865679D43623222882469CF6C6A1962A2D7CFD3702292DCA86622CDA6259EA4A022100C7DF0168A9ED485448B3750024FE73AB463C7573DFB9B2C967BF4B68D292760E