org.bouncycastle.jce.spec
public class IEKeySpec extends Object implements KeySpec, IESKey
| Constructor Summary | |
|---|---|
| IEKeySpec(PrivateKey privKey, PublicKey pubKey) | |
| Method Summary | |
|---|---|
| String | getAlgorithm()
return "IES" |
| byte[] | getEncoded()
returns null |
| String | getFormat()
return null |
| PrivateKey | getPrivate()
return the local private key. |
| PublicKey | getPublic()
return the intended recipient's/sender's public key. |
Parameters: privKey our private key. pubKey the public key of the sender/recipient.