Class TLSHelper


  • public class TLSHelper
    extends Object
    Helper class for TLS related operations.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • TLSHelper

        public TLSHelper()
    • Method Detail

      • locateActors

        public static com.github.fracpete.javautils.struct.Struct3<KeyManagerFactoryProvider,​TrustManagerFactoryProvider,​SSLContextProvider> locateActors​(Actor context,
                                                                                                                                                                      boolean requireAll)
        Locates the following actors KeyManager (=0), TrustManager (=1), SSLContext (=2)
        Parameters:
        context - the flow context
        requireAll - whether all the actors need to be present
        Returns:
        the actors, null if all required and not all were present