RSAPrivateKey class final

Represents integers obtained while creating a Public/Private key pair.

Constructors

RSAPrivateKey(BigInt n, BigInt e, BigInt d, BigInt p, BigInt q, BigInt dmp1, BigInt dmq1, BigInt coeff)

Properties

bitLength int
The number of bits used for the modulus. Usually 1024, 2048 or 4096 bits.
no setter
coeff BigInt
A coefficient which satisfies coeff=q^-1 mod p.
final
d BigInt
Private key exponent. Satisfies d*e=1 mod phi(n).
final
dmp1 BigInt
Different form of p. Satisfies dmp1=d mod (p-1).
final
dmq1 BigInt
Different form of p. Satisfies dmq1=d mod (q-1).
final
e BigInt
Public key exponent. Satisfies d*e=1 mod phi(n).
final
hashCode int
The hash code for this object.
no setterinherited
n BigInt
Modulus for public and private keys. Satisfies n=p*q.
final
p BigInt
First prime number.
final
q BigInt
Second prime number.
final
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