RSAKeypair class

Keypair using RSA Algorithm

Constructors

RSAKeypair.new(RSAPrivateKey _privateKey)
Create a RSAKeypair using an RSAPrivateKey
RSAKeypair.fromRandom({int keySize = 2048})
Generate a random RSAKeypair with a default key size of 2048 bit

Properties

hashCode int
The hash code for this object.
no setterinherited
privateKey RSAPrivateKey
Get the RSAPrivateKey associated RSAPublicKey
no setter
publicKey RSAPublicKey
Get the RSAPublicKey associated RSAPrivateKey
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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