setFactory static method

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

Set the public key factory for the specified algorithm.

Implementation

static void setFactory(String algorithm, PublicKeyFactory factory) {
  final helper = sharedCryptoExtensions.publicHelper;
  helper!.setPublicKeyFactory(algorithm, factory);
}