IT. Expert System.

Android Reference

SSLParametersImpl


org.apache.harmony.xnet.provider.jsse

Class SSLParametersImpl

  • All Implemented Interfaces:
    Cloneable


    public class SSLParametersImpl
    extends Object
    implements Cloneable
    The instances of this class encapsulate all the info about enabled cipher suites and protocols, as well as the information about client/server mode of ssl socket, whether it require/want client authentication or not, and controls whether new SSL sessions may be established by this socket or not.
    • Method Detail

      • getEnabledCipherSuitesMember

        protected CipherSuite[] getEnabledCipherSuitesMember()
      • getServerSessionContext

        protected ServerSessionContext getServerSessionContext()
        Returns:
        server session context
      • getClientSessionContext

        protected ClientSessionContext getClientSessionContext()
        Returns:
        client session context
      • getKeyManager

        protected X509KeyManager getKeyManager()
        Returns:
        key manager
      • getTrustManager

        protected X509TrustManager getTrustManager()
        Returns:
        trust manager
      • getSecureRandom

        protected SecureRandom getSecureRandom()
        Returns:
        secure random
      • getSecureRandomMember

        protected SecureRandom getSecureRandomMember()
        Returns:
        the secure random member reference, even it is null
      • getEnabledCipherSuites

        protected String[] getEnabledCipherSuites()
        Returns:
        the names of enabled cipher suites
      • setEnabledCipherSuites

        protected void setEnabledCipherSuites(String[] suites)
        Sets the set of available cipher suites for use in SSL connection.
        Parameters:
        suites: - String[]
      • getEnabledProtocols

        protected String[] getEnabledProtocols()
        Returns:
        the set of enabled protocols
      • setEnabledProtocols

        protected void setEnabledProtocols(String[] protocols)
        Sets the set of available protocols for use in SSL connection.
        Parameters:
        protocols - String[]
      • setUseClientMode

        protected void setUseClientMode(boolean mode)
        Tunes the peer holding this parameters to work in client mode.
        Parameters:
        mode - if the peer is configured to work in client mode
      • getUseClientMode

        protected boolean getUseClientMode()
        Returns the value indicating if the parameters configured to work in client mode.
      • setNeedClientAuth

        protected void setNeedClientAuth(boolean need)
        Tunes the peer holding this parameters to require client authentication
      • getNeedClientAuth

        protected boolean getNeedClientAuth()
        Returns the value indicating if the peer with this parameters tuned to require client authentication
      • setWantClientAuth

        protected void setWantClientAuth(boolean want)
        Tunes the peer holding this parameters to request client authentication
      • getWantClientAuth

        protected boolean getWantClientAuth()
        Returns the value indicating if the peer with this parameters tuned to request client authentication
        Returns:
      • setEnableSessionCreation

        protected void setEnableSessionCreation(boolean flag)
        Allows/disallows the peer holding this parameters to create new SSL session
      • getEnableSessionCreation

        protected boolean getEnableSessionCreation()
        Returns the value indicating if the peer with this parameters allowed to cteate new SSL session
      • clone

        protected Object clone()
        Returns the clone of this object.
        Overrides:
        clone in class Object
        Returns:
        the clone.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1307 / . Delta: 0.01834 с