Class SNTRUPrimeParameters
- java.lang.Object
-
- org.bouncycastle.pqc.crypto.ntruprime.SNTRUPrimeParameters
-
- All Implemented Interfaces:
CipherParameters,KEMParameters
public class SNTRUPrimeParameters extends java.lang.Object implements KEMParameters
StreamLined NTRU Prime Parameter Specs
-
-
Field Summary
Fields Modifier and Type Field Description static SNTRUPrimeParameterssntrup1013static SNTRUPrimeParameterssntrup1277static SNTRUPrimeParameterssntrup653static SNTRUPrimeParameterssntrup761static SNTRUPrimeParameterssntrup857static SNTRUPrimeParameterssntrup953
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetEncapsulationLength()Return the size in bytes of an encapsulation produced for this parameter set, so that the encapsulating side - which holds only a public key and no extractor - reads it from the same place SNTRUPrimeKEMExtractor does.java.lang.StringgetName()intgetP()intgetPrivateKeyBytes()intgetPublicKeyBytes()intgetQ()intgetRoundedPolynomialBytes()intgetRqPolynomialBytes()intgetSessionKeySize()intgetW()
-
-
-
Field Detail
-
sntrup653
public static final SNTRUPrimeParameters sntrup653
-
sntrup761
public static final SNTRUPrimeParameters sntrup761
-
sntrup857
public static final SNTRUPrimeParameters sntrup857
-
sntrup953
public static final SNTRUPrimeParameters sntrup953
-
sntrup1013
public static final SNTRUPrimeParameters sntrup1013
-
sntrup1277
public static final SNTRUPrimeParameters sntrup1277
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getP
public int getP()
-
getQ
public int getQ()
-
getW
public int getW()
-
getPublicKeyBytes
public int getPublicKeyBytes()
-
getPrivateKeyBytes
public int getPrivateKeyBytes()
-
getRqPolynomialBytes
public int getRqPolynomialBytes()
-
getRoundedPolynomialBytes
public int getRoundedPolynomialBytes()
-
getSessionKeySize
public int getSessionKeySize()
-
getEncapsulationLength
public int getEncapsulationLength()
Return the size in bytes of an encapsulation produced for this parameter set, so that the encapsulating side - which holds only a public key and no extractor - reads it from the same place SNTRUPrimeKEMExtractor does.
-
-