Top Constructors Methods
org.bouncycastle.tls.crypto.impl.jcajce

pack-priv Class DHUtil

extends Object
Class Inheritance
Imports
java.math.BigInteger, java.security.AlgorithmParameters, java.security.spec.AlgorithmParameterSpec, .KeySpec, javax.crypto.spec.DHParameterSpec, org.bouncycastle.jcajce.spec.DHDomainParameterSpec, .DHExtendedPublicKeySpec, org.bouncycastle.tls.crypto.DHGroup

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static AlgorithmParameterSpec
pack-priv static KeySpec
pack-priv static AlgorithmParameters
pack-priv static AlgorithmParameters
pack-priv static DHParameterSpec
pack-priv static DHParameterSpec
pack-priv static BigInteger
pack-priv static boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DHUtilback to summary
pack-priv DHUtil()

Method Detail

createInitSpecback to summary
pack-priv static AlgorithmParameterSpec createInitSpec(DHGroup dhGroup)
createPublicKeySpecback to summary
pack-priv static KeySpec createPublicKeySpec(BigInteger y, DHParameterSpec dhSpec)
getAlgorithmParametersback to summary
pack-priv static AlgorithmParameters getAlgorithmParameters(JcaTlsCrypto crypto, DHGroup dhGroup)
getAlgorithmParametersback to summary
pack-priv static AlgorithmParameters getAlgorithmParameters(JcaTlsCrypto crypto, AlgorithmParameterSpec initSpec)
getDHParameterSpecback to summary
pack-priv static DHParameterSpec getDHParameterSpec(JcaTlsCrypto crypto, DHGroup dhGroup)
getDHParameterSpecback to summary
pack-priv static DHParameterSpec getDHParameterSpec(JcaTlsCrypto crypto, AlgorithmParameterSpec initSpec)
getQback to summary
pack-priv static BigInteger getQ(DHParameterSpec dhSpec)
isGroupSupportedback to summary
pack-priv static boolean isGroupSupported(JcaTlsCrypto crypto, DHGroup dhGroup)