public final class OpenSsl extends Object
netty-tcnative and its OpenSSL support
 are available.| Modifier and Type | Method and Description | 
|---|---|
| static Set<String> | availableCipherSuites()Returns all the available OpenSSL cipher suites. | 
| static void | ensureAvailability()Ensure that  netty-tcnativeand
 its OpenSSL support are available. | 
| static boolean | isAvailable()Returns  trueif and only ifnetty-tcnativeand its OpenSSL support
 are available. | 
| static boolean | isCipherSuiteAvailable(String cipherSuite)Returns  trueif and only if the specified cipher suite is available in OpenSSL. | 
| static Throwable | unavailabilityCause()Returns the cause of unavailability of
  netty-tcnativeand its OpenSSL support. | 
public static boolean isAvailable()
true if and only if
 netty-tcnative and its OpenSSL support
 are available.public static void ensureAvailability()
netty-tcnative and
 its OpenSSL support are available.UnsatisfiedLinkError - if unavailablepublic static Throwable unavailabilityCause()
netty-tcnative and its OpenSSL support.null if available.public static Set<String> availableCipherSuites()
public static boolean isCipherSuiteAvailable(String cipherSuite)
true if and only if the specified cipher suite is available in OpenSSL.
 Both Java-style cipher suite and OpenSSL-style cipher suite are accepted.Copyright © 2008–2015 The Netty Project. All rights reserved.