Rsa class Null safety
Utility functions for asymmetric keys in RSA
Constructors
- Rsa()
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
decrypt(
RsaPrivateKey key, Uint8List ciphertext) → Uint8List -
decryptAsync(
RsaPrivateKey key, Uint8List ciphertext) → Future< Uint8List> -
encrypt(
RsaPublicKey key, Uint8List plaintext) → Uint8List -
encryptAsync(
RsaPublicKey key, Uint8List plaintext) → Future< Uint8List> -
encryptBulk(
RsaPublicKey key, Map< String, Uint8List> req) → Future<Map< String, Uint8List> > -
generate(
) → RsaKeyPair - Generates a RsaKeyPair a secureRandom
-
generateAsync(
) → Future< RsaKeyPair> -
processInBlocks(
AsymmetricBlockCipher engine, Uint8List input) → Uint8List -
secureRandom(
) → FortunaRandom -
sign(
RsaPrivateKey key, Uint8List message) → Uint8List -
signAsync(
RsaPrivateKey key, Uint8List message) → Future< Uint8List> -
signBulk(
RsaPrivateKey key, Map< String, Uint8List> req) → Future<Map< String, Uint8List> > -
verify(
RsaPublicKey key, Uint8List message, Uint8List signature) → bool -
verifyAll(
RsaPublicKey key, Map< Uint8List, Uint8List> req) → Future<bool> -
verifyAsync(
RsaPublicKey key, Uint8List message, Uint8List signature) → Future< bool>