ZotKeyPair class
- Inheritance
-
- Object
- EncryptoSpi
- ZotKeyPair
Constructors
- ZotKeyPair.new(int bitLen, Encrypto encrypto)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- publicKey ↔ ZotPublicKey
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decrypt(
String val) → String -
returns decrypted message
override
-
encrypt(
String val, ZotPublicKey? publicKey) → String -
returns rsa encrypted base64 string
override
-
getPrivateKeyString(
) → String -
returns info about private key: the information contains:
override
-
getPublicKeyString(
) → String -
returns info about public key: the information contains:
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited