IBBEDel07SecretKeyGenerator secretKeyGenerator = new IBBEDel07SecretKeyGenerator();
secretKeyGenerator.init(new IBBEDel07SecretKeyGenerationParameters(
publicKey, masterKey, id));
return secretKeyGenerator.generateKey();
}
<BUG>public PairingKeyEncapsulationSerPair encapsulation(CipherParameters publicKey, String... ids) {
</BUG>
if (!(publicKey instanceof IBBEDel07PublicKeySerParameter)){
throw new IllegalArgumentException
("Invalid CipherParameter Instance of " + SCHEME_NAME  + ", find "

IBBEDel07SecretKeyGenerator secretKeyGenerator = new IBBEDel07SecretKeyGenerator();
secretKeyGenerator.init(new IBBEDel07SecretKeyGenerationParameters(
publicKey, masterKey, id));
return secretKeyGenerator.generateKey();
}
public PairingKeyEncapsulationSerPair encapsulation(AsymmetricKeySerParameter publicKey, String... ids) {
if (!(publicKey instanceof IBBEDel07PublicKeySerParameter)){
throw new IllegalArgumentException
("Invalid CipherParameter Instance of " + SCHEME_NAME  + ", find "
