
META-INF.modules.java.base.classes.sun.security.ssl.DHKeyExchange$DHEPossession.class Maven / Gradle / Ivy
???? 7
7 ~
? ?
> ? ?
V ?
6 ? ? ?
?
W ? 6 ?
W ? ? 6 ? ?
? 6 ? ? ?
? ? ? ?
V ? ?
~ ?
?
? ?
? ?
> ? [ ? [ ?
V ?
? ?
? ?
V ?
6 ?
? ? ? ? ?
?
?
) ?
? ?
? ? ? ? ?
? ?
? ?
? ? ? ? ?
privateKey Ljava/security/PrivateKey; publicKey %Ljavax/crypto/interfaces/DHPublicKey;
namedGroup ?
NamedGroup InnerClasses 6Lsun/security/ssl/SupportedGroupsExtension$NamedGroup; U(Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;Ljava/security/SecureRandom;)V Code LineNumberTable LocalVariableTable kpg Ljava/security/KeyPairGenerator; params #Ljavax/crypto/spec/DHParameterSpec; kp Ljava/security/KeyPair; gse (Ljava/security/GeneralSecurityException; this
DHEPossession .Lsun/security/ssl/DHKeyExchange$DHEPossession; random Ljava/security/SecureRandom;
StackMapTable ? ? ? (ILjava/security/SecureRandom;)V keyLength I ? DHECredentials N(Lsun/security/ssl/DHKeyExchange$DHECredentials;Ljava/security/SecureRandom;)V credentials /Lsun/security/ssl/DHKeyExchange$DHECredentials; generateDHKeyPair 9(Ljava/security/KeyPairGenerator;)Ljava/security/KeyPair; ivke #Ljava/security/InvalidKeyException; spec #Ljavax/crypto/spec/DHPublicKeySpec; i doExtraValiadtion Z isRecovering
Exceptions getDHPublicKeySpec >(Ljava/security/PublicKey;)Ljavax/crypto/spec/DHPublicKeySpec; dhKey factory Ljava/security/KeyFactory; e key Ljava/security/PublicKey; encode ()[B buffer [B encoded pSize v
SourceFile DHKeyExchange.java NestHost ? B ?
DiffieHellman ? ? ? ? ? !javax/crypto/spec/DHParameterSpec ? ? ` a java/lang/RuntimeException Could not generate DH keypair B ? ? ? 9 : ? ? #javax/crypto/interfaces/DHPublicKey ; < &java/security/GeneralSecurityException B ? = A ? ? ? ? ? ? ? ? ? ? X java/lang/StringBuilder !Could not generate DH keypair of ? ? ? ? bits ? ? ? ? ? ? ? < ? ? ? ? ? ? ? ? ? ? k l ? ? !java/security/InvalidKeyException !javax/crypto/spec/DHPublicKeySpec ? ? ? ? ? ? B ? ? ? ? ? ? &java/security/NoSuchAlgorithmException *java/security/spec/InvalidKeySpecException Unable to get DHPublicKeySpec ? ? t ? ? ? ? ? ,sun/security/ssl/DHKeyExchange$DHEPossession java/lang/Object sun/security/ssl/SSLPossession 4sun/security/ssl/SupportedGroupsExtension$NamedGroup java/security/SecureRandom java/security/KeyPairGenerator java/security/KeyPair -sun/security/ssl/DHKeyExchange$DHECredentials sun/security/ssl/DHKeyExchange ()V sun/security/ssl/JsseJce getKeyPairGenerator 4(Ljava/lang/String;)Ljava/security/KeyPairGenerator; getParameterSpec -()Ljava/security/spec/AlgorithmParameterSpec;
initialize J(Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V (Ljava/lang/String;)V
getPrivate ()Ljava/security/PrivateKey; getPublic ()Ljava/security/PublicKey; *(Ljava/lang/String;Ljava/lang/Throwable;)V +sun/security/ssl/PredefinedDHParameterSpecs
definedParams Ljava/util/Map; java/lang/Integer valueOf (I)Ljava/lang/Integer;
java/util/Map get &(Ljava/lang/Object;)Ljava/lang/Object; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; getParams %()Ljavax/crypto/spec/DHParameterSpec; [(Ljavax/crypto/spec/DHParameterSpec;)Lsun/security/ssl/SupportedGroupsExtension$NamedGroup; popPublicKey getProvider ()Ljava/security/Provider; java/security/Provider getName sun/security/util/KeyUtil isOracleJCEProvider (Ljava/lang/String;)Z generateKeyPair ()Ljava/security/KeyPair; validate (Ljava/security/spec/KeySpec;)V getY ()Ljava/math/BigInteger; getP getG E(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
getKeyFactory .(Ljava/lang/String;)Ljava/security/KeyFactory; java/security/KeyFactory
getKeySpec B(Ljava/security/Key;Ljava/lang/Class;)Ljava/security/spec/KeySpec; java/math/BigInteger toByteArray
getKeySize (Ljava/security/Key;)I java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V )sun/security/ssl/SupportedGroupsExtension 0 6 7 8 9 : ; <