Class EciesDemHelper


  • public final class EciesDemHelper
    extends java.lang.Object
    Helper functions for ECIES Data Encryption Mechanism (DEM).
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  EciesDemHelper.Dem
      Interface for a DEM.
    • Method Detail

      • getDem

        public static EciesDemHelper.Dem getDem​(EciesParameters parameters)
                                         throws java.security.GeneralSecurityException
        Returns a DEM based on the given parameters.

        The caller must ensure that the parameters are valid DEM parameters.

        Throws:
        java.security.GeneralSecurityException - if the parameters are not supported.