Class ShamirsProtection

    • Constructor Detail

      • ShamirsProtection

        public ShamirsProtection​(Path[] paths)
        Creates a Shamir protection parameter by providing the paths to the different slices containing the shares.
        Parameters:
        paths - path array to the JSON files (slices) containing the shares
      • ShamirsProtection

        public ShamirsProtection​(Collection<Path> paths)
      • ShamirsProtection

        public ShamirsProtection​(javax.json.JsonArray slices)