GoppaCode.MaMaPe (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.pqc.math.linearalgebra

## Class GoppaCode.MaMaPe

- java.lang.Object
- - org.bouncycastle.pqc.math.linearalgebra.GoppaCode.MaMaPe

- Enclosing class:
    GoppaCode

      public static class GoppaCode.MaMaPe
      extends java.lang.Object

  This class is a container for two instances of `GF2Matrix` and one instance of `Permutation`. It is used to hold the systematic form `S*H*P = (Id|M)` of the check matrix `H` as returned by `GoppaCode.computeSystematicForm(GF2Matrix, SecureRandom)`.
  See Also:
    `GF2Matrix`, `Permutation`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GoppaCode.MaMaPe(GF2Matrix s, GF2Matrix h, Permutation p)` Construct a new `GoppaCode.MaMaPe` container with the given parameters.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `GF2Matrix` | `getFirstMatrix()`
    `Permutation` | `getPermutation()`
    `GF2Matrix` | `getSecondMatrix()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GoppaCode.MaMaPe

          public GoppaCode.MaMaPe(GF2Matrix s,
                          GF2Matrix h,
                          Permutation p)

      Construct a new `GoppaCode.MaMaPe` container with the given parameters.
      Parameters:
        `s` - the first matrix
        `h` - the second matrix
        `p` - the permutation

  - ### Method Detail

    - #### getFirstMatrix

          public GF2Matrix getFirstMatrix()

      Returns:
        the first matrix

    - #### getSecondMatrix

          public GF2Matrix getSecondMatrix()

      Returns:
        the second matrix

    - #### getPermutation

          public Permutation getPermutation()

      Returns:
        the permutation