privateKey property

Uint8List get privateKey

Gets the raw private key bytes. Throws if not decrypted.

Implementation

Uint8List get privateKey {
  if (!isDecrypted()) {
    throw StateError('Entry not decrypted. Call decrypt() first.');
  }
  return rawPrivateKey!;
}