All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.modules.java.base.classes.sun.security.ssl.SSLEngineImpl.class Maven / Gradle / Ivy

There is a newer version: 2024-05-10
Show newest version
????:?
sun/security/ssl/SSLEngineImpl7(Lsun/security/ssl/SSLContextImpl;Ljava/lang/String;I)V
	
javax/net/ssl/SSLEngine(Ljava/lang/String;I)V
(java/util/concurrent/locks/ReentrantLock
()V	
engineLock*Ljava/util/concurrent/locks/ReentrantLock;	
sslContext!Lsun/security/ssl/SSLContextImpl;sun/security/ssl/HandshakeHash

 !sun/security/ssl/SSLContextImplisDTLS()Z#!sun/security/ssl/TransportContext% sun/security/ssl/DTLSInputRecord
$'(#(Lsun/security/ssl/HandshakeHash;)V*!sun/security/ssl/DTLSOutputRecord
)'
"-.?(Lsun/security/ssl/SSLContextImpl;Lsun/security/ssl/SSLTransport;Lsun/security/ssl/InputRecord;Lsun/security/ssl/OutputRecord;)V	012
conContext#Lsun/security/ssl/TransportContext;4%sun/security/ssl/SSLEngineInputRecord
3'7&sun/security/ssl/SSLEngineOutputRecord
6'	":;<	sslConfig#Lsun/security/ssl/SSLConfiguration;	>?@AB!sun/security/ssl/SSLConfigurationserverNamesLjava/util/List;
DEFGHsun/security/ssl/UtilitiesaddToSNIServerNameList4(Ljava/util/List;Ljava/lang/String;)Ljava/util/List;
JKlock	"MNOisUnsureModeZQjava/lang/IllegalStateExceptionS(Client/Server mode has not yet been set.
PUV(Ljava/lang/String;)V
"XY	kickstart[java/io/IOException	]^_`asun/security/ssl/AlertHANDSHAKE_FAILURELsun/security/ssl/Alert;cCouldn't kickstart handshaking
"efgfatal](Lsun/security/ssl/Alert;Ljava/lang/String;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;ijava/lang/Exception	]klaINTERNAL_ERRORnFail to begin handshake
pqunlocksjava/nio/ByteBuffer
uvwwrapQ([Ljava/nio/ByteBuffer;II[Ljava/nio/ByteBuffer;II)Ljavax/net/ssl/SSLEngineResult;
yzcheckTaskThrown
|}~checkParams3([Ljava/nio/ByteBuffer;II[Ljava/nio/ByteBuffer;II)V
??wwriteRecord?"javax/net/ssl/SSLProtocolException	]??aUNEXPECTED_MESSAGE
"?f?K(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;?problem wrapping app data?Fail to wrap application data
??!isOutboundDone?javax/net/ssl/SSLEngineResult	?????$javax/net/ssl/SSLEngineResult$StatusCLOSED&Ljavax/net/ssl/SSLEngineResult$Status;
???getHandshakeStatus1()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
???Z(Ljavax/net/ssl/SSLEngineResult$Status;Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;II)V	"???handshakeContext#Lsun/security/ssl/HandshakeContext;	"??OisNegotiated	"??OisBroken
"??!isInboundClosed
"??!isOutboundClosed	?????-javax/net/ssl/SSLEngineResult$HandshakeStatusNEED_UNWRAP/Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;	?:?!sun/security/ssl/HandshakeContext	>??OenableRetransmissions	"???outputRecordLsun/security/ssl/OutputRecord;	????Osun/security/ssl/OutputRecordfirstMessage	????OK	????	NEED_TASK
r???	remaining()I	"???
conSession!Lsun/security/ssl/SSLSessionImpl;
?????sun/security/ssl/SSLSessionImplgetPacketBufferSize	????BUFFER_OVERFLOW
???!isEmpty	?
???encodeO([Ljava/nio/ByteBuffer;II[Ljava/nio/ByteBuffer;II)Lsun/security/ssl/Ciphertext;?javax/net/ssl/SSLException?Write problems
???*(Ljava/lang/String;Ljava/lang/Throwable;)V	?????sun/security/ssl/CiphertexthandshakeStatus	????	NEED_WRAP	????recordSNJ????????
???[(Ljavax/net/ssl/SSLEngineResult$Status;Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;IIJ)V
???#javax/net/ssl/SSLHandshakeException	"	?contentTypeB
tryToFinishHandshake2(B)Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;	?	?FINISHED	?
handshakeType		sun/security/ssl/SSLHandshakeLsun/security/ssl/SSLHandshake;	id	Osun/security/ssl/SSLLoggerisOnssl,verbose
(Ljava/lang/String;)Z #retransmit the last flight messages"java/lang/Object
$%&finest((Ljava/lang/String;[Ljava/lang/Object;)V
?()launchRetransmission
"?
?,-!seqNumIsHuge	?/01writeCipher+Lsun/security/ssl/SSLCipher$SSLWriteCipher;
3456!)sun/security/ssl/SSLCipher$SSLWriteCipher
atKeyLimit
89:tryKeyUpdate`(Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;)Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;	?<=O	updateNST	>?@OisClientMode
BC:tryNewSessionTicket	EFGHIsun/security/ssl/ContentType	HANDSHAKELsun/security/ssl/ContentType;	E
"LM!isPostHandshakeContext
"OP?finishPostHandshake	?RSOhandshakeFinished
"UV?finishHandshakeXsslZtrigger key update
\]beginHandshake	"_`aprotocolVersion"Lsun/security/ssl/ProtocolVersion;
cdef! sun/security/ssl/ProtocolVersionuseTLS13PlusSpechtrigger NST	jklmn!sun/security/ssl/NewSessionTicketkickstartProducerLsun/security/ssl/SSLProducer;p%sun/security/ssl/PostHandshakeContext
ors&(Lsun/security/ssl/TransportContext;)Vuvwxysun/security/ssl/SSLProducerproduce((Lsun/security/ssl/ConnectionContext;)[B{"java/lang/IllegalArgumentException}$source or destination buffer is null
zU?#java/lang/IndexOutOfBoundsException?-index out of bound of the destination buffers
U?(index out of bound of the source buffers?java/lang/StringBuilder
??destination buffer[
????append-(Ljava/lang/String;)Ljava/lang/StringBuilder;
????(I)Ljava/lang/StringBuilder;?	] == null
????toString()Ljava/lang/String;
r??!
isReadOnly? java/nio/ReadOnlyBufferException
??source buffer[
??wunwrap
??w
readRecord
????
getMessage?problem unwrapping net record?Fail to unwrap network record
??!
isInboundDone	????NEED_UNWRAP_AGAIN
???decodeN([Ljava/nio/ByteBuffer;II[Ljava/nio/ByteBuffer;II)Lsun/security/ssl/Plaintext;?	???sun/security/ssl/Plaintext	??	????BUFFER_UNDERFLOW	"???inputRecordLsun/security/ssl/InputRecord;
?????sun/security/ssl/InputRecordbytesInCompletePacket([Ljava/nio/ByteBuffer;II)I?Discard invalid DTLS records?sun/security/ssl/DTLSRecord?sun/security/ssl/SSLRecord?E
???expandBufferSizes?Input record too big: max = ? len = 
?U
????estimateFragmentSize(I)I?????sun/security/ssl/SSLTransportq(Lsun/security/ssl/TransportContext;[Ljava/nio/ByteBuffer;II[Ljava/nio/ByteBuffer;II)Lsun/security/ssl/Plaintext;	????PLAINTEXT_NULLLsun/security/ssl/Plaintext;	?
?,	????
readCipher*Lsun/security/ssl/SSLCipher$SSLReadCipher;
?4?(sun/security/ssl/SSLCipher$SSLReadCipher	???O
taskDelegated	????delegatedActionsLjava/util/Queue;???java/util/Queue?,sun/security/ssl/SSLEngineImpl$DelegatedTask
???#(Lsun/security/ssl/SSLEngineImpl;)V?Closing inbound of SSLEngine	"OisInputCloseNotified4closing inbound before receiving peer's close_notify
"fH(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
"	closeInboundClosing outbound of SSLEngine
"

closeOutbound
"?
getSupportedCipherSuites()Ljava/util/List;
sun/security/ssl/CipherSuitenamesOf%(Ljava/util/List;)[Ljava/lang/String;	>BenabledCipherSuites
 
validValuesOf%([Ljava/lang/String;)Ljava/util/List;
"#getSupportedProtocolVersions
c%&
toStringArray	>()BenabledProtocols+Protocols cannot be null
c- 	?/0?handshakeSession
"234setUseClientMode(Z)V	6789:sun/security/ssl/ClientAuthTypeCLIENT_AUTH_REQUIRED!Lsun/security/ssl/ClientAuthType;	6<=:CLIENT_AUTH_NONE	>?@:clientAuthType	6BC:CLIENT_AUTH_REQUESTED	>EFOenableSessionCreation
>HIJgetSSLParameters()Ljavax/net/ssl/SSLParameters;
>LMNsetSSLParameters (Ljavax/net/ssl/SSLParameters;)V	>PQRmaximumPacketSizeI
?TUVchangePacketSize(I)V	"XYZapplicationProtocolLjava/lang/String;	?X	>]^_engineAPSelectorLjava/util/function/BiFunction;	?abcdelegatedThrownLjava/lang/Exception;	"afjava/lang/RuntimeException
hij
getTaskThrown3(Ljava/lang/Exception;)Ljavax/net/ssl/SSLException;
h?m'Delegated task threw Exception or Error
e?
?U
?qrs	initCause,(Ljava/lang/Throwable;)Ljava/lang/Throwable;ujavax/net/ssl/SSLKeyException
tU
tqy(javax/net/ssl/SSLPeerUnverifiedException
xU
xq
?q$(Lsun/security/ssl/SSLContextImpl;)VCodeLineNumberTableLocalVariableTablethis Lsun/security/ssl/SSLEngineImpl;hostport
handshakeHash Lsun/security/ssl/HandshakeHash;
StackMapTable?java/lang/StringioeLjava/io/IOException;ex?java/lang/Throwable
ExceptionsN([Ljava/nio/ByteBuffer;IILjava/nio/ByteBuffer;)Ljavax/net/ssl/SSLEngineResult;appData[Ljava/nio/ByteBuffer;offsetlengthnetDataLjava/nio/ByteBuffer;spe$Ljavax/net/ssl/SSLProtocolException;srcs
srcsOffset
srcsLengthdsts
dstsOffset
dstsLengthihchsStatusdstsRemainssrcsRemains
ciphertextLsun/security/ssl/Ciphertext;status	deltaSrcs	deltaDsts?she%Ljavax/net/ssl/SSLHandshakeException;eneedRetransmissioncurrentHandshakeStatusN(Ljava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;II)Ljavax/net/ssl/SSLEngineResult;src	plainTextdeltaNetssleLjavax/net/ssl/SSLException;largestRecordSizeFragLen	packetLendeltaAppptgetDelegatedTask()Ljava/lang/Runnable;()[Ljava/lang/String;getEnabledCipherSuitessetEnabledCipherSuites([Ljava/lang/String;)Vsuites[Ljava/lang/String;getSupportedProtocolsgetEnabledProtocolssetEnabledProtocols	protocols
getSession()Ljavax/net/ssl/SSLSession;getHandshakeSession?javax/net/ssl/SSLSessionmodegetUseClientModesetNeedClientAuthneedgetNeedClientAuthsetWantClientAuthwantgetWantClientAuthsetEnableSessionCreationflaggetEnableSessionCreationparamsLjavax/net/ssl/SSLParameters;getApplicationProtocolgetHandshakeApplicationProtocol'setHandshakeApplicationProtocolSelector"(Ljava/util/function/BiFunction;)VselectorLocalVariableTypeTablepLjava/util/function/BiFunction;Ljava/lang/String;>;	Signatures(Ljava/util/function/BiFunction;Ljava/lang/String;>;)V'getHandshakeApplicationProtocolSelector!()Ljava/util/function/BiFunction;r()Ljava/util/function/BiFunction;Ljava/lang/String;>;useDelegatedTaskexc
taskThrownmsg
SourceFileSSLEngineImpl.javaNestMembers??*	?A:		????*Zr(*1,.*/,093>4@8G9n<t=y>?@?I?J?M?N?Q?R?V?W?X?\^b%d?z
??,
??(??(??(?R(?R(??(?R(?R%??n??Oy???	?1?????NZ*@?M?
!?Z~?VM?D?J?K*?/???ۙ>*?/???
?M?-*?/?K?*?/?NM?*?/???Q?*?/?TM,?*
hijk#l*m4o?pLqTu? V??VT???
?*?9:~?O*?/???F*?/???<*?/???2*?/???(??W??
Y?!?#*?[*?/?*?+?"???(?7?A?E?M??O??O????A?ZC:~?w*?/???n*?/?^?b?a*?/???W*?/???M*?/???C??W??
g?!?#*?/???;?i?oY*?/?q?tW*?/?*?+?*
???%?5?D?N?Y?m?u??w??w????N&?Z
}~~??*?-??zY|?~???
-?d??Y??????*?d??Y????6`?E-2?&?zY??Y?????????????~?-2?????Y???????6`?3*2?&?zY??Y?????????????~????˱F???'?2?B?M?[?b??????????????????RQL?R?8?R?????R??R?????R??R?



?3??1???~e*?rY+S,?????4???????R?R???w~?	?*??I*?/?L?
?PYR?T?*?x+?{*+??:*??o?:*?/?????d?:*?/?j??d?:*?/?j??d?:*??o?+:D?+:XZ+:jh:|D~|J?????+?:A?D?F?O?T?X?Zjl|??f
F??Z??l?c????????R??R?????R??R?h?SZQhQ????w~?A*?????Y??*?????:*?/???E*?/???;*?/???1*?/???'*?/?W*??:????Y??????	*??:?Ȧ??Y????????o:*??:?:		??	???Y?	??*???	?????:	???
??:?	*??:??Y	?????66		`?+	2??`6?	??????Y?????6	*?/??+??6	?b:
*???S??????!Y
S?#6*???	?????:?	*??:??Y????
?	*?/?϶Ӥn*???	AM??6
	
?*???
*?/?϶?*?/?϶?6
	
?+??Y??Y??Ӷ?
??ն?	?????׿6
6`?
2??`6
????*?/???'*?/??	??6
???Y?????	?
	???Y?????:*+??:?:?????Y???*???	?????:???
??:?	*??:6
6`?
+2??d6
????
66`?2??d6?????Y
????????Z4CF????Z^W3=CJ!P"X#g'l(r1z2?5?6?8?@?:?;?<?>?B?C?D?F?I?MNONR"S1[4]CtF_HaRbacpgsk?l?m?p?r?w?x?y?z?????????"?0?=?C?M?V?[?b?q?~?????????????????????????????????&?,?????	?i???+??	?R	s/?R???H]??
?V?R
&?R[?R?????R?RA??A??A?RA?RA??A?RA?R&??A?R4
?R	"?R
?????s???W?R
6?R??*?N?
?	????Z?Z?B???????
?????)??B?????B??:??-?????Z?Z?B????????Z??~&	n*?/+??:??T*??:?*?/?*???
??*?/????*?/?????*???7???.???%?*?9?@?W?]?e?k??\	%F??n??n??n?Rn?Rn??n?Rn?R\????9???
?Z??~?c*??I*?/????*?/????2*?/?????? *?/?????Y*??L*??o+?*??o?
M*??o,??DW2??(?0?;?D?K?M?T?W?_?a??c???
?MI?		~?w*??I*???*??o???W??
??!?#*?/???%*?/???
*?/???*?/?j??*?/?*??o?
L*??o+??lbl:
%/M[biltv?w???
P?	???!~t"*??I*?/??<*??o?M*??o,?!#%#% &?"???X?~?N*??I*?/???*??o???W??

?!?#*?/?*??o?
L*??o+??C9C2+-7.1(22597@8C7K8M9?N???	P?	?!~t"*??I*?/?<*??o?M*??o,?=?A?A B?"???X??~5*????G?????~z(*??I*?/?9??L*??o+?M*??o,?LNPNP&Q?(???^???~?**??I*?/?9+??*??o?
M*??o,??"VXY[\['\)]?*??*???_?	??~=*??!?$?aba?????~z(*??I*?/?9?'?$L*??o+?M*??o,?gilil&m?(???^???~?9*??I+??zY*?~?*?/?9+?,?'*??o?
M*??o,??$.*
rtuxy${+|.{6|8}?9??9???W?	??~t"*??I*?/??L*??o+?M*??o,?????? ??"???X???~?3*??I*?/????
*?/???.L*??o+?M*??o,? )??? ?'?)?1??3???I?I???~t"*??I*?/?*L*??o+?M*??o,?????? ??"???X?34~?$*??I*?/?1*??o?
M*??o,???????!?#??$??$?O?Y?	?!~w%*??I*?/?9?><*??o?M*??o,??????#??%???[??4~?3*??I*?/?9?	?5??;?>*??o?
M*??o,??(&	?????%?(?0?2??3??3?O?X>?>6L?	?!~?0*??I*?/?9?>?5??<*??o?M*??o,?&???$?&?.??0???	@I??4~?3*??I*?/?9?	?A??;?>*??o?
M*??o,??(&	?????%?(?0?2??3??3?O?X>?>6L?	?!~?0*??I*?/?9?>?A??<*??o?M*??o,?&???$?&?.??0???	@I??4~?'*??I*?/?9?D*??o?
M*??o,???????$?&??'??'?O?\?	?!~w%*??I*?/?9?D<*??o?M*??o,??????#??%???[?IJ~w%*??I*?/?9?GL*??o+?M*??o,??????#??%???[?MN~?H*??I*?/?9+?K*?/?9?O?*?/??*?/?9?O?S*??o?
M*??o,??3=&	3	:
=	E
G?H??H???3I?	??~t"*??I*?/?WL*??o+?M*??o,? ?"???X???~?3*??I*?/????
*?/???[L*??o+?M*??o,? ) ')1?3???I?I???~?'*??I*?/?9+?\*??o?
M*??o,??%')*)$*&+?'??'?_?'???\?	????~w%*??I*?/?9?\L*??o+?M*??o,?02424#5?%???[????!~,?:???z~K?L*??I*?/??M,?,?`?
,?`L,?`*?/?d?-+?*?/?d+?*?/?d?*?/?dL*?/?d*??o?
N*??o-?+??+??+??+?e?+?e?+?g?	Zd^EF	IJK!L&W0X4Z?\JaRbZfagdflgnjrksozpq?r?t? I???????c??&h?#?I?	??
ij~4?*?kL+?lL*?e?
?eY+*?n?*?????Y+?o*?p???*?t??tY+?v*?w?t?*?x??xY+?z*?{?x?*?????Y+??*?|???*??*?㰻?Y+*??by{	|
??%?.?4?5?<?E?K?L?S?\?b?c?j?s?y?z????????c??Z??
???????2???@???@3???????
???




© 2015 - 2025 Weber Informatics LLC | Privacy Policy