public class CMCEKEMExtractor extends java.lang.Object implements EncapsulatedSecretExtractor
| Constructor and Description |
|---|
CMCEKEMExtractor(CMCEPrivateKeyParameters privParams) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
extractSecret(byte[] encapsulation)
Extract the secret based on the recipient private key.
|
byte[] |
extractSecret(byte[] encapsulation,
int sessionKeySizeInBits) |
int |
getEncapsulationLength()
Return the length in bytes of the encapsulation.
|
public CMCEKEMExtractor(CMCEPrivateKeyParameters privParams)
public byte[] extractSecret(byte[] encapsulation)
EncapsulatedSecretExtractorextractSecret in interface EncapsulatedSecretExtractorencapsulation - the encapsulated secret.public byte[] extractSecret(byte[] encapsulation,
int sessionKeySizeInBits)
public int getEncapsulationLength()
EncapsulatedSecretExtractorgetEncapsulationLength in interface EncapsulatedSecretExtractor