SecureEnclave class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
decrypt ({required Uint8List message , required String tag , String ? password })
→ Future <ResultModel <String ? > >
decryption with secure enclave key pair
override
encrypt ({required String message , required String tag , String ? password })
→ Future <ResultModel <Uint8List ? > >
encryption with secure enclave key pair
override
encryptWithPublicKey ({required String message , required String publicKey })
→ Future <ResultModel <Uint8List ? > >
encryption with external public key
override
generateKeyPair ({required AccessControlModel accessControl })
→ Future <ResultModel <bool > >
Generetes a new private/public key pair
override
getPublicKey ({required String tag , String ? password })
→ Future <ResultModel <String ? > >
get public key representation, this method will return Base64 encode
you can share this public key to others device for sending encrypted data
to your device
override
isKeyCreated ({required String tag , String ? password })
→ Future <ResultModel <bool ? > >
check status is tag available or not
override
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeKey (String tag )
→ Future <ResultModel <bool > >
remove key pair
override
sign ({required Uint8List message , required String tag , String ? password })
→ Future <ResultModel <String ? > >
generate signature from data
override
toString ()
→ String
A string representation of this object.
inherited
verify ({required String plainText , required String signature , required String tag , String ? password })
→ Future <ResultModel <bool ? > >
verify signature
override