fromDer static method
Parses a DER buffer into a public key.
Throws if der is not a SubjectPublicKeyInfo encoded xDSA public key, or
if bytes follow it.
Implementation
static PublicKey fromDer(Uint8List der) =>
PublicKey._(ffi.XdsaPublicKey.fromDer(der: der));