Class CompositeIndex

java.lang.Object
org.bouncycastle.jcajce.provider.asymmetric.compositekem.CompositeIndex

public class CompositeIndex extends Object
Registry 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 Details

    • CompositeIndex

      public CompositeIndex()
  • Method Details

    • getKeyPairSpecs

      public static AlgorithmParameterSpec[] getKeyPairSpecs(ASN1ObjectIdentifier algorithm)
      Per-component AlgorithmParameterSpecs used to initialise the component KeyPairGenerators, in pairing order. An entry may be null when the component's KeyPairGenerator name already fixes the parameter set (ML-KEM, X25519, X448).
    • getSupportedIdentifiers

      public static Set<ASN1ObjectIdentifier> getSupportedIdentifiers()
    • getAlgorithmName

      public static String getAlgorithmName(ASN1ObjectIdentifier algorithm)
    • getPairing

      public static 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 String getTraditionalAlgorithmName(ASN1ObjectIdentifier oid)
      Get the traditional algorithm component name for a Composite KEM OID.