getFactory static method

PrivateKeyFactory? getFactory(
  1. String algorithm
)

Get the private key factory for the specified algorithm.

Returns null if no factory registered for algorithm.

Implementation

static PrivateKeyFactory? getFactory(String algorithm) {
  final helper = sharedCryptoExtensions.privateHelper;
  return helper!.getPrivateKeyFactory(algorithm);
}