public interface EncapsulatedSecretExtractor
Modifier and Type | Method and Description |
---|---|
byte[] |
extractSecret(byte[] encapsulation)
Extract the secret based on the recipient private key.
|
int |
getEncapsulationLength()
Return the length in bytes of the encapsulation.
|
byte[] extractSecret(byte[] encapsulation)
encapsulation
- the encapsulated secret.int getEncapsulationLength()