Pkcs1RsaPublicKey class Null safety
PKCS #1 representation of an RSA public key.
Its encoding is defined in section 11.1.1 of RFC 2437, which has been obsoleted by RFC 3447.
RSAPublicKey ::= SEQUENCE {
modulus INTEGER, -- n
publicExponent INTEGER -- e
}
- Implemented types
Constructors
- Pkcs1RsaPublicKey(BigInt modulus, BigInt exponent, [PubTextSource? source])
- Constructor.
- Pkcs1RsaPublicKey.decode(Uint8List data, PubTextSource? source)
- Decode from a sequence of bytes.
Properties
- exponent ↔ BigInt
-
RSA exponent
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- modulus ↔ BigInt
-
RSA modulus
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- source → PubTextSource?
-
Source this was decoded from. [...]
final
Methods
-
encode(
) → Uint8List -
Encode as a sequence of bytes.
override
-
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