RsaOaepPrivateKey class Null safety
- Annotations
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
decryptBytes(
List< int> data, {List<int> ? label}) → Future<Uint8List> - Note, that this interface does not support streaming because RSA-OAEP is not a streaming cipher, instead it is often used to encrypt a symmetric cipher key used with an AES variant.
-
exportJsonWebKey(
) → Future< Map< String, dynamic> > -
exportPkcs8Key(
) → Future< Uint8List> -
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
-
generateKey(
int modulusLength, BigInt publicExponent, Hash hash) → Future< KeyPair< RsaOaepPrivateKey, RsaOaepPublicKey> > -
importJsonWebKey(
Map< String, dynamic> jwk, Hash hash) → Future<RsaOaepPrivateKey> -
importPkcs8Key(
List< int> keyData, Hash hash) → Future<RsaOaepPrivateKey>