Class NamedCurveRegistryImpl

    • Constructor Detail

      • NamedCurveRegistryImpl

        public NamedCurveRegistryImpl()
        Default constructor.
      • NamedCurveRegistryImpl

        public NamedCurveRegistryImpl​(List<NamedCurve> registry)
        Constructor setting up the registry according to the supplied list.

        Note: a copy of the supplied registry is made.

        Parameters:
        registry - initial contents of the registry
    • Method Detail

      • register

        public void register​(NamedCurve curve)
        Registers the given curve in the registry.
        Parameters:
        curve - the curve to register
      • unregister

        public void unregister​(String name)
        Removes the given curve from the registry.
        Parameters:
        name - the curve name