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

io.netty.handler.ssl.ReferenceCountedOpenSslContext.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????2>3io/netty/handler/ssl/ReferenceCountedOpenSslContextio/netty/handler/ssl/SslContextio/netty/util/ReferenceCounted#ReferenceCountedOpenSslContext.java5io/netty/handler/ssl/ReferenceCountedOpenSslContext$6Kio/netty/handler/ssl/ReferenceCountedOpenSslContext$DefaultOpenSslEngineMap
DefaultOpenSslEngineMapOio/netty/handler/ssl/ReferenceCountedOpenSslContext$AbstractCertificateVerifier
AbstractCertificateVerifier5io/netty/handler/ssl/ReferenceCountedOpenSslContext$55io/netty/handler/ssl/ReferenceCountedOpenSslContext$45io/netty/handler/ssl/ReferenceCountedOpenSslContext$35io/netty/handler/ssl/ReferenceCountedOpenSslContext$25io/netty/handler/ssl/ReferenceCountedOpenSslContext$1Fio/netty/handler/ssl/ApplicationProtocolConfig$SelectorFailureBehavior.io/netty/handler/ssl/ApplicationProtocolConfigSelectorFailureBehavior7io/netty/handler/ssl/ApplicationProtocolConfig$ProtocolProtocolNio/netty/handler/ssl/ApplicationProtocolConfig$SelectedListenerFailureBehavior"SelectedListenerFailureBehaviorlogger/Lio/netty/util/internal/logging/InternalLogger;)JDK_REJECT_CLIENT_INITIATED_RENEGOTIATIONZ'DEFAULT_BIO_NON_APPLICATION_BUFFER_SIZEIDEFAULT_CIPHERSLjava/util/List;$Ljava/util/List;
DH_KEY_LENGTHLjava/lang/Integer;leakDetector$Lio/netty/util/ResourceLeakDetector;[Lio/netty/util/ResourceLeakDetector;VERIFY_DEPTH
ctxJunmodifiableCipherssessionCacheSizesessionTimeoutapn;Lio/netty/handler/ssl/OpenSslApplicationProtocolNegotiator;modeleak#Lio/netty/util/ResourceLeakTracker;ZLio/netty/util/ResourceLeakTracker;refCnt(Lio/netty/util/AbstractReferenceCounted;keyCertChain![Ljava/security/cert/Certificate;
clientAuth!Lio/netty/handler/ssl/ClientAuth;	protocols[Ljava/lang/String;
enableOcsp	engineMap'Lio/netty/handler/ssl/OpenSslEngineMap;ctxLock*Ljava/util/concurrent/locks/ReadWriteLock;"rejectRemoteInitiatedRenegotiationbioNonApplicationBufferSizeNONE_PROTOCOL_NEGOTIATOR?(Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJI[Ljava/security/cert/Certificate;Lio/netty/handler/ssl/ClientAuth;[Ljava/lang/String;ZZZ)Vjavax/net/ssl/SSLExceptionRtoNegotiatorm(Lio/netty/handler/ssl/ApplicationProtocolConfig;)Lio/netty/handler/ssl/OpenSslApplicationProtocolNegotiator;TU
V?(Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/OpenSslApplicationProtocolNegotiator;JJI[Ljava/security/cert/Certificate;Lio/netty/handler/ssl/ClientAuth;[Ljava/lang/String;ZZZ)VPX
Ythis5Lio/netty/handler/ssl/ReferenceCountedOpenSslContext;ciphers(Ljava/lang/Iterable;Ljava/lang/Iterable;cipherFilter(Lio/netty/handler/ssl/CipherSuiteFilter;apnCfg0Lio/netty/handler/ssl/ApplicationProtocolConfig;startTls
leakDetectionjava/lang/Exceptionf(Z)VPh
i8(Lio/netty/handler/ssl/ReferenceCountedOpenSslContext;)VPk
l@A	n:(Lio/netty/handler/ssl/ReferenceCountedOpenSslContext$1;)VPp
qIJ	s1java/util/concurrent/locks/ReentrantReadWriteLocku()VPw
vxKL	z)*	|N*	~io/netty/handler/ssl/OpenSsl?ensureAvailability?w
??isOcspSupported()Z??
??java/lang/IllegalStateException?OCSP is not supported.?(Ljava/lang/String;)VP?
??java/lang/Iterable?&io/netty/handler/ssl/CipherSuiteFilter?9io/netty/handler/ssl/OpenSslApplicationProtocolNegotiator?Cio/netty/handler/ssl/ClientAuth?G"java/lang/IllegalArgumentException?>mode most be either SSL.SSL_MODE_SERVER or SSL.SSL_MODE_CLIENT?
??01	?"io/netty/util/ResourceLeakDetector?track7(Ljava/lang/Object;)Lio/netty/util/ResourceLeakTracker;??
??!io/netty/util/ResourceLeakTracker?=>	?<*	?isServer??
?D!io/netty/util/internal/ObjectUtil?checkNotNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;??
??NONE?E	??DE	?FG	?H(	?'(	?M(	?clone()Ljava/lang/Object;??
??BC	?java/util/ArrayList?
?xiterator()Ljava/util/Iterator;????java/util/List?java/util/Iterator?hasNext????next????java/lang/String?)io/netty/handler/ssl/CipherSuiteConverter?	toOpenSsl&(Ljava/lang/String;)Ljava/lang/String;??
??add(Ljava/lang/Object;)Z????`+,	?availableOpenSslCipherSuites()Ljava/util/Set;??
??filterCipherSuitesH(Ljava/lang/Iterable;Ljava/util/List;Ljava/util/Set;)[Ljava/lang/String;????java/util/Arrays?asList%([Ljava/lang/Object;)Ljava/util/List;??
??7,	?::;	?%io/netty/internal/tcnative/SSLContext?make(II)J?
?56	failed to create an SSL_CTX*(Ljava/lang/String;Ljava/lang/Throwable;)VP
S
getOptions(J)I

?io/netty/internal/tcnative/SSLSSL_OP_NO_SSLv2*	SSL_OP_NO_SSLv3*	SSL_OP_CIPHER_SERVER_PREFERENCE*	SSL_OP_NO_COMPRESSION*	SSL_OP_NO_TICKET*	
setOptions(JI)V 
?!getMode#
?$#SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER&*	'setMode(JI)I)*
?+./	-java/lang/Integer/intValue()I12
03setTmpDHLength5 
?6((Ljava/lang/Iterable;)Ljava/lang/String;?8
?9setCipherSuite(JLjava/lang/String;)Z;<
?=java/lang/StringBuilder?
@xfailed to set cipher suite: Bappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;DE
@F-(Ljava/lang/Object;)Ljava/lang/StringBuilder;DH
@ItoString()Ljava/lang/String;KL
@M()Ljava/util/List;FO?PisEmptyR??SsizeU2?VtoArray(([Ljava/lang/Object;)[Ljava/lang/Object;XY?ZselectorFailureBehaviorJ()Lio/netty/handler/ssl/ApplicationProtocolConfig$SelectorFailureBehavior;\]?^opensslSelectorFailureBehaviorK(Lio/netty/handler/ssl/ApplicationProtocolConfig$SelectorFailureBehavior;)I`a
bB$SwitchMap$io$netty$handler$ssl$ApplicationProtocolConfig$Protocol[Ide		fprotocol;()Lio/netty/handler/ssl/ApplicationProtocolConfig$Protocol;hi?jordinall2
 msetNpnProtos(J[Ljava/lang/String;I)Vop
?q
setAlpnProtossp
?tjava/lang/Errorv
wx86	ysetSessionCacheSize(JJ)J{|
?}P96	?setSessionCacheTimeout?|
??,isClient??
?(JZ)VH?
??release??
?java/lang/Throwable?convertedCiphers	convertedLjava/lang/String;ceLjava/lang/Exception;Ljavax/net/ssl/SSLException;appProtocolsselectorBehavior
nextProtoListsuccessQ$SwitchMap$io$netty$handler$ssl$ApplicationProtocolConfig$SelectorFailureBehavior?e		?
mbehaviorHLio/netty/handler/ssl/ApplicationProtocolConfig$SelectorFailureBehavior;cipherSuites()JapplicationProtocolNegotiator6()Lio/netty/handler/ssl/ApplicationProtocolNegotiator;	newEngineP(Lio/netty/buffer/ByteBufAllocator;Ljava/lang/String;I)Ljavax/net/ssl/SSLEngine;
newEngine0??
?alloc"Lio/netty/buffer/ByteBufAllocator;peerHostpeerPort2io/netty/handler/ssl/ReferenceCountedOpenSslEngine?n(Lio/netty/handler/ssl/ReferenceCountedOpenSslContext;Lio/netty/buffer/ByteBufAllocator;Ljava/lang/String;IZ)VP?
??keyMaterialManager2()Lio/netty/handler/ssl/OpenSslKeyMaterialManager;=(Lio/netty/buffer/ByteBufAllocator;)Ljavax/net/ssl/SSLEngine;??
?contextLjava/lang/Deprecated;(java/util/concurrent/locks/ReadWriteLock?readLock#()Ljava/util/concurrent/locks/Lock;????java/util/concurrent/locks/Lock?lock?w??unlock?w??
readerLock!Ljava/util/concurrent/locks/Lock;stats,()Lio/netty/handler/ssl/OpenSslSessionStats;sessionContext.()Lio/netty/handler/ssl/OpenSslSessionContext;??
?*io/netty/handler/ssl/OpenSslSessionContext???
??%setRejectRemoteInitiatedRenegotiation%getRejectRemoteInitiatedRenegotiationsetBioNonApplicationBufferSize(I)VNcheckPositiveOrZero(ILjava/lang/String;)I??
??getBioNonApplicationBufferSize
setTicketKeys([B)V??
??keys[B
sslCtxPointerdestroy	writeLock????disableOcsp(J)V??
??free?
??
writerLockcertificates*([[B)[Ljava/security/cert/X509Certificate;"java/security/cert/X509Certificate?%[Ljava/security/cert/X509Certificate;?+io/netty/handler/ssl/OpenSslX509Certificate?P?
??ichain[[B	peerCertschooseTrustManager?([Ljavax/net/ssl/TrustManager;)Ljavax/net/ssl/X509TrustManager;[Ljavax/net/ssl/TrustManager;javax/net/ssl/X509TrustManagerno X509TrustManager foundmLjavax/net/ssl/TrustManager;managerschooseX509KeyManager;([Ljavax/net/ssl/KeyManager;)Ljavax/net/ssl/X509KeyManager;javax/net/ssl/KeyManager;javax/net/ssl/X509KeyManagerno X509KeyManager foundkmLjavax/net/ssl/KeyManager;kmsO;	
jY$SwitchMap$io$netty$handler$ssl$ApplicationProtocolConfig$SelectedListenerFailureBehaviore		selectedListenerFailureBehaviorR()Lio/netty/handler/ssl/ApplicationProtocolConfig$SelectedListenerFailureBehavior;
 
#m
^@io/netty/handler/ssl/OpenSslDefaultApplicationProtocolNegotiator$3(Lio/netty/handler/ssl/ApplicationProtocolConfig;)VP&
%''java/lang/UnsupportedOperationException)"OpenSSL provider does not support +
@?	 behavior.
*?configuseExtendedTrustManager#(Ljavax/net/ssl/X509TrustManager;)Z(io/netty/util/internal/PlatformDependent4javaVersion62
57&javax/net/ssl/X509ExtendedTrustManager9trustManager Ljavax/net/ssl/X509TrustManager;useExtendedKeyManager!(Ljavax/net/ssl/X509KeyManager;)Z$javax/net/ssl/X509ExtendedKeyManager?
keyManagerLjavax/net/ssl/X509KeyManager;&io/netty/util/AbstractReferenceCountedC@2
DEretain"()Lio/netty/util/ReferenceCounted;GH
DI#(I)Lio/netty/util/ReferenceCounted;GK
DL	incrementtouchOH
DP4(Ljava/lang/Object;)Lio/netty/util/ReferenceCounted;OR
DShintLjava/lang/Object;
D?(I)Z?X
DY	decrementsetKeyMaterialU(J[Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;Ljava/lang/String;)V io/netty/buffer/ByteBufAllocator^DEFAULT`?	_a'io/netty/handler/ssl/PemX509CertificatectoPEMk(Lio/netty/buffer/ByteBufAllocator;Z[Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/PemEncoded;ef
dgio/netty/handler/ssl/PemEncodedi#()Lio/netty/handler/ssl/PemEncoded;GkjltoBIOF(Lio/netty/buffer/ByteBufAllocator;Lio/netty/handler/ssl/PemEncoded;)Jno
p(Ljava/security/PrivateKey;)Jnr
sjava/security/PrivateKeyuwsetCertificateBio(JJJLjava/lang/String;)Zyz
?{setCertificateChainBio(JJZ)Z}~
?freeBio??
?j?!failed to set certificate and key?keyLjava/security/PrivateKey;keyPasswordkeyBiokeyCertChainBiokeyCertChainBio2encoded!Lio/netty/handler/ssl/PemEncoded;freeBIO??
?bio"io/netty/handler/ssl/PemPrivateKey?`(Lio/netty/buffer/ByteBufAllocator;ZLjava/security/PrivateKey;)Lio/netty/handler/ssl/PemEncoded;e?
??	allocatorpem(([Ljava/security/cert/X509Certificate;)JcertChain can't be empty?	certChaincontent()Lio/netty/buffer/ByteBuf;??j?io/netty/buffer/ByteBuf?isDirect??
??
retainedSlice??
??newBIO(Lio/netty/buffer/ByteBuf;)J??
?
readableBytes?2
??directBuffer(I)Lio/netty/buffer/ByteBuf;??_?readerIndex?2
??
writeBytes6(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;??
??isSensitive??j?io/netty/handler/ssl/SslUtils?zeroout(Lio/netty/buffer/ByteBuf;)V??
??
??Lio/netty/buffer/ByteBuf;buffer	newMemBIO??
?
memoryAddress??
??bioWrite(JJI)I??
?"Could not write data to memory BIO?readable#()Ljavax/net/ssl/SSLSessionContext;
access$000Z(Lio/netty/handler/ssl/ReferenceCountedOpenSslContext;)Lio/netty/util/ResourceLeakTracker;x0
access$100?w
?
access$3001()Lio/netty/util/internal/logging/InternalLogger;%&	?java/lang/NumberFormatException?4io/netty/util/internal/logging/InternalLoggerFactory?getInstanceB(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;??
??
xjava/security/AccessController?doPrivileged4(Ljava/security/PrivilegedAction;)Ljava/lang/Object;??
??java/lang/Boolean?booleanValue??
??
x)io/netty/util/ResourceLeakDetectorFactory?instance-()Lio/netty/util/ResourceLeakDetectorFactory;??
??newResourceLeakDetector7(Ljava/lang/Class;)Lio/netty/util/ResourceLeakDetector;??
??
xECDHE-ECDSA-AES256-GCM-SHA384ECDHE-ECDSA-AES128-GCM-SHA256ECDHE-RSA-AES128-GCM-SHA256ECDHE-RSA-AES128-SHAECDHE-RSA-AES256-SHA	AES128-GCM-SHA256
AES128-SHA

AES256-SHAjava/util/CollectionsaddAll,(Ljava/util/Collection;[Ljava/lang/Object;)Z
unmodifiableList"(Ljava/util/List;)Ljava/util/List;
-io/netty/util/internal/logging/InternalLoggerisDebugEnabled? Default cipher suite (OpenSSL):  debug"?#
xvalueOf'(Ljava/lang/String;)Ljava/lang/Integer;&'
0(UReferenceCountedOpenSslContext supports -Djdk.tls.ephemeralDHKeySize={int}, but got: *!Ljava/lang/NumberFormatException;	dhKeySizedhLen	Signature
ConstantValueCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
Exceptions?(Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJI[Ljava/security/cert/Certificate;Lio/netty/handler/ssl/ClientAuth;[Ljava/lang/String;ZZZ)V
StackMapTable?(Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/OpenSslApplicationProtocolNegotiator;JJI[Ljava/security/cert/Certificate;Lio/netty/handler/ssl/ClientAuth;[Ljava/lang/String;ZZZ)V&()Ljava/util/List;
DeprecatedRuntimeVisibleAnnotations
SourceFileInnerClasses!%&'()*+,/-./01/23*04567,/-8696:;<*=>/?@ABCDEFGH(IJKLBM(BN*O;.PQ1?*+,-?W	

?Z?2?
[\]_`abc8696<*BC	DE
FGd(H(
e(3]^4
??5S/6PX1B*?j*?Y*?m?o*?Y?r?t*?vY?y?{*?}???
????
??Y??????
??Y????*?
??*?????*??**???
??????????*??*
???
*????*	??	??????+?	:?O??Y??:+??:???4????:?? ??:?:??W???*,?????????????*-???????6*???:?SY?	?*?*??
???????????"*?*??%?(??,W?.?*??.?4?7*?*???:?>W?+:?:?SY?@Y?AC?G*???J?N?	?-?Q:?T???W?ܹ[??:-?_?c6?g-?k?n.?O(6*??r?2*??u?$*??r*??u??wY?x?	??*?z*??~X?**??~\7?z*??~X	??*??*???X?**????\7??*???X
?*?*????6?*??W?:?*??W??CNQg???S???gC?2???,???"??S
??????!??
o?Gd?*??,[\]_`a:;8696<*BC	DE
FGd(H(
e(?@?,C??(3*??-??-]^?@?-4>O?}??)?0?3?>?H?S?]?q?w??????????????????	
	
%(3@CNQS`?0?2?3?8?=?9?:?;?<???A?B
CE<GGHJJUKXMcNnOqQyV?W?X?[?]?a?b?c?f?h?k?l?n?p?qp
qt7?!?H
??????O?
???????]?
???????I?
????????????????:???????g?GQSDg"?Y??

???????????????????????????5S/8
`a1q0??*??.? ???wY?x?20??4w$y&{(}7$?O1/*???2[\4?/98?1/*?z?2[\4?9?1/*???2[\4???1/*???2[\4???1B
*?????2
[\4?7@??1P*+,???2*[\?????*4???1U
??Y*+,???2*
[\
??
??
?*4?????1<*+???2[\??4???1?(*?{??L+??*?A+?? ?:+???2([\
??4?
?????7???:;???12*?Ҷְ2[\4?:;??h1>*?ñ2[\M(4
????1/*?ì2[\4???1H*۸ߵ?2[\N*4????21/*??2[\4???1A	*??+??2	[\	??4
??:;?????1?(*?{??L+??*?A+?? ?:+???2([\
??4?
?7???:;??w1?G*?{??L+??*?	??*???
*???*???W*	?+???M+??,??4=2G[\
=??4.
 '/4:=F7?'?H???1?#*???L=+??+??Y*2??S????+?2 ?*#??4! 7???1?0*L+?=>?+2:??	???????Y	???2
04$%&$%)7??
1?0*L+?=>?+2:??	???????Y???204-./-%27??TU1??*????g*??n.??!!!???*?!?".?h??*?#??.?"?%Y*?(??*Y?@Y,?-*?#?J/?G?N?0??*Y?@Y,?-*?!?J/?G?N?0??wY?x?2?1c4:=>A0C4GXJ|M?P?R?S?V?X?Y?\7
'##!!231J?8?*?:???2;<4a7@=>1J?8?*?@???2AB4e7@@212*?o?F?2[\4jGH18
*?o?JW*?2
[\4
opGK1C*?o?MW*?2[\N*4
u	vOH18
*?o?QW*?2
[\4
{|OR1C*?o+?TW*?2[\UV4
?	???12*?o?W?2[\4??X1=	*?o?Z?2	[\	[*4?\]1%?	7	7	7	:?b,?h:?b?m?q7?b?m?q7	-?	-?t7?	x??|W	??W????	???C??W?8:?:?SY??	?:
????	?????W
??\{S\?g\?{??2f
}???
???56?B?????????6??6	??6	???4j???	???%?4?8?>?T?\afkp{?}???????????7f?>?v?j??v?j??v?j?jSDgN????5S??1F	?????2?64
7
nr1?1*?	??bL+*??M+,?m?qB,??W!?:,??W?%%'%2 1??
'?? ??4"
#%7?v_j?5g?n?1?A*?	?*????Y?????bL+*?hM+,?m?qB,??W!?:,??W?!,55752 A??'??! ??4*
'(+,/0!2,432547??_j?5gno1??+??M,???,????B+??W!?*,????:,,??,????W????7+???????W?:??W?+??W?:	+???????W?:
??W
?	?:+??W?	DR[[][+Dpr?????prp?f?p??2*???+l????????4Z<>?R?B+D:EDJMKRNXO[NfRmEpGrJ{K?N?O?N?R7k	???2_j??H?
?	_j????
_j???H?
?_j?5g
??1?@??@*??>*??*???a???????Yӷ??7*??W?:*??W?.66862 2?6	-?*@??4&	XY	Z[ \+^.`3^6`7?+?
??5gA??1/*?Ұ2[\4J??1/*???2?\4J?k1/*?۱2?\4J??1?߰4J?w1????߻Y?????????Y?????0?4?}???????Y????Y??K*??YSYSYSYSY
SYSYSYS?W*???߹??߻@Y?A!?G*?J?N?$L?Y?%????M,?(,?)L? N?߻@Y?A+?G,?G?N?$?M+?.?????????2*??,?)-?K?],??./3K?]-4bKLUV]"^.j9?C?K?????????????????????????????7#?????0???B?<=Z	@ !@#$@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy