Class CryptoAlgorithms

java.lang.Object
zeroecho.core.CryptoAlgorithms

public final class CryptoAlgorithms extends Object
Immutable registry of CryptoAlgorithm providers.

Providers are discovered once through ServiceLoader, sorted by canonical algorithm identifier, and retained in one immutable registry. Runtime policy and auditing belong exclusively to explicitly created ZeroEchoSession instances.

Since:
1.0
  • Method Details

    • available

      public static Set<String> available()
      Returns registered algorithm identifiers in deterministic order.
      Returns:
      unmodifiable set of canonical identifiers
    • require

      public static CryptoAlgorithm require(String id)
      Resolves an algorithm by canonical identifier.
      Parameters:
      id - canonical algorithm identifier
      Returns:
      registered algorithm
      Throws:
      IllegalArgumentException - if no algorithm is registered with id