Class CompositeIndex
- java.lang.Object
-
- org.bouncycastle.jcajce.provider.asymmetric.compositekem.CompositeIndex
-
public class CompositeIndex extends java.lang.ObjectRegistry of the Composite ML-KEM parameter sets from Composite ML-KEM for use in X.509 Public Key Infrastructure. For each composite OID it holds the component algorithm pair, the human-readable algorithm name, and the KEM combiner domain separator ("Label") used in section 3.4.
-
-
Constructor Summary
Constructors Constructor Description CompositeIndex()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetAlgorithmName(ASN1ObjectIdentifier algorithm)static byte[]getKEMLabel(ASN1ObjectIdentifier oid)Get the KEM combiner domain separator ("Label") for a Composite KEM OID (section 3.4 / section 6).static java.security.spec.AlgorithmParameterSpec[]getKeyPairSpecs(ASN1ObjectIdentifier algorithm)Per-componentAlgorithmParameterSpecs used to initialise the component KeyPairGenerators, in pairing order.static java.lang.String[]getPairing(ASN1ObjectIdentifier algorithm)static java.util.Set<ASN1ObjectIdentifier>getSupportedIdentifiers()static java.lang.StringgetTraditionalAlgorithmName(ASN1ObjectIdentifier oid)Get the traditional algorithm component name for a Composite KEM OID.static booleanisCompositeKEMOID(ASN1ObjectIdentifier oid)Check if OID is a Composite KEM OID.
-
-
-
Method Detail
-
getKeyPairSpecs
public static java.security.spec.AlgorithmParameterSpec[] getKeyPairSpecs(ASN1ObjectIdentifier algorithm)
Per-componentAlgorithmParameterSpecs used to initialise the component KeyPairGenerators, in pairing order. An entry may benullwhen the component's KeyPairGenerator name already fixes the parameter set (ML-KEM, X25519, X448).
-
getSupportedIdentifiers
public static java.util.Set<ASN1ObjectIdentifier> getSupportedIdentifiers()
-
getAlgorithmName
public static java.lang.String getAlgorithmName(ASN1ObjectIdentifier algorithm)
-
getPairing
public static java.lang.String[] getPairing(ASN1ObjectIdentifier algorithm)
-
isCompositeKEMOID
public static boolean isCompositeKEMOID(ASN1ObjectIdentifier oid)
Check if OID is a Composite KEM OID.
-
getKEMLabel
public static byte[] getKEMLabel(ASN1ObjectIdentifier oid)
Get the KEM combiner domain separator ("Label") for a Composite KEM OID (section 3.4 / section 6).
-
getTraditionalAlgorithmName
public static java.lang.String getTraditionalAlgorithmName(ASN1ObjectIdentifier oid)
Get the traditional algorithm component name for a Composite KEM OID.
-
-