APIdia Launch Partner
Top Inners Fields Constructors Methods
sun.security.ssl

pack-priv final Class DHKeyExchange

extends Object
Class Inheritance
Imports
java.io.IOException, java.math.BigInteger, java.security.GeneralSecurityException, .InvalidKeyException, .KeyFactory, .KeyPair, .KeyPairGenerator, .NoSuchAlgorithmException, .PrivateKey, .PublicKey, .SecureRandom, java.security.spec.InvalidKeySpecException, javax.crypto.interfaces.DHPublicKey, javax.crypto.spec.DHParameterSpec, .DHPublicKeySpec, sun.security.ssl.NamedGroup.NamedGroupSpec, .X509Authentication.X509Possession, sun.security.util.KeyUtil

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
private static class
pack-priv static class
private static class

Field Summary

Modifier and TypeField and Description
pack-priv static final SSLKeyAgreementGenerator
pack-priv static final SSLPossessionGenerator
pack-priv static final SSLPossessionGenerator

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

kaGeneratorback to summary
pack-priv static final SSLKeyAgreementGenerator kaGenerator
poExportableGeneratorback to summary
pack-priv static final SSLPossessionGenerator poExportableGenerator
poGeneratorback to summary
pack-priv static final SSLPossessionGenerator poGenerator

Constructor Detail

DHKeyExchangeback to summary
pack-priv DHKeyExchange()
sun.security.ssl back to summary

pack-priv final Class DHKeyExchange.DHECredentials

extends Object
implements NamedGroupCredentials
Class Inheritance
All Implemented Interfaces
sun.security.ssl.NamedGroupCredentials, sun.security.ssl.SSLCredentials

Field Summary

Modifier and TypeField and Description
pack-priv final NamedGroup
pack-priv final DHPublicKey

Constructor Summary

AccessConstructor and Description
pack-priv
DHECredentials(DHPublicKey popPublicKey, NamedGroup namedGroup)

Method Summary

Modifier and TypeMethod and Description
public NamedGroup
public PublicKey
pack-priv static DHKeyExchange.DHECredentials
valueOf(NamedGroup ng, byte[] encodedPublic)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

namedGroupback to summary
pack-priv final NamedGroup namedGroup
popPublicKeyback to summary
pack-priv final DHPublicKey popPublicKey

Constructor Detail

DHECredentialsback to summary
pack-priv DHECredentials(DHPublicKey popPublicKey, NamedGroup namedGroup)

Method Detail

getNamedGroupback to summary
public NamedGroup getNamedGroup()

Implements sun.security.ssl.NamedGroupCredentials.getNamedGroup.

Annotations
@Override
getPublicKeyback to summary
public PublicKey getPublicKey()

Implements sun.security.ssl.NamedGroupCredentials.getPublicKey.

Annotations
@Override
valueOfback to summary
pack-priv static DHKeyExchange.DHECredentials valueOf(NamedGroup ng, byte[] encodedPublic) throws IOException, GeneralSecurityException
sun.security.ssl back to summary

private final Class DHKeyExchange.DHEKAGenerator

extends Object
implements SSLKeyAgreementGenerator
Class Inheritance
All Implemented Interfaces
sun.security.ssl.SSLKeyAgreementGenerator

Field Summary

Modifier and TypeField and Description
private static final DHKeyExchange.DHEKAGenerator

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public SSLKeyDerivation
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

instanceback to summary
private static final DHKeyExchange.DHEKAGenerator instance

Constructor Detail

DHEKAGeneratorback to summary
private DHEKAGenerator()

Method Detail

createKeyDerivationback to summary
public SSLKeyDerivation createKeyDerivation(HandshakeContext context) throws IOException

Implements sun.security.ssl.SSLKeyAgreementGenerator.createKeyDerivation.

Annotations
@Override
sun.security.ssl back to summary

pack-priv final Class DHKeyExchange.DHEPossession

extends Object
implements NamedGroupPossession
Class Inheritance
All Implemented Interfaces
sun.security.ssl.NamedGroupPossession, sun.security.ssl.SSLPossession

Field Summary

Modifier and TypeField and Description
pack-priv final NamedGroup
pack-priv final PrivateKey
pack-priv final DHPublicKey

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv
DHEPossession(int keyLength, SecureRandom random)

pack-priv

Method Summary

Modifier and TypeMethod and Description
public byte[]
private KeyPair
private static DHPublicKeySpec
public NamedGroup
public PrivateKey
public PublicKey
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

namedGroupback to summary
pack-priv final NamedGroup namedGroup
privateKeyback to summary
pack-priv final PrivateKey privateKey
publicKeyback to summary
pack-priv final DHPublicKey publicKey

Constructor Detail

DHEPossessionback to summary
pack-priv DHEPossession(NamedGroup namedGroup, SecureRandom random)
DHEPossessionback to summary
pack-priv DHEPossession(int keyLength, SecureRandom random)
DHEPossessionback to summary
pack-priv DHEPossession(DHKeyExchange.DHECredentials credentials, SecureRandom random)

Method Detail

encodeback to summary
public byte[] encode()

Overrides default sun.security.ssl.SSLPossession.encode.

Annotations
@Override
generateDHKeyPairback to summary
private KeyPair generateDHKeyPair(KeyPairGenerator kpg) throws GeneralSecurityException
getDHPublicKeySpecback to summary
private static DHPublicKeySpec getDHPublicKeySpec(PublicKey key)
getNamedGroupback to summary
public NamedGroup getNamedGroup()

Implements sun.security.ssl.NamedGroupPossession.getNamedGroup.

Annotations
@Override
getPrivateKeyback to summary
public PrivateKey getPrivateKey()

Implements sun.security.ssl.NamedGroupPossession.getPrivateKey.

Annotations
@Override
getPublicKeyback to summary
public PublicKey getPublicKey()

Implements sun.security.ssl.NamedGroupPossession.getPublicKey.

Annotations
@Override
sun.security.ssl back to summary

private final Class DHKeyExchange.DHEPossessionGenerator

extends Object
implements SSLPossessionGenerator
Class Inheritance
All Implemented Interfaces
sun.security.ssl.SSLPossessionGenerator

Field Summary

Modifier and TypeField and Description
private static final int
private final boolean
private static final boolean
private static final boolean

Constructor Summary

AccessConstructor and Description
private
DHEPossessionGenerator(boolean exportable)

Method Summary

Modifier and TypeMethod and Description
public SSLPossession
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

customizedDHKeySizeback to summary
private static final int customizedDHKeySize
exportableback to summary
private final boolean exportable
useLegacyEphemeralDHKeysback to summary
private static final boolean useLegacyEphemeralDHKeys
useSmartEphemeralDHKeysback to summary
private static final boolean useSmartEphemeralDHKeys

Constructor Detail

DHEPossessionGeneratorback to summary
private DHEPossessionGenerator(boolean exportable)

Method Detail

createPossessionback to summary
public SSLPossession createPossession(HandshakeContext context)

Implements sun.security.ssl.SSLPossessionGenerator.createPossession.

Annotations
@Override