Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ITS - Intelligent Transport Systems
ITS
Commits
9e763848
Commit
9e763848
authored
Oct 18, 2016
by
garciay
Browse files
Bug fixed in GnLayer/Security (thanks to Commsignia)
parent
4e42dfb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
javasrc/adapter/org/etsi/its/adapter/ports/GnPort.java
javasrc/adapter/org/etsi/its/adapter/ports/GnPort.java
+4
-4
No files found.
javasrc/adapter/org/etsi/its/adapter/ports/GnPort.java
View file @
9e763848
...
@@ -221,8 +221,8 @@ public class GnPort extends ProtocolPort implements Runnable, IEthernetSpecific
...
@@ -221,8 +221,8 @@ public class GnPort extends ProtocolPort implements Runnable, IEthernetSpecific
(
byte
)
p_beacon
.
length
// Data payload length
(
byte
)
p_beacon
.
length
// Data payload length
},
},
p_beacon
,
// End of SecuredMessage Payloads
p_beacon
,
// End of SecuredMessage Payloads
new
byte
[]
{
(
byte
)
0x
01
},
// Signature
new
byte
[]
{
(
byte
)
0x
43
},
// Signature
length
new
byte
[]
{
(
byte
)
0x
43
}
// Signature
length
new
byte
[]
{
(
byte
)
0x
01
}
// Signature
);
);
//TERFactory.getInstance().logDebug("GnPort.buildToBeSignedData: toBeSignedData=" + ByteHelper.byteArrayToString(toBeSignedData));
//TERFactory.getInstance().logDebug("GnPort.buildToBeSignedData: toBeSignedData=" + ByteHelper.byteArrayToString(toBeSignedData));
...
@@ -490,8 +490,8 @@ public class GnPort extends ProtocolPort implements Runnable, IEthernetSpecific
...
@@ -490,8 +490,8 @@ public class GnPort extends ProtocolPort implements Runnable, IEthernetSpecific
},
},
payloadLengthTls
,
// Data payload length
payloadLengthTls
,
// Data payload length
securedPayload
,
securedPayload
,
new
byte
[]
{
(
byte
)
0x
01
},
// Signature
new
byte
[]
{
(
byte
)
0x
43
},
// Signature
length
new
byte
[]
{
(
byte
)
0x
43
}
// Signature
length
new
byte
[]
{
(
byte
)
0x
01
}
// Signature
);
);
//TERFactory.getInstance().logDebug("GnPort.createSecuredMessage: toBeSignedData=" + ByteHelper.byteArrayToString(toBeSignedData));
//TERFactory.getInstance().logDebug("GnPort.createSecuredMessage: toBeSignedData=" + ByteHelper.byteArrayToString(toBeSignedData));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment