publicBytes property

Uint8List get publicBytes

Gets the public key bytes.

Throws an AskarKeyException if the public key bytes retrieval fails.

Implementation

Uint8List get publicBytes {
  try {
    return askarKeyGetPublicBytes(localKeyHandle).getValueOrException();
  } catch (e) {
    throw AskarKeyException('Failed to get key public bytes: $e');
  }
}