Top Description Fields Constructors Methods
org.bouncycastle.operator

public Class DefaultKemEncapsulationLengthProvider

extends Object
implements KemEncapsulationLengthProvider
Class Inheritance
All Implemented Interfaces
org.bouncycastle.operator.KemEncapsulationLengthProvider
Imports
java.util.HashMap, .Map, org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.bc.BCObjectIdentifiers, org.bouncycastle.asn1.nist.NISTObjectIdentifiers, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.jcajce.spec.MLKEMParameterSpec, org.bouncycastle.pqc.jcajce.spec.NTRUParameterSpec, org.bouncycastle.util.Integers

Look up provider for encapsulation lengths produced be KEM algorithms

Field Summary

Modifier and TypeField and Description
private static Map<ASN1ObjectIdentifier, Integer>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

kemEncapsulationLengthsback to summary
private static Map<ASN1ObjectIdentifier, Integer> kemEncapsulationLengths

Constructor Detail

DefaultKemEncapsulationLengthProviderback to summary
public DefaultKemEncapsulationLengthProvider()

Method Detail

getEncapsulationLengthback to summary
public int getEncapsulationLength(AlgorithmIdentifier kemAlgorithm)

Implements org.bouncycastle.operator.KemEncapsulationLengthProvider.getEncapsulationLength.