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 ofGF2Matrix
and 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.MaMaPe
container with the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GF2Matrix
getFirstMatrix()
Permutation
getPermutation()
GF2Matrix
getSecondMatrix()
-
-
-
Constructor Detail
-
MaMaPe
public MaMaPe(GF2Matrix s, GF2Matrix h, Permutation p)
Construct a newGoppaCode.MaMaPe
container 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
-
-