setFactory static method

void setFactory(
  1. String algorithm,
  2. PrivateKeyFactory factory
)

Set the private key factory for the specified algorithm.

Implementation

static void setFactory(String algorithm, PrivateKeyFactory factory) {
  final helper = sharedCryptoExtensions.privateHelper;
  helper!.setPrivateKeyFactory(algorithm, factory);
}