equal
deleted
inserted
replaced
127 throw new ProviderException("cryptoProvider must not be null"); |
127 throw new ProviderException("cryptoProvider must not be null"); |
128 } |
128 } |
129 return t; |
129 return t; |
130 } |
130 } |
131 |
131 |
132 private SunJSSE(java.security.Provider cryptoProvider, String providerName) { |
132 private SunJSSE(java.security.Provider cryptoProvider, |
|
133 String providerName) { |
133 super("SunJSSE", 1.6d, fipsInfo + providerName + ")"); |
134 super("SunJSSE", 1.6d, fipsInfo + providerName + ")"); |
134 subclassCheck(); |
135 subclassCheck(); |
135 if (cryptoProvider == null) { |
136 if (cryptoProvider == null) { |
136 // Calling Security.getProvider() will cause other providers to be |
137 // Calling Security.getProvider() will cause other providers to be |
137 // loaded. That is not good but unavoidable here. |
138 // loaded. That is not good but unavoidable here. |
211 "sun.security.ssl.SSLContextImpl"); |
212 "sun.security.ssl.SSLContextImpl"); |
212 put("SSLContext.TLSv1", |
213 put("SSLContext.TLSv1", |
213 "sun.security.ssl.SSLContextImpl"); |
214 "sun.security.ssl.SSLContextImpl"); |
214 put("SSLContext.TLSv1.1", |
215 put("SSLContext.TLSv1.1", |
215 "sun.security.ssl.SSLContextImpl"); |
216 "sun.security.ssl.SSLContextImpl"); |
|
217 put("SSLContext.TLSv1.2", |
|
218 "sun.security.ssl.SSLContextImpl"); |
216 put("SSLContext.Default", |
219 put("SSLContext.Default", |
217 "sun.security.ssl.DefaultSSLContextImpl"); |
220 "sun.security.ssl.DefaultSSLContextImpl"); |
218 |
221 |
219 /* |
222 /* |
220 * KeyStore |
223 * KeyStore |