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

pack-priv final Class XDHKeyExchange

extends Object
Class Inheritance
Imports
java.io.IOException, java.math.BigInteger, java.security.*, java.security.interfaces.XECPublicKey, java.security.spec.*, sun.security.ssl.NamedGroup.NamedGroupSpec, sun.security.util.*

Specifics for XEC/XDH Keys/Exchanges

Nested and Inner Type Summary

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

Field Summary

Modifier and TypeField and Description
pack-priv static final SSLKeyAgreementGenerator

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

xdheKAGeneratorback to summary
pack-priv static final SSLKeyAgreementGenerator xdheKAGenerator

Constructor Detail

XDHKeyExchangeback to summary
pack-priv XDHKeyExchange()
sun.security.ssl back to summary

pack-priv final Class XDHKeyExchange.XDHECredentials

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 XECPublicKey

Constructor Summary

AccessConstructor and Description
pack-priv
XDHECredentials(XECPublicKey popPublicKey, NamedGroup namedGroup)

Method Summary

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

Parse the encoded Point into the XDHECredentials using the namedGroup.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

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

Constructor Detail

XDHECredentialsback to summary
pack-priv XDHECredentials(XECPublicKey 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 XDHKeyExchange.XDHECredentials valueOf(NamedGroup namedGroup, byte[] encodedPoint) throws IOException, GeneralSecurityException

Parse the encoded Point into the XDHECredentials using the namedGroup.

sun.security.ssl back to summary

private final Class XDHKeyExchange.XDHEKAGenerator

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

XDHEKAGeneratorback to summary
private XDHEKAGenerator()

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 XDHKeyExchange.XDHEPossession

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 XECPublicKey

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public byte[]
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 XECPublicKey publicKey

Constructor Detail

XDHEPossessionback to summary
pack-priv XDHEPossession(NamedGroup namedGroup, SecureRandom random)

Method Detail

encodeback to summary
public byte[] encode()

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

Annotations
@Override
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