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

pack-priv final Class ECDHKeyExchange

extends Object
Class Inheritance
Imports
java.io.IOException, java.security.AlgorithmConstraints, .CryptoPrimitive, .GeneralSecurityException, .KeyFactory, .KeyPair, .KeyPairGenerator, .PrivateKey, .PublicKey, .SecureRandom, java.security.interfaces.ECPublicKey, java.security.spec.ECParameterSpec, .ECPoint, .ECPublicKeySpec, java.util.EnumSet, javax.crypto.KeyAgreement, .SecretKey, javax.net.ssl.SSLHandshakeException, sun.security.ssl.NamedGroup.NamedGroupSpec, .X509Authentication.X509Credentials, .X509Authentication.X509Possession, .XDHKeyExchange.XDHECredentials, .XDHKeyExchange.XDHEPossession, sun.security.util.ECUtil

Nested and Inner Type Summary

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

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ecdheKAGeneratorback to summary
pack-priv static final SSLKeyAgreementGenerator ecdheKAGenerator
ecdheXdhKAGeneratorback to summary
pack-priv static final SSLKeyAgreementGenerator ecdheXdhKAGenerator
ecdhKAGeneratorback to summary
pack-priv static final SSLKeyAgreementGenerator ecdhKAGenerator
poGeneratorback to summary
pack-priv static final SSLPossessionGenerator poGenerator

Constructor Detail

ECDHKeyExchangeback to summary
pack-priv ECDHKeyExchange()
sun.security.ssl back to summary

pack-priv final Class ECDHKeyExchange.ECDHECredentials

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 ECPublicKey

Constructor Summary

AccessConstructor and Description
pack-priv
ECDHECredentials(ECPublicKey popPublicKey, NamedGroup namedGroup)

Method Summary

Modifier and TypeMethod and Description
public NamedGroup
public PublicKey
pack-priv static ECDHKeyExchange.ECDHECredentials
valueOf(NamedGroup namedGroup, byte[] encodedPoint)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

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

Constructor Detail

ECDHECredentialsback to summary
pack-priv ECDHECredentials(ECPublicKey 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 ECDHKeyExchange.ECDHECredentials valueOf(NamedGroup namedGroup, byte[] encodedPoint) throws IOException, GeneralSecurityException
sun.security.ssl back to summary

private final Class ECDHKeyExchange.ECDHEKAGenerator

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

ECDHEKAGeneratorback to summary
private ECDHEKAGenerator()

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 ECDHKeyExchange.ECDHEPossession

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 ECPublicKey

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
checkConstraints(AlgorithmConstraints constraints, byte[] encodedPoint)

public byte[]
pack-priv SecretKey
getAgreedSecret(PublicKey peerPublicKey)

pack-priv SecretKey
getAgreedSecret(byte[] encodedPoint)

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 ECPublicKey publicKey

Constructor Detail

ECDHEPossessionback to summary
pack-priv ECDHEPossession(NamedGroup namedGroup, SecureRandom random)
ECDHEPossessionback to summary
pack-priv ECDHEPossession(ECDHKeyExchange.ECDHECredentials credentials, SecureRandom random)

Method Detail

checkConstraintsback to summary
pack-priv void checkConstraints(AlgorithmConstraints constraints, byte[] encodedPoint) throws SSLHandshakeException
encodeback to summary
public byte[] encode()

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

Annotations
@Override
getAgreedSecretback to summary
pack-priv SecretKey getAgreedSecret(PublicKey peerPublicKey) throws SSLHandshakeException
getAgreedSecretback to summary
pack-priv SecretKey getAgreedSecret(byte[] encodedPoint) throws SSLHandshakeException
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 ECDHKeyExchange.ECDHEPossessionGenerator

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

ECDHEPossessionGeneratorback to summary
private ECDHEPossessionGenerator()

Method Detail

createPossessionback to summary
public SSLPossession createPossession(HandshakeContext context)

Implements sun.security.ssl.SSLPossessionGenerator.createPossession.

Annotations
@Override
sun.security.ssl back to summary

private final Class ECDHKeyExchange.ECDHEXDHKAGenerator

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

ECDHEXDHKAGeneratorback to summary
private ECDHEXDHKAGenerator()

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

private final Class ECDHKeyExchange.ECDHKAGenerator

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

ECDHKAGeneratorback to summary
private ECDHKAGenerator()

Method Detail

createClientKeyDerivationback to summary
private SSLKeyDerivation createClientKeyDerivation(ClientHandshakeContext chc) throws IOException
createKeyDerivationback to summary
public SSLKeyDerivation createKeyDerivation(HandshakeContext context) throws IOException

Implements sun.security.ssl.SSLKeyAgreementGenerator.createKeyDerivation.

Annotations
@Override
createServerKeyDerivationback to summary
private SSLKeyDerivation createServerKeyDerivation(ServerHandshakeContext shc) throws IOException