IT. Expert System.

Android Reference

MySSLContextSpi


org.apache.harmony.security.tests.support

Class MySSLContextSpi



  • public class MySSLContextSpi
    extends SSLContextSpi
    Additional class for verification of SSLContextSpi and SSLContext functionality
    • Constructor Detail

      • MySSLContextSpi

        public MySSLContextSpi()
    • Method Detail

      • engineInit

        protected void engineInit(KeyManager[] km,
                      TrustManager[] tm,
                      SecureRandom sr)
                           throws KeyManagementException
        Description copied from class: SSLContextSpi
        Initializes this SSLContext instance. All of the arguments are optional, and the security providers will be searched for the required implementations of the needed algorithms.
        Specified by:
        engineInit in class SSLContextSpi
        Parameters:
        km - the key sources or null.
        tm - the trust decision sources or null.
        sr - the randomness source or null.
        Throws:
        KeyManagementException - if initializing this instance fails.
      • engineGetServerSessionContext

        protected SSLSessionContext engineGetServerSessionContext()
        Description copied from class: SSLContextSpi
        Returns the SSL session context that encapsulates the set of SSL sessions that can be used for the server side of the SSL handshake.
        Specified by:
        engineGetServerSessionContext in class SSLContextSpi
        Returns:
        the SSL server session context for this context or null if the underlying provider does not provide an implementation of the SSLSessionContext interface.
      • engineGetClientSessionContext

        protected SSLSessionContext engineGetClientSessionContext()
        Description copied from class: SSLContextSpi
        Returns the SSL session context that encapsulates the set of SSL sessions that can be used for the client side of the SSL handshake.
        Specified by:
        engineGetClientSessionContext in class SSLContextSpi
        Returns:
        the SSL client session context for this context or null if the underlying provider does not provide an implementation of the SSLSessionContext interface.
      • engineGetDefaultSSLParameters

        protected SSLParameters engineGetDefaultSSLParameters()
        Description copied from class: SSLContextSpi
        Returns a new SSLParameters instance that includes the default SSL handshake parameters values including cipher suites, protocols, and client authentication.

        The default implementation returns an SSLParameters with values based an SSLSocket created from this instances SocketFactory.

        Overrides:
        engineGetDefaultSSLParameters in class SSLContextSpi
      • engineGetSupportedSSLParameters

        protected SSLParameters engineGetSupportedSSLParameters()
        Description copied from class: SSLContextSpi
        Returns a new SSLParameters instance that includes all supported cipher suites and protocols.

        The default implementation returns an SSLParameters with values based an SSLSocket created from this instances SocketFactory.

        Overrides:
        engineGetSupportedSSLParameters in class SSLContextSpi
      • engineCreateSSLEngine

        protected SSLEngine engineCreateSSLEngine(String host,
                                      int port)
        Description copied from class: SSLContextSpi
        Creates an SSLEngine instance from this context with the specified hostname and port.
        Specified by:
        engineCreateSSLEngine in class SSLContextSpi
        Parameters:
        host - the name of the host
        port - the port
        Returns:
        an SSLEngine instance from this context.


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: 60 / 158770677. Delta: 0.03744 с