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

pack-priv final Class KEMKeyExchange

extends Object
Class Inheritance
Imports
java.io.IOException, java.security.GeneralSecurityException, .KeyPair, .KeyPairGenerator, .PrivateKey, .Provider, .ProviderException, .PublicKey, .SecureRandom, java.security.spec.NamedParameterSpec, javax.crypto.SecretKey, sun.security.ssl.NamedGroup.NamedGroupSpec, sun.security.util.KeyUtil, sun.security.x509.X509Key

Specifics for single or hybrid Key exchanges based on KEM

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
private static class
private static class
pack-priv 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

kemKAGeneratorback to summary
pack-priv static final SSLKeyAgreementGenerator kemKAGenerator

Constructor Detail

KEMKeyExchangeback to summary
pack-priv KEMKeyExchange()
sun.security.ssl back to summary

pack-priv final Class KEMKeyExchange.KEMCredentials

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

Field Summary

Modifier and TypeField and Description
private final byte[]
pack-priv final NamedGroup

Constructor Summary

AccessConstructor and Description
pack-priv
KEMCredentials(byte[] keyshare, NamedGroup namedGroup)

Method Summary

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

Instantiates a KEMCredentials object

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

keyshareback to summary
private final byte[] keyshare
namedGroupback to summary
pack-priv final NamedGroup namedGroup

Constructor Detail

KEMCredentialsback to summary
pack-priv KEMCredentials(byte[] keyshare, NamedGroup namedGroup)

Method Detail

getKeyShareback to summary
public byte[] getKeyShare()
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 KEMKeyExchange.KEMCredentials valueOf(NamedGroup namedGroup, byte[] encodedPoint)

Instantiates a KEMCredentials object

sun.security.ssl back to summary

private final Class KEMKeyExchange.KEMKAGenerator

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

KEMKAGeneratorback to summary
private KEMKAGenerator()

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 Class KEMKeyExchange.KEMPossession

extends Object
implements SSLPossession
Class Inheritance
All Implemented Interfaces
sun.security.ssl.SSLPossession
Known Direct Subclasses
sun.security.ssl.KEMKeyExchange.KEMReceiverPossession, sun.security.ssl.KEMKeyExchange.KEMSenderPossession

Field Summary

Modifier and TypeField and Description
private final NamedGroup

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Field Detail

namedGroupback to summary
private final NamedGroup namedGroup

Constructor Detail

KEMPossessionback to summary
public KEMPossession(NamedGroup ng)

Method Detail

getNamedGroupback to summary
public NamedGroup getNamedGroup()
sun.security.ssl back to summary

pack-priv final Class KEMKeyExchange.KEMReceiverPossession

extends KEMPossession
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final PrivateKey
private final PublicKey

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public byte[]
pack-priv PrivateKey
pack-priv PublicKey
Inherited from sun.security.ssl.KEMKeyExchange.KEMPossession:
getNamedGroup

Field Detail

privateKeyback to summary
private final PrivateKey privateKey
publicKeyback to summary
private final PublicKey publicKey

Constructor Detail

KEMReceiverPossessionback to summary
pack-priv KEMReceiverPossession(NamedGroup namedGroup, SecureRandom random)

Method Detail

encodeback to summary
public byte[] encode()

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

Annotations
@Override
getPrivateKeyback to summary
pack-priv PrivateKey getPrivateKey()
getPublicKeyback to summary
pack-priv PublicKey getPublicKey()
sun.security.ssl back to summary

pack-priv final Class KEMKeyExchange.KEMSenderPossession

extends KEMPossession
Class Inheritance

Field Summary

Modifier and TypeField and Description
private SecretKey
private final SecureRandom

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public byte[]
pack-priv SecretKey
pack-priv SecureRandom
pack-priv void
Inherited from sun.security.ssl.KEMKeyExchange.KEMPossession:
getNamedGroup

Field Detail

keyback to summary
private SecretKey key
randomback to summary
private final SecureRandom random

Constructor Detail

KEMSenderPossessionback to summary
pack-priv KEMSenderPossession(NamedGroup namedGroup, SecureRandom random)

Method Detail

encodeback to summary
public byte[] encode()

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

Annotations
@Override
getKeyback to summary
pack-priv SecretKey getKey()
getRandomback to summary
pack-priv SecureRandom getRandom()
setKeyback to summary
pack-priv void setKey(SecretKey key)