secretBytes property

Uint8List get secretBytes

Gets the secret key bytes.

Throws an AskarKeyException if the secret key bytes retrieval fails.

Implementation

Uint8List get secretBytes {
  try {
    return askarKeyGetSecretBytes(localKeyHandle).getValueOrException();
  } catch (e) {
    throw AskarKeyException('Failed to get key secret bytes: $e');
  }
}