Class GoppaCode.MaMaPe
- java.lang.Object
-
- org.bouncycastle.pqc.math.linearalgebra.GoppaCode.MaMaPe
-
- Enclosing class:
- GoppaCode
public static class GoppaCode.MaMaPe extends java.lang.ObjectThis class is a container for two instances ofGF2Matrixand one instance ofPermutation. It is used to hold the systematic form S*H*P = (Id|M) of the check matrix H as returned byGoppaCode.computeSystematicForm(GF2Matrix, SecureRandom).- See Also:
GF2Matrix,Permutation
-
-
Constructor Summary
Constructors Constructor Description MaMaPe(GF2Matrix s, GF2Matrix h, Permutation p)Construct a newGoppaCode.MaMaPecontainer with the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GF2MatrixgetFirstMatrix()PermutationgetPermutation()GF2MatrixgetSecondMatrix()
-
-
-
Constructor Detail
-
MaMaPe
public MaMaPe(GF2Matrix s, GF2Matrix h, Permutation p)
Construct a newGoppaCode.MaMaPecontainer with the given parameters.- Parameters:
s- the first matrixh- the second matrixp- 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
-
-