parse static method

PublicKey? parse(
  1. Object? key
)

Parse a public key from raw data.

key is the raw key data (map or string).

Returns null if parsing fails.

Implementation

static PublicKey? parse(Object? key) {
  final helper = sharedCryptoExtensions.publicHelper;
  return helper!.parsePublicKey(key);
}