| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final ECPrivateKeyParameters | |
| private DerivationFunction | |
| private int | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | ECIESKEMExtractor(ECPrivateKeyParameters
the decryption key. decKey, int length in bytes of key to generate. keyLen, DerivationFunction the key derivation function to be used. kdf)Set up the ECIES-KEM. |
| public | ECIESKEMExtractor(ECPrivateKeyParameters
the decryption key. decKey, int length in bytes of key to generate. keyLen, DerivationFunction the key derivation function to be used. kdf, boolean if true use the new cofactor ECDH. cofactorMode, boolean if true use the old cofactor ECDH. oldCofactorMode, boolean if true use single hash mode. singleHashMode)Set up the ECIES-KEM. |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | extractSecret(byte[]
the encapsulated secret. encapsulation)Implements org. Extract the secret based on the recipient private key. |
| public int | getEncapsulationLength()
Implements org. Return the length in bytes of the encapsulation. |
| CofactorMode | back to summary |
|---|---|
| private boolean CofactorMode | |
| decKey | back to summary |
|---|---|
| private final ECPrivateKeyParameters decKey | |
| kdf | back to summary |
|---|---|
| private DerivationFunction kdf | |
| keyLen | back to summary |
|---|---|
| private int keyLen | |
| OldCofactorMode | back to summary |
|---|---|
| private boolean OldCofactorMode | |
| SingleHashMode | back to summary |
|---|---|
| private boolean SingleHashMode | |
| ECIESKEMExtractor | back to summary |
|---|---|
| public ECIESKEMExtractor(ECPrivateKeyParameters decKey, int keyLen, DerivationFunction kdf) Set up the ECIES-KEM.
| |
| ECIESKEMExtractor | back to summary |
|---|---|
| public ECIESKEMExtractor(ECPrivateKeyParameters decKey, int keyLen, DerivationFunction kdf, boolean cofactorMode, boolean oldCofactorMode, boolean singleHashMode) Set up the ECIES-KEM.
| |
| extractSecret | back to summary |
|---|---|
| public byte[] extractSecret(byte[] encapsulation) Implements org. Doc from org. Extract the secret based on the recipient private key.
| |
| getEncapsulationLength | back to summary |
|---|---|
| public int getEncapsulationLength() Implements org. Doc from org. Return the length in bytes of the encapsulation.
| |