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

pack-priv final Class RSAKeyExchange

extends Object
Class Inheritance
Imports
java.io.IOException, java.security.GeneralSecurityException, .InvalidAlgorithmParameterException, .InvalidKeyException, .KeyPair, .NoSuchAlgorithmException, .PrivateKey, .PublicKey, .SecureRandom, java.security.interfaces.RSAPublicKey, javax.crypto.BadPaddingException, .Cipher, .KeyGenerator, .SecretKey, javax.net.ssl.SSLHandshakeException, sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec, sun.security.util.KeyUtil

Nested and Inner Type Summary

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

Field Summary

Modifier and TypeField and Description
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

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

Constructor Detail

RSAKeyExchangeback to summary
pack-priv RSAKeyExchange()
sun.security.ssl back to summary

pack-priv final Class RSAKeyExchange.EphemeralRSACredentials

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

Field Summary

Modifier and TypeField and Description
pack-priv final RSAPublicKey

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

popPublicKeyback to summary
pack-priv final RSAPublicKey popPublicKey

Constructor Detail

EphemeralRSACredentialsback to summary
pack-priv EphemeralRSACredentials(RSAPublicKey popPublicKey)
sun.security.ssl back to summary

pack-priv final Class RSAKeyExchange.EphemeralRSAPossession

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

Field Summary

Modifier and TypeField and Description
pack-priv final PrivateKey
pack-priv final RSAPublicKey

Constructor Summary

AccessConstructor and Description
pack-priv
EphemeralRSAPossession(PrivateKey popPrivateKey, RSAPublicKey popPublicKey)

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

popPrivateKeyback to summary
pack-priv final PrivateKey popPrivateKey
popPublicKeyback to summary
pack-priv final RSAPublicKey popPublicKey

Constructor Detail

EphemeralRSAPossessionback to summary
pack-priv EphemeralRSAPossession(PrivateKey popPrivateKey, RSAPublicKey popPublicKey)
sun.security.ssl back to summary

private final Class RSAKeyExchange.EphemeralRSAPossessionGenerator

extends Object
implements SSLPossessionGenerator
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.RSAKeyExchange.EphemeralRSAPossessionGenerator
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

EphemeralRSAPossessionGeneratorback to summary
private EphemeralRSAPossessionGenerator()

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 RSAKeyExchange.RSAKAGenerator

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

RSAKAGeneratorback to summary
private RSAKAGenerator()

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 RSAKeyExchange.RSAKAGenerator.RSAKAKeyDerivation

extends Object
implements SSLKeyDerivation
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.RSAKeyExchange.RSAKAGenerator.RSAKAKeyDerivation
All Implemented Interfaces
sun.security.ssl.SSLKeyDerivation

Field Summary

Modifier and TypeField and Description
private final HandshakeContext
private final SecretKey

Constructor Summary

AccessConstructor and Description
pack-priv
RSAKAKeyDerivation(HandshakeContext context, SecretKey preMasterSecret)

Method Summary

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

Field Detail

contextback to summary
private final HandshakeContext context
preMasterSecretback to summary
private final SecretKey preMasterSecret

Constructor Detail

RSAKAKeyDerivationback to summary
pack-priv RSAKAKeyDerivation(HandshakeContext context, SecretKey preMasterSecret)

Method Detail

deriveKeyback to summary
public SecretKey deriveKey(String typeNotUsed) throws IOException

Implements sun.security.ssl.SSLKeyDerivation.deriveKey.

Annotations
@Override
sun.security.ssl back to summary

pack-priv final Class RSAKeyExchange.RSAPremasterSecret

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

Field Summary

Modifier and TypeField and Description
pack-priv final SecretKey

Constructor Summary

AccessConstructor and Description
pack-priv
RSAPremasterSecret(SecretKey premasterSecret)

Method Summary

Modifier and TypeMethod and Description
pack-priv static RSAKeyExchange.RSAPremasterSecret
pack-priv static RSAKeyExchange.RSAPremasterSecret
decode(ServerHandshakeContext shc, PrivateKey privateKey, byte[] encrypted)

private static SecretKey
generatePremasterSecret(int clientVersion, int serverVersion, byte[] encodedSecret, SecureRandom generator)

pack-priv byte[]
getEncoded(PublicKey publicKey, SecureRandom secureRandom)

private static String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

premasterSecretback to summary
pack-priv final SecretKey premasterSecret

Constructor Detail

RSAPremasterSecretback to summary
pack-priv RSAPremasterSecret(SecretKey premasterSecret)

Method Detail

createPremasterSecretback to summary
pack-priv static RSAKeyExchange.RSAPremasterSecret createPremasterSecret(ClientHandshakeContext chc) throws GeneralSecurityException
Annotations
@SuppressWarnings:deprecation
decodeback to summary
pack-priv static RSAKeyExchange.RSAPremasterSecret decode(ServerHandshakeContext shc, PrivateKey privateKey, byte[] encrypted) throws GeneralSecurityException
Annotations
@SuppressWarnings:deprecation
generatePremasterSecretback to summary
private static SecretKey generatePremasterSecret(int clientVersion, int serverVersion, byte[] encodedSecret, SecureRandom generator) throws GeneralSecurityException
Annotations
@SuppressWarnings:deprecation
getEncodedback to summary
pack-priv byte[] getEncoded(PublicKey publicKey, SecureRandom secureRandom) throws GeneralSecurityException
safeProviderNameback to summary
private static String safeProviderName(Cipher cipher)