|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.crypto.kems.ECIESKEMGenerator
The ECIES Key Encapsulation Mechanism (ECIES-KEM) from ISO 18033-2.
Constructor Summary | |
ECIESKEMGenerator(int keySize,
DerivationFunction kdf,
java.security.SecureRandom rnd)
Set up the ECIES-KEM. |
|
ECIESKEMGenerator(int keyLen,
DerivationFunction kdf,
java.security.SecureRandom rnd,
boolean cofactorMode,
boolean oldCofactorMode,
boolean singleHashMode)
Set up the ECIES-KEM. |
Method Summary | |
SecretWithEncapsulation |
generateEncapsulated(AsymmetricKeyParameter recipientKey)
Generate secret/encapsulation based on the recipient public key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ECIESKEMGenerator(int keySize, DerivationFunction kdf, java.security.SecureRandom rnd)
keySize
- size of the key to be generated (in bytes).kdf
- the key derivation function to be used.rnd
- the random source for the session key.public ECIESKEMGenerator(int keyLen, DerivationFunction kdf, java.security.SecureRandom rnd, boolean cofactorMode, boolean oldCofactorMode, boolean singleHashMode)
keyLen
- length in bytes of key to generatekdf
- the key derivation function to be used.rnd
- the random source for the session key.cofactorMode
- if true use the new cofactor ECDH.oldCofactorMode
- if true use the old cofactor ECDH.singleHashMode
- if true use single hash mode.Method Detail |
public SecretWithEncapsulation generateEncapsulated(AsymmetricKeyParameter recipientKey)
EncapsulatedSecretGenerator
generateEncapsulated
in interface EncapsulatedSecretGenerator
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |