getFactory static method

PublicKeyFactory? getFactory(
  1. String algorithm
)

Get the public key factory for the specified algorithm.

Returns null if no factory registered for algorithm.

Implementation

static PublicKeyFactory? getFactory(String algorithm) {
  final helper = sharedCryptoExtensions.publicHelper;
  return helper!.getPublicKeyFactory(algorithm);
}