Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matrix-org
Olm
Commits
6f6d33c7
Commit
6f6d33c7
authored
Oct 27, 2016
by
pedroGitt
Browse files
Update test01VerifyEd25519Signing() with a real message
parent
31f8fe23
Changes
1
Hide whitespace changes
Inline
Side-by-side
java/android/OlmLibSdk/olm-sdk/src/androidTest/java/org/matrix/olm/OlmUtilityTest.java
View file @
6f6d33c7
...
...
@@ -56,7 +56,7 @@ public class OlmUtilityTest {
public
void
test01VerifyEd25519Signing
()
{
String
fingerPrintKey
=
null
;
StringBuffer
errorMsg
=
new
StringBuffer
();
String
message
=
"{\"
key1
\":\"
value1
\",\"key
2
\":\"
value2
\"}
;
"
;
String
message
=
"{\"
algorithms
\":
[
\"
m.megolm.v1.aes-sha2\",\"m.olm.v1.curve25519-aes-sha2\"],\"device_id\":\"YMBYCWTWCG
\",\"key
s
\":
{
\"
curve25519:YMBYCWTWCG\":\"KZFa5YUXV2EOdhK8dcGMMHWB67stdgAP4+xwiS69mCU\",\"ed25519:YMBYCWTWCG\":\"0cEgQJJqjgtXUGp4ZXQQmh36RAxwxr8HJw2E9v1gvA0\"},\"user_id\":\"@mxBob14774891254276b253f42-f267-43ec-bad9-767142bfea30:localhost:8480
\"}"
;
OlmAccount
account
=
null
;
// create account
...
...
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