Skip to content

Commit 114c975

Browse files
committed
KEM class modifiers
1 parent 6ec81e9 commit 114c975

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

prov/src/main/jdk17/org/bouncycastle/jcajce/provider/asymmetric/mlkem/MLKEMSpi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import org.bouncycastle.pqc.crypto.mlkem.MLKEMKeyParameters;
1414
import org.bouncycastle.pqc.crypto.mlkem.MLKEMParameters;
1515

16-
public class MLKEMSpi
16+
public abstract class MLKEMSpi
1717
implements KEMSpi
1818
{
1919
private final MLKEMParameters mlkemParameters;

prov/src/main/jdk17/org/bouncycastle/pqc/jcajce/provider/hqc/HQCDecapsulatorSpi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* invoke multiple encapsulate and decapsulate methods on the same Encapsulator or Decapsulator object at the same
1818
* time. Each invocation of encapsulate will generate a new shared secret and key encapsulation message."
1919
*/
20-
public class HQCDecapsulatorSpi
20+
class HQCDecapsulatorSpi
2121
implements KEMSpi.DecapsulatorSpi
2222
{
2323
// private final BCHQCPrivateKey privateKey;

prov/src/main/jdk17/org/bouncycastle/pqc/jcajce/provider/hqc/HQCEncapsulatorSpi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* invoke multiple encapsulate and decapsulate methods on the same Encapsulator or Decapsulator object at the same
2020
* time. Each invocation of encapsulate will generate a new shared secret and key encapsulation message."
2121
*/
22-
public class HQCEncapsulatorSpi
22+
class HQCEncapsulatorSpi
2323
implements KEMSpi.EncapsulatorSpi
2424
{
2525
private final BCHQCPublicKey publicKey;

prov/src/main/jdk17/org/bouncycastle/pqc/jcajce/provider/hqc/HQCKEMSpi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import org.bouncycastle.pqc.crypto.hqc.HQCKeyParameters;
1414
import org.bouncycastle.pqc.crypto.hqc.HQCParameters;
1515

16-
public class HQCKEMSpi
16+
public abstract class HQCKEMSpi
1717
implements KEMSpi
1818
{
1919
private final HQCParameters hqcParameters;

prov/src/main/jdk17/org/bouncycastle/pqc/jcajce/provider/ntru/NTRUDecapsulatorSpi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* invoke multiple encapsulate and decapsulate methods on the same Encapsulator or Decapsulator object at the same
1818
* time. Each invocation of encapsulate will generate a new shared secret and key encapsulation message."
1919
*/
20-
public class NTRUDecapsulatorSpi
20+
class NTRUDecapsulatorSpi
2121
implements KEMSpi.DecapsulatorSpi
2222
{
2323
// private final BCNTRUPrivateKey privateKey;

prov/src/main/jdk17/org/bouncycastle/pqc/jcajce/provider/ntru/NTRUEncapsulatorSpi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* invoke multiple encapsulate and decapsulate methods on the same Encapsulator or Decapsulator object at the same
2020
* time. Each invocation of encapsulate will generate a new shared secret and key encapsulation message."
2121
*/
22-
public class NTRUEncapsulatorSpi
22+
class NTRUEncapsulatorSpi
2323
implements KEMSpi.EncapsulatorSpi
2424
{
2525
private final BCNTRUPublicKey publicKey;

prov/src/main/jdk17/org/bouncycastle/pqc/jcajce/provider/ntru/NTRUKEMSpi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import org.bouncycastle.pqc.crypto.ntru.NTRUKeyParameters;
1414
import org.bouncycastle.pqc.crypto.ntru.NTRUParameters;
1515

16-
public class NTRUKEMSpi
16+
public abstract class NTRUKEMSpi
1717
implements KEMSpi
1818
{
1919
private final NTRUParameters ntruParameters;

0 commit comments

Comments
 (0)