|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mqe.MQe | +--com.ibm.mqe.attributes.MQeGenDH
This class is used to create an MQeDHk.java file from which solution unique MQeDHk class objects can be created.
This class is a descendant of MQe
.
Part of the data passed in the establishment of a secure channel is Diffie Hellman partial key data. This data is used to generate a shared secret key, derivatives of which are subsequently used, to protect the confidentiality of the channel data, by the channel cryptor’s encrypt and decrypt methods.
The usage example, below shows how to use the utility to create a 512 bit Diffie Hellman key pair. To make this available to WebSphere MQ Everyplace, the resulting MQeDHk.java file must be compiled and installed as part of the com.ibm.mqe.attributes package.
Usage Example:
java com.ibm.mqe.attributes.MQeGenDH 512 examples.awt.AwtMQeTrace
Field Summary |
Constructor Summary | |
MQeGenDH()
|
Method Summary | |
void |
genParams(int length)
Generates a new DH pair and uses the new pair to create a new MQeDHk.java file. |
static void |
main(java.lang.String[] args)
Invokes a utility to generate a new DH key pair and create a new MQeDHk.java file. |
Methods inherited from class com.ibm.mqe.MQe |
abbreviate, alias, asciiToByte, byteToAscii, byteToHex, byteToHex, byteToInt, byteToLong, byteToShort, byteToUnicode, fileSeparator, getEventLogHandler, hexToAscii, hexToByte, intToByte, isCLDC, loadClass, loadObject, log, setEventLogHandler, setLoader, sliceByteArray, type, unicodeToByte, uniqueValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MQeGenDH()
Method Detail |
public void genParams(int length)
Generates a new DH pair and uses the new pair to create a new MQeDHk.java file.
length
- Parameter bit length
New MQeDHk.java file created in the current directory.
public static void main(java.lang.String[] args)
Invokes a utility to generate a new DH key pair and create a new MQeDHk.java file.
A new MQeDHk.java file is created in the current directory.
Usage Example :
java com.ibm.mqe.attributes.MQeGenDH 512 examples.awt.AwtMQeTrace
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |