Package | Description |
---|---|
ch.threema.apitool |
Modifier and Type | Method and Description |
---|---|
static Key |
Key.decodeKey(String encodedKey)
Decodes and validates an encoded key.
|
static Key |
Key.decodeKey(String encodedKey,
String expectedKeyType)
Decodes and validates an encoded key.
|
static Key |
DataUtils.readKeyFile(File inFile)
Read an encoded key from a file and return it as a key instance.
|
static Key |
DataUtils.readKeyFile(File inFile,
String expectedKeyType)
Read an encoded key from a file and return it as a key instance.
|
Modifier and Type | Method and Description |
---|---|
static void |
DataUtils.writeKeyFile(File outFile,
Key key)
Write an encoded key to a file
Encoded key format: type:hex_key.
|
Copyright © 2015 Threema GmbH, Staldenbachstrasse 11, 8808 Pfäffikon SZ, Schweiz. All rights reserved.