| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private byte[] | |
| private byte[] | |
| private int | |
| private byte[] | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | IESParameterSpec(byte[]
the optional derivation vector for the KDF. derivation, byte[] the optional encoding vector for the KDF. encoding, int the key size (in bits) for the MAC. macKeySize)Set the IES engine parameters. |
| public | IESParameterSpec(byte[]
the optional derivation vector for the KDF. derivation, byte[] the optional encoding vector for the KDF. encoding, int the key size (in bits) for the MAC. macKeySize, int the key size (in bits) for the block cipher. cipherKeySize, byte[] an IV to use initialising the block cipher. nonce)Set the IES engine parameters. |
| public | IESParameterSpec(byte[]
the optional derivation vector for the KDF. derivation, byte[] the optional encoding vector for the KDF. encoding, int the key size (in bits) for the MAC. macKeySize, int the key size (in bits) for the block cipher. cipherKeySize, byte[] an IV to use initialising the block cipher. nonce, boolean whether to use EC point compression or not (false by default) usePointCompression)Set the IES engine parameters. |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public byte[] | |
| public byte[] | |
| public int | |
| public byte[] | Returns: block cipher IV for message.Return the nonce (IV) value to be associated with message. |
| public boolean | |
| public void |
| cipherKeySize | back to summary |
|---|---|
| private int cipherKeySize | |
| derivation | back to summary |
|---|---|
| private byte[] derivation | |
| encoding | back to summary |
|---|---|
| private byte[] encoding | |
| macKeySize | back to summary |
|---|---|
| private int macKeySize | |
| nonce | back to summary |
|---|---|
| private byte[] nonce | |
| usePointCompression | back to summary |
|---|---|
| private boolean usePointCompression | |
| IESParameterSpec | back to summary |
|---|---|
| public IESParameterSpec(byte[] derivation, byte[] encoding, int macKeySize) Set the IES engine parameters.
| |
| IESParameterSpec | back to summary |
|---|---|
| public IESParameterSpec(byte[] derivation, byte[] encoding, int macKeySize, int cipherKeySize, byte[] nonce) Set the IES engine parameters.
| |
| IESParameterSpec | back to summary |
|---|---|
| public IESParameterSpec(byte[] derivation, byte[] encoding, int macKeySize, int cipherKeySize, byte[] nonce, boolean usePointCompression) Set the IES engine parameters.
| |
| getCipherKeySize | back to summary |
|---|---|
| public int getCipherKeySize() return the key size in bits for the block cipher used with the message | |
| getDerivationV | back to summary |
|---|---|
| public byte[] getDerivationV() return the derivation vector. | |
| getEncodingV | back to summary |
|---|---|
| public byte[] getEncodingV() return the encoding vector. | |
| getMacKeySize | back to summary |
|---|---|
| public int getMacKeySize() return the key size in bits for the MAC used with the message | |
| getNonce | back to summary |
|---|---|
| public byte[] getNonce() Return the nonce (IV) value to be associated with message.
| |
| getPointCompression | back to summary |
|---|---|
| public boolean getPointCompression() Return the 'point compression' flag.
| |
| setPointCompression | back to summary |
|---|---|
| public void setPointCompression(boolean usePointCompression) Set the 'point compression' flag. | |