-
Notifications
You must be signed in to change notification settings - Fork 44
Signed Message File Import
hmusavi edited this page Jul 28, 2017
·
10 revisions
To set up for receiving signed messages, the following properties or environment variables must be set:
Environment Variable | ODE Property | Description |
---|---|---|
ODE_CA_CERT_PATH | ode.caCertPath | path/to/CaCertFile |
ODE_SELF_CERT_PATH | ode.selfCertPath | path/to/selfCertFile |
ODE_SELF_PRIVATE_KEY_RECONSTRUCTION_FILE_PATH | ode.selfPrivateKeyReconstructionFilePath | path/to/selfPrivateKeyReconstructionFile |
ODE_SELF_SIGNING_PRIVATE_KEY_FILE_PATH | ode.selfSigningPrivateKeyFilePath | path/to/selfSigningPrivateKeyFile |
Import a signed message from a file such as wsmpforward.coer found in the repository sample data folder.
-
Visit the web UI at ODE_IP:8080 and use the File Upload widget to import your file. Note: Uploading a file no longer requires the user to specify header information. The ODE now automatically attempts to detect file type and handle appropriately.
-
Upon successful upload and decoding, the JSONified contents will appear on the web UI as in the picture below.
- Note the new metadata fields in the BSM:
{
"metadata": {
"generatedAt": "2017-07-26T21:03:13.125Z[UTC]",
"logFileName": "wsmpforward.coer",
"validSignature": true,
"payloadType": "us.dot.its.jpo.ode.model.OdeBsmPayload",
"serialId": {
"streamId": "534c15bf-60a8-4488-bc92-7741c2108ae9",
"bundleSize": 1,
"bundleId": 5,
"recordId": 72,
"serialNumber": 0
},
"receivedAt": "2017-07-28T17:53:39.549Z[UTC]",
"latency": 1,
"schemaVersion": 1
},
"payload": {
"dataType": "us.dot.its.jpo.ode.plugin.j2735.J2735Bsm",
"data": {
"coreData": {
"msgCnt": 120,
"id": "D7FF0000",
"secMark": 8400,
"position": {
"latitude": 42.332522,
"longitude": -83.0487731,
"elevation": 154.7
},
"accelSet": {
"accelYaw": 0
},
"accuracy": {
"semiMajor": 12.7,
"semiMinor": 12.7
},
"speed": 0,
"heading": 352.6375,
"brakes": {
"wheelBrakes": {
"leftFront": false,
"rightFront": false,
"unavailable": true,
"leftRear": false,
"rightRear": false
},
"traction": "unavailable",
"abs": "unavailable",
"scs": "unavailable",
"brakeBoost": "unavailable",
"auxBrakes": "unavailable"
},
"size": {
"width": 150,
"length": 250
}
},
"partII": [
{
"id": "VEHICLESAFETYEXT",
"value": {
"pathHistory": {
"crumbData": [
{
"elevationOffset": -19.8,
"latOffset": 0.0000755,
"lonOffset": 0.0002609,
"timeOffset": 32
},
{
"elevationOffset": -25.8,
"latOffset": 0.0000732,
"lonOffset": 0.0003135,
"timeOffset": 33.8
},
{
"elevationOffset": -34.5,
"latOffset": 0.0001027,
"lonOffset": 0.0004479,
"timeOffset": 37
},
{
"elevationOffset": -128.2,
"latOffset": 0.000232,
"lonOffset": 0.0011832,
"timeOffset": 73.24
}
]
},
"pathPrediction": {
"confidence": 50,
"radiusOfCurve": 0
}
}
},
{
"id": "SUPPLEMENTALVEHICLEEXT",
"value": {
"classDetails": {
"fuelType": "UNKNOWNFUEL",
"hpmsType": "NONE",
"keyType": 0,
"regional": [],
"role": "BASICVEHICLE"
},
"vehicleData": {
"bumpers": {
"front": 0.5,
"rear": 0.6
},
"height": 1.9
},
"weatherProbe": {},
"regional": []
}
}
]
},
"schemaVersion": 1
},
"schemaVersion": 1
}
- Decode a file with asn1c
- Deposit BSM to S3
- Docker fix for SSL issues due to corporate network
- Docker management
- ECDSA Primer
- Filter BSMs through PPM module
- Geofence Filtering for PPM
- Import BSMs from RSU log file
- Import TIMs from RSU log file
- jpo security svcs Integration
- Link host directory to Docker directory
- Migrating from SDW websocket depositor to SDW Depositor Submodule
- ODE Release Deployment
- ODE Release Preparation
- Prepare a fresh Ubuntu instance for ODE installation
- Process for Handling Bugs (Code Defects)
- Run the ODE using the ASN codec module
- Query RSU for set TIMs
- Schema Version 6 Change Notice
- Signed Message File Import
- TIM REST Endpoint Changes
- Using the .env configuration file
- Using the ODE test harness
- Delete TIM on RSU test
- Event Logger Test
- Import Decode and Deliver BSM Test
- Manage SNMP Test
- Sending PDM to RSU Test
- Sending TIM to RSU Test
- Submit_TIM_To_SDW Test
- Log File Changes (schemaVersion=4)
- Receive BSMs over UDP
- Receive ISD via UDP and deposit to SDC
- Receive VSD via UDP and deposit to SDC
- Run the crypto test vectors code with ODE team's OSS encoder
- SchemaVersion 5 Change Notice