Skip to content

Commit

Permalink
- OSNMA
Browse files Browse the repository at this point in the history
-- update for public key
-- fixed DSM-PKR parser
-- added sample crt from Receiver guidline
  • Loading branch information
hirokawa committed Jan 3, 2025
1 parent 934751c commit db2bf44
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
29 changes: 29 additions & 0 deletions data/pubkey/osnma/OSNMA_PublicKey_test.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
-----BEGIN CERTIFICATE-----
MIICbDCCAhKgAwIBAgIQR8TxQ8P6YaUpTmPVVysBYjAKBggqhkjOPQQDAjA3MQsw
CQYDVQQGEwJFUzEOMAwGA1UECgwFRVVTUEExGDAWBgNVBAMMD0VVU1BBIE9TTk1B
IElDQTAeFw0yMzA3MjAxMTIyMzBaFw0yNTA4MDgxMTMzMDBaMDoxCzAJBgNVBAYT
AkVTMQ4wDAYDVQQKDAVFVVNQQTEbMBkGA1UEAwwSRVVTUEEgT1NOTUEgRUUgUEtS
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEA7LOZLwge92LxN+FkYf8toYyDWP/
oJFBD8FY+7d5gOqIaE2RjPAnKI68s/OK/HPgoLkO2ijQ8xAZyDdPB1dHSaOB/DCB
+TAdBgNVHQ4EFgQUaiIWWJsjyUNBPLb4nZMP4P5qPFQwHwYDVR0jBBgwFoAUIMBU
ha+CrpY8vN/BuQXe10ZyMqMwYwYDVR0gBFwwWjBOBgsrBgEEAYPVEQEBATA/MD0G
CCsGAQUFBwIBFjFodHRwczovL3d3dy5nc2MtZXVyb3BhLmV1L2dzYy1wcm9kdWN0
cy9PU05NQS9QS0kvMAgGBgQAj3oBAjBCBgNVHR8EOzA5MDegNaAzhjFodHRwczov
L3d3dy5nc2MtZXVyb3BhLmV1L2dzYy1wcm9kdWN0cy9PU05NQS9QS0kvMA4GA1Ud
DwEB/wQEAwIHgDAKBggqhkjOPQQDAgNIADBFAiEA6buQjuUM89pXcePQ0uqsGwDz
UenYuwqyTIplUnmfQ/YCIBBlL2r4JiBC/wlr0I0LdRUkv+T+YMNuLTEy7WVsXIsU
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIICMjCCAdigAwIBAgIUVmo7J+pBUUDP2fWjLPvDvY2HSIcwCgYIKoZIzj0EAwIw
NzELMAkGA1UEBhMCRVMxDjAMBgNVBAoMBUVVU1BBMRgwFgYDVQQDDA9FVVNQQSBP
U05NQSBJQ0EwHhcNMjMwNzIwMTAzMTM4WhcNMjUwNzIwMTAzMTM4WjA3MQswCQYD
VQQGEwJFUzEOMAwGA1UECgwFRVVTUEExGDAWBgNVBAMMD0VVU1BBIE9TTk1BIElD
QTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABE+Z3W0RHPYZfUolnhAUp4tRBSmv
1xdSZRhdcmYowNpc15N+x7xmDiYGPQwSBufoH2zU6HWp2bEpQhLEn1qeRhyjgcEw
gb4wHQYDVR0OBBYEFCDAVIWvgq6WPLzfwbkF3tdGcjKjMB8GA1UdIwQYMBaAFCDA
VIWvgq6WPLzfwbkF3tdGcjKjMBIGA1UdEwEB/wQIMAYBAf8CAQAwWAYDVR0gBFEw
TzBNBgorBgEEAYPVEQEBMD8wPQYIKwYBBQUHAgEWMWh0dHBzOi8vd3d3LmdzYy1l
dXJvcGEuZXUvZ3NjLXByb2R1Y3RzL09TTk1BL1BLSS8wDgYDVR0PAQH/BAQDAgEG
MAoGCCqGSM49BAMCA0gAMEUCIQDIwR/ODYlDt5WMFjuJIxtgDePgOWdXda2Mx/7/
ZorpKgIgQ/vrSy9PUxkO116V8HWJN7l05FSpVkqW9fwZNVYnoLU=
-----END CERTIFICATE-----
3 changes: 2 additions & 1 deletion samples/test_osnma.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
import matplotlib.pyplot as plt

tofst = -2 # time offset to syncronize tow
mt_file = 'OSNMA_MerkleTree_20240115100000_newPKID_1.xml'

nma = om.osnma()
nma = om.osnma(mt_file)

nma.flg_slowmac = True

Expand Down

0 comments on commit db2bf44

Please sign in to comment.