public class CompositeIndex
extends java.lang.Object
| Constructor and Description |
|---|
CompositeIndex() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String[] |
getAlgorithmAliases(ASN1ObjectIdentifier algorithm)
Additional names a composite KEM algorithm is registered under, beyond the one
getAlgorithmName(org.bouncycastle.asn1.ASN1ObjectIdentifier) returns. |
static java.lang.String |
getAlgorithmName(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-component
AlgorithmParameterSpecs used to initialise the component
KeyPairGenerators, in pairing order. |
static java.lang.String[] |
getPairing(ASN1ObjectIdentifier algorithm) |
static int |
getRSAKeySize(ASN1ObjectIdentifier oid)
The RSA modulus size in bits that a Composite KEM OID fixes for its traditional component
(section 6.1 of draft-ietf-lamps-pq-composite-kem), or -1 if the traditional component is not RSA.
|
static java.util.Set<ASN1ObjectIdentifier> |
getSupportedIdentifiers() |
static java.lang.String |
getTraditionalAlgorithmName(ASN1ObjectIdentifier oid)
Get the traditional algorithm component name for a Composite KEM OID.
|
static boolean |
isCompositeKEMOID(ASN1ObjectIdentifier oid)
Check if OID is a Composite KEM OID.
|
public static java.security.spec.AlgorithmParameterSpec[] getKeyPairSpecs(ASN1ObjectIdentifier algorithm)
AlgorithmParameterSpecs used to initialise the component
KeyPairGenerators, in pairing order. Every entry is non-null: the specs are also the only route
a caller-supplied SecureRandom has to a component generator.public static java.util.Set<ASN1ObjectIdentifier> getSupportedIdentifiers()
public static java.lang.String getAlgorithmName(ASN1ObjectIdentifier algorithm)
public static java.lang.String[] getPairing(ASN1ObjectIdentifier algorithm)
public static java.lang.String[] getAlgorithmAliases(ASN1ObjectIdentifier algorithm)
getAlgorithmName(org.bouncycastle.asn1.ASN1ObjectIdentifier) returns. Empty for every parameter set that has only one name.public static boolean isCompositeKEMOID(ASN1ObjectIdentifier oid)
public static byte[] getKEMLabel(ASN1ObjectIdentifier oid)
public static java.lang.String getTraditionalAlgorithmName(ASN1ObjectIdentifier oid)
public static int getRSAKeySize(ASN1ObjectIdentifier oid)