CryptoRSAPrivateKey class Null safety
The RSA private key implementation
- Inheritance
-
- Object
- RSAAsymmetricKey
- RSAPrivateKey
- CryptoRSAPrivateKey
Constructors
- CryptoRSAPrivateKey(BigInt modulus, BigInt privateExponent, BigInt? p, BigInt? q)
Properties
- d → BigInt?
-
Get private exponent d = e^-1
@Deprecated('Use privateExponent.'), read-only, inherited
- exponent → BigInt?
-
final, inherited
- hashCode → int
-
The hash code for this object.
read-only, inherited
- modulus → BigInt?
-
final, inherited
- n → BigInt?
-
Get modulus n = p·q
read-only, inherited
- p → BigInt?
-
final, inherited
- privateExponent → BigInt?
-
Get the private exponent (d)
read-only, inherited
- pubExponent → BigInt?
-
Get the public exponent (e)
@Deprecated('Use publicExponent.'), read-only, inherited
- public → CryptoRSAPublicKey
-
read-only
- publicExponent → BigInt?
-
Get the public exponent (e)
read-only, inherited
- q → BigInt?
-
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
encode(
) → String -
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
-
decode(
String encodedKey) → CryptoRSAPrivateKey