RSAPrivateKey class

PrivateKey using RSA Algorithm

Implemented types

Constructors

RSAPrivateKey(BigInt modulus, BigInt exponent, BigInt p, BigInt q)
Create an RSAPrivateKey for the given parameters.
RSAPrivateKey.fromString(String privateKeyString)
Create an RSAPrivateKey from the given String.

Properties

asPointyCastle RSAPrivateKey
Export a RSAPrivateKey as Pointy Castle RSAPrivateKey
read-only, override
publicKey RSAPublicKey
Get the RSAPublicKey of the RSAPrivateKey
read-only, override
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

createSignature(String message) → String
override
decrypt(String message) → String
Decrypt a message which was encrypted using the associated RSAPublicKey
toString() → String
Export a RSAPrivateKey as String which can be reversed using RSAPrivateKey.fromString.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Static Properties

secp256k1 ECCurve_secp256k1
read / write