Bouncy Castle Cryptography 1.48

org.bouncycastle.pqc.math.linearalgebra
Class GoppaCode.MatrixSet

java.lang.Object
  extended by org.bouncycastle.pqc.math.linearalgebra.GoppaCode.MatrixSet
Enclosing class:
GoppaCode

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

This class is a container for an instance of GF2Matrix and one int[]. It is used to hold a generator matrix and the set of indices such that the submatrix of the generator matrix consisting of the specified columns is the identity.

See Also:
GF2Matrix, Permutation

Constructor Summary
GoppaCode.MatrixSet(GF2Matrix g, int[] setJ)
          Construct a new GoppaCode.MatrixSet container with the given parameters.
 
Method Summary
 GF2Matrix getG()
           
 int[] getSetJ()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoppaCode.MatrixSet

public GoppaCode.MatrixSet(GF2Matrix g,
                           int[] setJ)
Construct a new GoppaCode.MatrixSet container with the given parameters.

Parameters:
g - the generator matrix
setJ - the set of indices such that the submatrix of the generator matrix consisting of the specified columns is the identity
Method Detail

getG

public GF2Matrix getG()
Returns:
the generator matrix

getSetJ

public int[] getSetJ()
Returns:
the set of indices such that the submatrix of the generator matrix consisting of the specified columns is the identity

Bouncy Castle Cryptography 1.48