ephemeral property

bool get ephemeral

Gets whether the key is ephemeral.

Throws an AskarKeyException if the ephemeral status retrieval fails.

Implementation

bool get ephemeral {
  try {
    return askarKeyGetEphemeral(localKeyHandle).getValueOrException();
  } catch (e) {
    throw AskarKeyException('Failed to get key ephemeral: $e');
  }
}