public class DefaultKemEncapsulationLengthProvider extends java.lang.Object implements KemEncapsulationLengthProvider
| Constructor and Description |
|---|
DefaultKemEncapsulationLengthProvider() |
| Modifier and Type | Method and Description |
|---|---|
int |
getEncapsulationLength(org.bouncycastle.asn1.x509.AlgorithmIdentifier kemAlgorithm)
Return the length, in bytes, of the encapsulation produced by the passed in KEM algorithm.
|
public DefaultKemEncapsulationLengthProvider()
public int getEncapsulationLength(org.bouncycastle.asn1.x509.AlgorithmIdentifier kemAlgorithm)
KemEncapsulationLengthProvidergetEncapsulationLength in interface KemEncapsulationLengthProviderkemAlgorithm - the algorithm identifier of the KEM of interest.