Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandrsarapulovgl authored Sep 21, 2021
1 parent 11429c0 commit 9440e50
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ class QrCodeTests {
assertTrue(result is CertificateDecodingResult.Success)
val pubkey =
"MIICfzCCAiSgAwIBAgIJANDkbKaGCvSkMAoGCCqGSM49BAMCMGsxCzAJBgNVBAYTAlNHMRIwEAYDVQQIDAlTaW5nYXBvcmUxJTAjBgNVBAoMHEdvdmVybm1lbnQgVGVjaG5vbG9neSBBZ2VuY3kxITAfBgNVBAMMGGNzY2Euc3RhZ2luZy5ub3RhcmlzZS5pbzAeFw0yMTA4MjAwODEwMjVaFw0yMzA4MjAwODEwMjVaMF8xCzAJBgNVBAYTAlNHMRIwEAYDVQQIDAlTaW5nYXBvcmUxGzAZBgNVBAoMEk1pbmlzdHJ5IE9mIEhlYWx0aDEfMB0GA1UEAwwWZHNjLnN0YWdpbmcubW9oLmdvdi5zZzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABG6h52WC7Ckx2k95sz7xGAwHpDQIpE+lMhebUORtvNWlCTEEOm1XsuBlmv/jS8myG0KrkMYVE6ipnGVGBDoCSzWjgbwwgbkwDgYDVR0PAQH/BAQDAgeAMB0GA1UdDgQWBBQhexgG2ZTivr2S7HfMuPvHk8gC+jAfBgNVHSMEGDAWgBRw8Z6F7tNUNI+w2qkyzRBQdF8mzDA1BgNVHR8ELjAsMCqgKKAmhiRodHRwczovL3N0YWdpbmcubm90YXJpc2UuaW8vY3NjYS5jcmwwMAYDVR0lBCkwJwYLKwYBBAGON49lAQEGCysGAQQBjjePZQECBgsrBgEEAY43j2UBAzAKBggqhkjOPQQDAgNJADBGAiEAt2LRfzgyMlWgUatdJ91qUAhA0YsCIoKGqBBai0BNjkACIQDoSXxXHFoxynQfQUQiqW1nsNS4IZ/cr2TAA8P7Sd3qSw=="
assertTrue(verify(hCert, pubkey))
val res = verifyResult(hCert, pubkey)
assertTrue(res.coseVerified)
}

@Test
Expand Down

0 comments on commit 9440e50

Please sign in to comment.