IT. Expert System.

Android Reference

X509KeyManagerImpl


org.apache.harmony.xnet.tests.support

Class X509KeyManagerImpl

    • Constructor Detail

      • X509KeyManagerImpl

        public X509KeyManagerImpl(String name)
    • Method Detail

      • getClientAliases

        public String[] getClientAliases(String s,
                                Principal[] aprincipal)
        Description copied from interface: X509KeyManager
        Returns the client aliases for the specified public key type and list of certificate issuers.
        Specified by:
        getClientAliases in interface X509KeyManager
        Parameters:
        s - the public key algorithm type name.
        aprincipal - the list of certificate issuers, or null if any issuer will do.
        Returns:
        the client aliases for the specified public key type, or null if there are no matching aliases.
      • chooseClientAlias

        public String chooseClientAlias(String[] as,
                               Principal[] aprincipal,
                               Socket socket)
        Description copied from interface: X509KeyManager
        Chooses an alias for the client side of an SSL connection to authenticate it with the specified public key type and certificate issuers.
        Specified by:
        chooseClientAlias in interface X509KeyManager
        Parameters:
        as - the list of public key algorithm names.
        aprincipal - the list of certificate issuers, or null if any issuer will do.
        socket - the socket for the connection, or null if the alias selected does not depend on a specific socket.
        Returns:
        the alias name of a matching key or null if there are no matches.
      • getServerAliases

        public String[] getServerAliases(String s,
                                Principal[] aprincipal)
        Description copied from interface: X509KeyManager
        Returns the server aliases for the specified public key type and list of certificate issuers.
        Specified by:
        getServerAliases in interface X509KeyManager
        Parameters:
        s - the public key algorithm type name.
        aprincipal - the list of certificate issuers, or null if any issuer will do.
        Returns:
        the client aliases for the specified public key type, or null if there are no matching aliases.
      • chooseServerAlias

        public String chooseServerAlias(String as,
                               Principal[] aprincipal,
                               Socket socket)
        Description copied from interface: X509KeyManager
        Chooses an alias for the server side of an SSL connection to authenticate it with the specified public key type and certificate issuers.
        Specified by:
        chooseServerAlias in interface X509KeyManager
        Parameters:
        as - the list of public key algorithm type names.
        aprincipal - the list of certificate issuers, or null if any issuer will do.
        socket - the socket for the connection, or null if the alias selected does not depend on a specific socket.
        Returns:
        the alias name of a matching key or null if there are no matches.
      • getCertificateChain

        public X509Certificate[] getCertificateChain(String s)
        Description copied from interface: X509KeyManager
        Returns the certificate chain for the specified alias.
        Specified by:
        getCertificateChain in interface X509KeyManager
        Parameters:
        s - the alias to get the certificate chain for.
        Returns:
        the certificate chain for the specified alias, or null if the alias cannot be found.
      • getPrivateKey

        public PrivateKey getPrivateKey(String s)
        Description copied from interface: X509KeyManager
        Returns the private key for the specified alias.
        Specified by:
        getPrivateKey in interface X509KeyManager
        Parameters:
        s - the alias to get the private key for.
        Returns:
        the private key for the specified alias, or null if the alias cannot be found.


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: 70 / 159276280. Delta: 0.04116 с