nativeHandle property

  1. @experimental
dynamic nativeHandle

Returns a native handle to the secure key.

Dangerous API. Only use if you have no other choice and you know what you are doing. You have been warned!

This handle can be passed between isolates and can be used with SecureKey.fromNativeHandle to reconstruct it. It is like a pointer to the underlying data.

Important: If you dispose of the secure key via SecureKey.dispose, the handle becomes invalidated!

Implementation

@experimental
dynamic get nativeHandle;