Package org.teiid.core.crypto
Class DhKeyGenerator
- java.lang.Object
-
- org.teiid.core.crypto.DhKeyGenerator
-
public class DhKeyGenerator extends Object
Helper class that supports anonymous ephemeral Diffie-Hellman Parameters are stored in the dh.properties file
-
-
Constructor Summary
Constructors Constructor Description DhKeyGenerator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
createPublicKey(boolean large)
SymmetricCryptor
getSymmetricCryptor(byte[] peerPublicKeyBytes, boolean useSealedObject, ClassLoader classLoader, boolean large, boolean cbc)
static void
main(String[] args)
Can be used to generate new parameters
-
-
-
Method Detail
-
createPublicKey
public byte[] createPublicKey(boolean large) throws CryptoException
- Throws:
CryptoException
-
getSymmetricCryptor
public SymmetricCryptor getSymmetricCryptor(byte[] peerPublicKeyBytes, boolean useSealedObject, ClassLoader classLoader, boolean large, boolean cbc) throws CryptoException
- Throws:
CryptoException
-
-