
import { PROVIDER_TYPE_ASYMMETRIC_CRYPTOGRAPHY } from '../../constants/provider'
import { multiplexProviderFunction } from '../../algorithms/provider/multiplex-provider-function'

import { VerifyKeyFormat } from '../../data-structures/asymmetric-cryptography'

const verifyKeyFormat: VerifyKeyFormat = verifyKeyFormatFunction

async function verifyKeyFormatFunction (_key: string, extract?: any): Promise<boolean[]> {
  return multiplexProviderFunction(PROVIDER_TYPE_ASYMMETRIC_CRYPTOGRAPHY, 'verifyKeyFormat', [...arguments], extract)
}

export {
  verifyKeyFormat
}