// See file LICENSE for more information.

library impl.ec_domain_parameters.brainpoolp512r1;

import 'package:pointycastle/ecc/api.dart';
import 'package:pointycastle/ecc/ecc_base.dart';
import 'package:pointycastle/src/ec_standard_curve_constructor.dart';
import 'package:pointycastle/src/registry/registry.dart';

// ignore: camel_case_types
class ECCurve_brainpoolp512r1 extends ECDomainParametersImpl {
  static final FactoryConfig factoryConfig = StaticFactoryConfig(
      ECDomainParameters, 'brainpoolp512r1', () => ECCurve_brainpoolp512r1());

  factory ECCurve_brainpoolp512r1() => constructFpStandardCurve(
      'brainpoolp512r1', ECCurve_brainpoolp512r1._make,
      q: BigInt.parse(
          'aadd9db8dbe9c48b3fd4e6ae33c9fc07cb308db3b3c9d20ed6639cca703308717d4d9b009bc66842aecda12ae6a380e62881ff2f2d82c68528aa6056583a48f3',
          radix: 16),
      a: BigInt.parse(
          '7830a3318b603b89e2327145ac234cc594cbdd8d3df91610a83441caea9863bc2ded5d5aa8253aa10a2ef1c98b9ac8b57f1117a72bf2c7b9e7c1ac4d77fc94ca',
          radix: 16),
      b: BigInt.parse(
          '3df91610a83441caea9863bc2ded5d5aa8253aa10a2ef1c98b9ac8b57f1117a72bf2c7b9e7c1ac4d77fc94cadc083e67984050b75ebae5dd2809bd638016f723',
          radix: 16),
      g: BigInt.parse(
          '0481aee4bdd82ed9645a21322e9c4c6a9385ed9f70b5d916c1b43b62eef4d0098eff3b1f78e2d0d48d50d1687b93b97d5f7c6d5047406a5e688b352209bcb9f8227dde385d566332ecc0eabfa9cf7822fdf209f70024a57b1aa000c55b881f8111b2dcde494a5f485e5bca4bd88a2763aed1ca2b2fa8f0540678cd1e0f3ad80892',
          radix: 16),
      n: BigInt.parse(
          'aadd9db8dbe9c48b3fd4e6ae33c9fc07cb308db3b3c9d20ed6639cca70330870553e5c414ca92619418661197fac10471db1d381085ddaddb58796829ca90069',
          radix: 16),
      h: BigInt.parse('1', radix: 16),
      seed: null) as ECCurve_brainpoolp512r1;

  static ECCurve_brainpoolp512r1 _make(String domainName, ECCurve curve,
          ECPoint G, BigInt n, BigInt h, List<int>? seed) =>
      ECCurve_brainpoolp512r1._super(domainName, curve, G, n, h, seed);

  ECCurve_brainpoolp512r1._super(super.domainName, super.curve, super.G,
      super.n, BigInt super.h, super.seed);
}
