RSAKeyParser class

RSA PEM parser.

Constructors

RSAKeyParser()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

decodeCertPublicKey(Uint8List bytes) → PublicKey
Format:
decodePKCS1PrivateKey(Uint8List bytes) → RSAPrivateKey
Format:
decodePKCS1PublicKey(Uint8List bytes) → RSAPublicKey
Format:
decodePKCS8PrivateKey(Uint8List bytes) → RSAPrivateKey
Plain PKCS8 private key format:
parseFromPem(String pem) → RSAAsymmetricKey
Parses the PEM key no matter it is public or private, it will figure it out.