Package io.seald.seald_sdk
Class SealdUtils
-
- All Implemented Interfaces:
public final class SealdUtils
-
-
Method Summary
Modifier and Type Method Description final static StringparseSessionIdFromFile(String encryptedFilePath)Takes the path to an encrypted file, and returns the session id. final static StringparseSessionIdFromBytes(ByteArray fileByteArray)Takes an encrypted file as bytes, and returns the session id. final static StringparseSessionIdFromMessage(String message)Takes an encrypted message, and returns the session id. -
-
Method Detail
-
parseSessionIdFromFile
final static String parseSessionIdFromFile(String encryptedFilePath)
Takes the path to an encrypted file, and returns the session id.
- Parameters:
encryptedFilePath- Path to the encrypted file.
-
parseSessionIdFromBytes
final static String parseSessionIdFromBytes(ByteArray fileByteArray)
Takes an encrypted file as bytes, and returns the session id.
- Parameters:
fileByteArray- The encrypted file as ByteArray.
-
parseSessionIdFromMessage
final static String parseSessionIdFromMessage(String message)
Takes an encrypted message, and returns the session id.
- Parameters:
message- The encrypted message.
-
-
-
-