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

public Class McElieceCCA2PublicKeyParameters

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

Field Summary

Modifier and TypeField and Description
private GF2Matrix
private int
n

private int
t

Constructor Summary

AccessConstructor and Description
public
McElieceCCA2PublicKeyParameters(int
length of the code
n
,
int
error correction capability
t
,
GF2Matrix
generator matrix
matrix
,
String
McElieceCCA2Parameters
digest
)

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.McElieceCCA2KeyParameters:
getDigest

Field Detail

matrixGback to summary
private GF2Matrix matrixG
nback to summary
private int n
tback to summary
private int t

Constructor Detail

McElieceCCA2PublicKeyParametersback to summary
public McElieceCCA2PublicKeyParameters(int n, int t, GF2Matrix matrix, String digest)

Constructor.

Parameters
n:int

length of the code

t:int

error correction capability

matrix:GF2Matrix

generator matrix

digest:String

McElieceCCA2Parameters

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