Interface GMKey

All Known Implementing Classes:
GMPrivateKey, GMPublicKey

public interface GMKey
Interface representing a Goldwasser-Micali (GM) key. This interface provides a method to retrieve the modulus \( n \), which is a key parameter in the GM encryption scheme.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the modulus (n) associated with the GM key.
  • Method Details

    • getN

      BigInteger getN()
      Retrieves the modulus (n) associated with the GM key.
      Returns:
      The modulus (n) as a BigInteger.