retrieveEncryptionSessionByTmr method
Retrieve an encryption session with a TMR access JWT.
tmrJWT - The TMR JWT.
sessionId - The ID of the session to retrieve.
overEncryptionKey - The TMR over-encryption key. This MUST be a cryptographically random buffer of 64 bytes.
tmrAccessesFilters - Retrieval tmr accesses filters. If multiple TMR Accesses for this session are associated with the auth factor, filter out the unwanted ones.
tryIfMultiple - If multiple accesses are found for this session associated with the auth factor, whether or not to loop over all of them to find the wanted one.
useCache - Whether or not to use the cache (if enabled globally).
Returns the retrieved SealdEncryptionSession instance.
Implementation
SealdEncryptionSession retrieveEncryptionSessionByTmr(
    String tmrJWT,
    String sessionId,
    Uint8List overEncryptionKey,
    SealdTmrAccessesRetrievalFilters tmrAccessesFilters,
    {bool tryIfMultiple = true,
    bool useCache = true}) {
  return SealdEncryptionSession._fromC(_retrieveEncryptionSessionByTmr(
          tmrJWT, sessionId, overEncryptionKey,
          tmrAccessesFilters: tmrAccessesFilters,
          tryIfMultiple: tryIfMultiple,
          useCache: useCache)
      .pointer());
}