RsaPrivateKey class

A RSA private key

Inheritance
Implemented types

Constructors

RsaPrivateKey({@required BigInt privateExponent, @required BigInt firstPrimeFactor, @required BigInt secondPrimeFactor, @required BigInt modulus})
factory

Properties

firstPrimeFactor BigInt
The first prime factor
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
modulus BigInt
The modulus value for the RSA key
read-only, inherited
privateExponent BigInt
The private exponent value for the RSA private key
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
secondPrimeFactor BigInt
The second prime factor
read-only

Methods

createEncrypter(Identifier algorithm) Encrypter<Key>
Creates an Encrypter using this key and the specified algorithm
inherited
createSigner(Identifier algorithm) Signer<PrivateKey>
Creates a Signer using this key and the specified algorithm.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited