-
Notifications
You must be signed in to change notification settings - Fork 532
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose HMAC-SHA-256 interface on Android
- Loading branch information
Showing
4 changed files
with
71 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
app-android/app/src/androidTest/java/de/tutao/tutanota/testdata/HmacSha256TestData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package de.tutao.tutanota.testdata; | ||
|
||
public class HmacSha256TestData { | ||
|
||
String keyHex; | ||
String dataHex; | ||
String hmacSha256TagHex; | ||
|
||
public HmacSha256TestData() { | ||
} | ||
|
||
public HmacSha256TestData(String keyHex, String dataHex, String hmacSha256TagHex) { | ||
this.keyHex = keyHex; | ||
this.dataHex = dataHex; | ||
this.hmacSha256TagHex = hmacSha256TagHex; | ||
} | ||
|
||
public String getKeyHex() { | ||
return keyHex; | ||
} | ||
|
||
public void setKeyHex(String keyHex) { | ||
this.keyHex = keyHex; | ||
} | ||
|
||
public String getDataHex() { | ||
return dataHex; | ||
} | ||
|
||
public void setDataHex(String dataHex) { | ||
this.dataHex = dataHex; | ||
} | ||
|
||
public String getHmacSha256TagHex() { | ||
return hmacSha256TagHex; | ||
} | ||
|
||
public void setHmacSha256TagHex(String hmacSha256TagHex) { | ||
this.hmacSha256TagHex = hmacSha256TagHex; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters