Class McElieceCCA2PublicKeyParameters
java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.pqc.legacy.crypto.mceliece.McElieceCCA2KeyParameters
org.bouncycastle.pqc.legacy.crypto.mceliece.McElieceCCA2PublicKeyParameters
- All Implemented Interfaces:
CipherParameters
-
Constructor Summary
ConstructorsConstructorDescriptionMcElieceCCA2PublicKeyParameters
(int n, int t, GF2Matrix matrix, String digest) Constructor. -
Method Summary
Methods inherited from class org.bouncycastle.pqc.legacy.crypto.mceliece.McElieceCCA2KeyParameters
getDigest
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
-
Constructor Details
-
McElieceCCA2PublicKeyParameters
Constructor.- Parameters:
n
- length of the codet
- error correction capabilitymatrix
- generator matrixdigest
- McElieceCCA2Parameters
-
-
Method Details
-
getN
public int getN()- Returns:
- the length of the code
-
getT
public int getT()- Returns:
- the error correction capability of the code
-
getG
- Returns:
- the generator matrix
-
getK
public int getK()- Returns:
- the dimension of the code
-