Package org.apache.nifi.security.util
Class TlsPlatform
java.lang.Object
org.apache.nifi.security.util.TlsPlatform
Transport Layer Security Platform provides runtime protocol configuration information
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static SSLContextstatic StringGet Latest Protocol based on high version number from default protocols in Java Security configurationGet Preferred Protocols based on supported protocols with legacy protocols removedGet all supported protocols based on Java Security configuration
-
Field Details
-
PROTOCOL_VERSION
-
FIRST_GROUP
private static final int FIRST_GROUP- See Also:
-
LEGACY_PROTOCOLS
-
SORTED_PROTOCOLS
-
SUPPORTED_PROTOCOLS
-
PREFERRED_PROTOCOLS
-
-
Constructor Details
-
TlsPlatform
public TlsPlatform()
-
-
Method Details
-
getSupportedProtocols
Get all supported protocols based on Java Security configuration- Returns:
- Set of all supported Transport Layer Security Protocol names available on the JVM
-
getPreferredProtocols
Get Preferred Protocols based on supported protocols with legacy protocols removed- Returns:
- Set of Preferred Transport Layer Security Protocol names
-
getLatestProtocol
Get Latest Protocol based on high version number from default protocols in Java Security configuration- Returns:
- Latest Transport Layer Security Protocol
-
getDefaultSslContextProtocols
-
getDefaultSslContext
-