Top Fields Constructors Methods
org.bouncycastle.pqc.legacy.crypto.mceliece

public Class McEliecePublicKeyParameters

extends McElieceKeyParameters
Class Inheritance
Imports
org.bouncycastle.pqc.legacy.math.linearalgebra.GF2Matrix

Field Summary

Modifier and TypeField and Description
private GF2Matrix
g

private int
n

private int
t

Constructor Summary

AccessConstructor and Description
public
McEliecePublicKeyParameters(int
the length of the code
n
,
int
the error correction capability of the code
t
,
GF2Matrix
the generator matrix
g
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public GF2Matrix

Returns:

the generator matrix
getG
()

public int

Returns:

the dimension of the code
getK
()

public int

Returns:

the length of the code
getN
()

public int

Returns:

the error correction capability of the code
getT
()

Inherited from org.bouncycastle.pqc.legacy.crypto.mceliece.McElieceKeyParameters:
getParameters

Field Detail

gback to summary
private GF2Matrix g
nback to summary
private int n
tback to summary
private int t

Constructor Detail

McEliecePublicKeyParametersback to summary
public McEliecePublicKeyParameters(int n, int t, GF2Matrix g)

Constructor.

Parameters
n:int

the length of the code

t:int

the error correction capability of the code

g:GF2Matrix

the generator matrix

Method Detail

getGback to summary
public GF2Matrix getG()
Returns:GF2Matrix

the generator matrix

getKback to summary
public int getK()
Returns:int

the dimension of the code

getNback to summary
public int getN()
Returns:int

the length of the code

getTback to summary
public int getT()
Returns:int

the error correction capability of the code