|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--demo.ESDHKEK
This demo shows how to use Epemeral-Static Diffie-Hellman key agreement algorithm (RFC 2631) for generating a shared secret key encryption key. The demo runs in static-static mode, where the sender uses a static DH key from a certificate.
Please note that this demo uses DHParameterSpec and ESDHParameterSpec, the first for representing the DH parameters p and g (used for key generation), and the latter used for initializing the ESDHKeyAgreement with the RFC 2631 OtherInfo!
Constructor Summary | |
ESDHKEK()
Default constructor. |
Method Summary | |
static void |
main(String[] argv)
The main method for a standalone application. |
boolean |
start()
Starts the demo. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ESDHKEK()
Method Detail |
public boolean start()
public static void main(String[] argv) throws IOException
|
This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |