|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.common.util.crypto.DhKeyGenerator
public class DhKeyGenerator
Helper class that supports anonymous ephemeral Diffie-Hellmen Parameters are stored in the dh.properties file
| Constructor Summary | |
|---|---|
DhKeyGenerator()
|
|
| Method Summary | |
|---|---|
byte[] |
createPublicKey()
|
SymmetricCryptor |
getSymmetricCryptor(byte[] peerPublicKeyBytes)
|
static void |
main(java.lang.String[] args)
Can be used to generate new parameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DhKeyGenerator()
| Method Detail |
|---|
public byte[] createPublicKey()
throws CryptoException
CryptoException
public SymmetricCryptor getSymmetricCryptor(byte[] peerPublicKeyBytes)
throws CryptoException
CryptoException
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||