public interface KemEncapsulationLengthProvider
| 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.
|
int getEncapsulationLength(org.bouncycastle.asn1.x509.AlgorithmIdentifier kemAlgorithm)
kemAlgorithm - the algorithm identifier of the KEM of interest.java.lang.IllegalArgumentException - if the KEM algorithm is not recognised.