Interface ConnectionSecurityProvider

  • All Known Implementing Classes:
    SASLByteChannel, TLSByteChannel

    public interface ConnectionSecurityProvider
    This interface can be used to define connection security providers.
    • Method Detail

      • getClientCertificateChain

        Certificate[] getClientCertificateChain()
        Return a certificate chain array.
        Returns:
        A certificate chain array.
      • getName

        String getName()
        Return the name of a provider.
        Returns:
        String representing the name of a provider.
      • getSSF

        int getSSF()
        Return a Security Strength Factor.
        Returns:
        Integer representing the current SSF of a provider.
      • isSecure

        boolean isSecure()
        Return true if a provider is secure.
        Returns:
        true if a provider is secure.
      • getChannel

        ByteChannel getChannel()
        Returns the security provider's byte channel.
        Returns:
        The security provider's byte channel.