META-INF.modules.java.base.classes.sun.security.ssl.ECDHKeyExchange$ECDHEPossession.class Maven / Gradle / Ivy
???? 7 ?
/ r s
t u
6 v w
x y
x z
{ | . }
{ ~ . ? ? ? ?
? . ? N ? ? N ? ?
T ?
? ? ?
t ?
? ?
? ? ?
? ? ? ?
?
?
t ?
t ? ?
$ ?
? ?
. ? ? ? ?
? ? ? ? ? ? ? ? ?
privateKey Ljava/security/PrivateKey; publicKey &Ljava/security/interfaces/ECPublicKey;
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 'Ljava/security/spec/ECGenParameterSpec; kp Ljava/security/KeyPair; e (Ljava/security/GeneralSecurityException; this ECDHEPossession 2Lsun/security/ssl/ECDHKeyExchange$ECDHEPossession; random Ljava/security/SecureRandom;
StackMapTable ? ? ECDHECredentials R(Lsun/security/ssl/ECDHKeyExchange$ECDHECredentials;Ljava/security/SecureRandom;)V credentials 3Lsun/security/ssl/ECDHKeyExchange$ECDHECredentials; $Ljava/security/spec/ECParameterSpec; ? encode ()[B getAgreedSecret 3(Ljava/security/PublicKey;)Ljavax/crypto/SecretKey; ka Ljavax/crypto/KeyAgreement;
peerPublicKey Ljava/security/PublicKey;
Exceptions ([B)Ljavax/crypto/SecretKey; point Ljava/security/spec/ECPoint; kf Ljava/security/KeyFactory; spec $Ljava/security/spec/ECPublicKeySpec; Ljava/lang/Exception; encodedPoint [B ? checkConstraints )(Ljava/security/AlgorithmConstraints;[B)V pubKey constraints $Ljava/security/AlgorithmConstraints;
SourceFile ECDHKeyExchange.java NestHost ? : ? EC ? ? ? ? ? %java/security/spec/ECGenParameterSpec ? ? ? ? ? ? ? ? 1 2 ? ? $java/security/interfaces/ECPublicKey 3 4 &java/security/GeneralSecurityException java/lang/RuntimeException Could not generate ECDH keypair : ? 5 9 ? 4 ? ? ? ? ? ? ? ? ? ECDH ? ? ? ? ? ? ? TlsPremasterSecret ? ? #javax/net/ssl/SSLHandshakeException Could not generate secret : ? ? ? ? ? ? ? "java/security/spec/ECPublicKeySpec : ? ? ? ? W X java/io/IOException ? ? ? ? ? ? ? ? ? 4ECPublicKey does not comply to algorithm constraints Could not generate ECPublicKey 0sun/security/ssl/ECDHKeyExchange$ECDHEPossession java/lang/Object sun/security/ssl/SSLPossession ? 4sun/security/ssl/SupportedGroupsExtension$NamedGroup java/security/SecureRandom 1sun/security/ssl/ECDHKeyExchange$ECDHECredentials "java/security/spec/ECParameterSpec java/lang/Exception sun/security/ssl/ECDHKeyExchange ()V sun/security/ssl/JsseJce getKeyPairGenerator 4(Ljava/lang/String;)Ljava/security/KeyPairGenerator; getParameterSpec -()Ljava/security/spec/AlgorithmParameterSpec; java/security/KeyPairGenerator
initialize J(Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V generateKeyPair ()Ljava/security/KeyPair; java/security/KeyPair
getPrivate ()Ljava/security/PrivateKey; getPublic ()Ljava/security/PublicKey; *(Ljava/lang/String;Ljava/lang/Throwable;)V popPublicKey getParams &()Ljava/security/spec/ECParameterSpec; getW ()Ljava/security/spec/ECPoint; getCurve $()Ljava/security/spec/EllipticCurve; sun/security/util/ECUtil encodePoint B(Ljava/security/spec/ECPoint;Ljava/security/spec/EllipticCurve;)[B getKeyAgreement /(Ljava/lang/String;)Ljavax/crypto/KeyAgreement; javax/crypto/KeyAgreement init (Ljava/security/Key;)V doPhase )(Ljava/security/Key;Z)Ljava/security/Key; generateSecret ,(Ljava/lang/String;)Ljavax/crypto/SecretKey; (Ljava/lang/String;)V initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; decodePoint B([BLjava/security/spec/EllipticCurve;)Ljava/security/spec/ECPoint;
getKeyFactory .(Ljava/lang/String;)Ljava/security/KeyFactory; C(Ljava/security/spec/ECPoint;Ljava/security/spec/ECParameterSpec;)V java/security/KeyFactory generatePublic 7(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey; 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 )sun/security/ssl/SupportedGroupsExtension 0 . / 0 1 2 3 4 5 9 : ; <