META-INF.modules.java.base.classes.sun.security.ssl.DHCrypt.class Maven / Gradle / Ivy
???? 6( ? ?
? ? ? ? ?
A ?
} ?
?
? ?
B ? ?
? ?
d ?
d ?
A ? ? ?
?
? A ?
? A ?
? A ? ?
? ? ? ? ?
?
?
?
? ?
~ ? ?
?
~ ?
? ?
? ?
? ?
? ?
? ? ? ?
+ ?
, ? A ?
? ?
? ? ?
? ? ?
, ? ? ?
? ? ? ? ? ?
d ? A ?
d ?
? ?
? ?
A ? ? ? modulus Ljava/math/BigInteger; base
privateKey Ljava/security/PrivateKey; publicValue MAX_FAILOVER_TIMES I (ILjava/security/SecureRandom;)V Code LineNumberTable LocalVariableTable this Lsun/security/ssl/DHCrypt; keyLength random Ljava/security/SecureRandom; K(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/security/SecureRandom;)V <(Lsun/security/ssl/NamedGroup;Ljava/security/SecureRandom;)V
namedGroup Lsun/security/ssl/NamedGroup; C(ILjavax/crypto/spec/DHParameterSpec;Ljava/security/SecureRandom;)V kpg Ljava/security/KeyPairGenerator; spec #Ljavax/crypto/spec/DHPublicKeySpec; e (Ljava/security/GeneralSecurityException; params #Ljavax/crypto/spec/DHParameterSpec;
StackMapTable ? ? getDHPublicKeySpec >(Ljava/security/PublicKey;)Ljavax/crypto/spec/DHPublicKeySpec; dhKey %Ljavax/crypto/interfaces/DHPublicKey; factory Ljava/security/KeyFactory; Ljava/lang/Exception; key Ljava/security/PublicKey;
getModulus ()Ljava/math/BigInteger; getBase getPublicKey getAgreedSecret 1(Ljava/math/BigInteger;Z)Ljavax/crypto/SecretKey; ike #Ljava/security/InvalidKeyException; kf publicKey ka Ljavax/crypto/KeyAgreement; peerPublicValue keyIsValidated Z ? ? ? ?
Exceptions checkConstraints =(Ljava/security/AlgorithmConstraints;Ljava/math/BigInteger;)V gse constraints $Ljava/security/AlgorithmConstraints; generateDHPublicKeySpec E(Ljava/security/KeyPairGenerator;)Ljavax/crypto/spec/DHPublicKeySpec; ivke kp Ljava/security/KeyPair; i doExtraValiadtion ? ()V
SourceFile DHCrypt.java ? ? ? ? ? ? ? ? ? !javax/crypto/spec/DHParameterSpec K Y ? ? K ? ? ? ? K ?
DiffieHellman ? ? ? ? ? ? L ? ? java/lang/RuntimeException Could not generate DH keypair K ? ? o H D ? o C D ? o E D &java/security/GeneralSecurityException K ? #javax/crypto/interfaces/DHPublicKey ? ? !javax/crypto/spec/DHPublicKeySpec K ? ? ? ? java/lang/Exception K
!java/security/InvalidKeyException #javax/net/ssl/SSLHandshakeException
F G TlsPremasterSecret Could not generate secret ! 4DHPublicKey does not comply to algorithm constraints Could not generate DHPublicKey I J"#$%&' e f sun/security/ssl/DHCrypt java/lang/Object java/security/SecureRandom java/security/KeyPairGenerator java/math/BigInteger java/security/KeyFactory java/security/PublicKey javax/crypto/KeyAgreement java/security/KeyPair +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; bitLength ()I /(Ljava/math/BigInteger;Ljava/math/BigInteger;)V )sun/security/ssl/SupportedGroupsExtension getDHParameterSpec B(Lsun/security/ssl/NamedGroup;)Ljavax/crypto/spec/DHParameterSpec; sun/security/ssl/JsseJce getKeyPairGenerator 4(Ljava/lang/String;)Ljava/security/KeyPairGenerator;
initialize J(Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V (Ljava/lang/String;)V getY getP getG *(Ljava/lang/String;Ljava/lang/Throwable;)V getParams %()Ljavax/crypto/spec/DHParameterSpec; E(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
getKeyFactory .(Ljava/lang/String;)Ljava/security/KeyFactory;
getKeySpec B(Ljava/security/Key;Ljava/lang/Class;)Ljava/security/spec/KeySpec; (Ljava/lang/Throwable;)V generatePublic 7(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey; getKeyAgreement /(Ljava/lang/String;)Ljavax/crypto/KeyAgreement; getProvider ()Ljava/security/Provider; java/security/Provider getName ()Ljava/lang/String; sun/security/util/KeyUtil isOracleJCEProvider (Ljava/lang/String;)Z validate (Ljava/security/spec/KeySpec;)V
getMessage init (Ljava/security/Key;)V doPhase )(Ljava/security/Key;Z)Ljava/security/Key; generateSecret ,(Ljava/lang/String;)Ljavax/crypto/SecretKey; initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; java/security/CryptoPrimitive
KEY_AGREEMENT Ljava/security/CryptoPrimitive; java/util/EnumSet of %(Ljava/lang/Enum;)Ljava/util/EnumSet; "java/security/AlgorithmConstraints permits %(Ljava/util/Set;Ljava/security/Key;)Z generateKeyPair ()Ljava/security/KeyPair;
getPrivate ()Ljava/security/PrivateKey; getPublic ()Ljava/security/PublicKey; 0 A B C D E D F G H D
I J K L M ` *? ? ? ? ,? ? N a b a c O P Q R J S T K U M _ *+? ? Y+,? -? ? N
l n O * P Q C D E D S T K V M U *+? ,? ? N t u t
v O P Q W X S T K Y M B d*?
? :,?
,-? ?
-?
*? :?
? Y? ?*? ? *? ? *? ? ? :? Y? ?? R U N > } ? ? ? ? ? ( ? - ? 7 ? @ ? I ? R ? U ? W ? c ? O H G Z [ ( * \ ] W ^ _ d P Q d R J d ` a d S T b 2 ? A c d ? ? A c
e f M ? D*? ? %*? L+? M? Y+? ,? ,? ? ?
? !L+*? "? ?L? Y+? $? ) 9 : # N *
? ? ? ? ? ( ? ) ? / ? : ? ; ? O 4 g h ` a / i j ; ^ k D l m b )P # n o M / *? ? N ? O P Q p o M / *? ? N ? O P Q q o M / *? ? N ? O P Q r s M y |
? !N? Y+*? *? ? :-? %:
? &:? (? '? (? )? ? *? :? ,Y? -? .?*? /? 0? 1W2? 3?N? ,Y4? .-? 5? ,? 9 > A + i j N B ? ? ? ? ' ? - ? 9 ? > ? A ? C ? P ? Y ? b ? j ? k ? u ? O \ C
t u d v j R \ ] J w m ' C x y k ^ _ | P Q | z D | { | b 1 ? A A } ~ ? +? A } ? , ? ? M ? T
? !N? Y,*? *? ? :-? %? :+? 6? 7? 8 ?
? ,Y9? .?? N? ,Y:? .-? 5? ,?? > A N 2 ? ? ? # ? ' ? , ? 4 ? > ? A ? B ? L ? S ? O H 8 v j &