loadKey method

LocalKeyHandle loadKey(
  1. int index
)

Loads the key at the specified index.

Throws an AskarKeyEntryListException if the key loading fails.

Implementation

LocalKeyHandle loadKey(int index) {
  try {
    return askarKeyEntryListLoadLocal(this, index).getValueOrException();
  } catch (e) {
    throw AskarKeyEntryListException('Failed to load key: $e');
  }
}