Class CompositeIndex


  • public class CompositeIndex
    extends java.lang.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 Detail

      • CompositeIndex

        public CompositeIndex()
    • Method Detail

      • getKeyPairSpecs

        public static java.security.spec.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 java.util.Set<ASN1ObjectIdentifier> getSupportedIdentifiers()
      • getAlgorithmName

        public static java.lang.String getAlgorithmName​(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.