Class AliasedX509ExtendedKeyManager

  • All Implemented Interfaces:
    javax.net.ssl.KeyManager, javax.net.ssl.X509KeyManager

    @Deprecated(since="2021-05-27")
    public class AliasedX509ExtendedKeyManager
    extends javax.net.ssl.X509ExtendedKeyManager
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.

    An X509ExtendedKeyManager that select a key with desired alias, delegating other processing to a nested X509ExtendedKeyManager.

    Can be used both with server and client sockets.

    • Constructor Summary

      Constructors 
      Constructor Description
      AliasedX509ExtendedKeyManager​(javax.net.ssl.X509ExtendedKeyManager keyManager, java.lang.String keyAlias)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String chooseClientAlias​(java.lang.String[] keyType, java.security.Principal[] issuers, java.net.Socket socket)
      Deprecated.
       
      java.lang.String chooseEngineClientAlias​(java.lang.String[] keyType, java.security.Principal[] issuers, javax.net.ssl.SSLEngine engine)
      Deprecated.
       
      java.lang.String chooseEngineServerAlias​(java.lang.String keyType, java.security.Principal[] issuers, javax.net.ssl.SSLEngine engine)
      Deprecated.
       
      java.lang.String chooseServerAlias​(java.lang.String keyType, java.security.Principal[] issuers, java.net.Socket socket)
      Deprecated.
       
      java.security.cert.X509Certificate[] getCertificateChain​(java.lang.String alias)
      Deprecated.
       
      java.lang.String[] getClientAliases​(java.lang.String keyType, java.security.Principal[] issuers)
      Deprecated.
       
      javax.net.ssl.X509ExtendedKeyManager getDelegate()
      Deprecated.
       
      java.security.PrivateKey getPrivateKey​(java.lang.String alias)
      Deprecated.
       
      java.lang.String[] getServerAliases​(java.lang.String keyType, java.security.Principal[] issuers)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AliasedX509ExtendedKeyManager

        public AliasedX509ExtendedKeyManager​(javax.net.ssl.X509ExtendedKeyManager keyManager,
                                             java.lang.String keyAlias)
        Deprecated.
    • Method Detail

      • getDelegate

        public javax.net.ssl.X509ExtendedKeyManager getDelegate()
        Deprecated.
      • chooseClientAlias

        public java.lang.String chooseClientAlias​(java.lang.String[] keyType,
                                                  java.security.Principal[] issuers,
                                                  java.net.Socket socket)
        Deprecated.
      • chooseServerAlias

        public java.lang.String chooseServerAlias​(java.lang.String keyType,
                                                  java.security.Principal[] issuers,
                                                  java.net.Socket socket)
        Deprecated.
      • getClientAliases

        public java.lang.String[] getClientAliases​(java.lang.String keyType,
                                                   java.security.Principal[] issuers)
        Deprecated.
      • getServerAliases

        public java.lang.String[] getServerAliases​(java.lang.String keyType,
                                                   java.security.Principal[] issuers)
        Deprecated.
      • getCertificateChain

        public java.security.cert.X509Certificate[] getCertificateChain​(java.lang.String alias)
        Deprecated.
      • getPrivateKey

        public java.security.PrivateKey getPrivateKey​(java.lang.String alias)
        Deprecated.
      • chooseEngineServerAlias

        public java.lang.String chooseEngineServerAlias​(java.lang.String keyType,
                                                        java.security.Principal[] issuers,
                                                        javax.net.ssl.SSLEngine engine)
        Deprecated.
        Overrides:
        chooseEngineServerAlias in class javax.net.ssl.X509ExtendedKeyManager
      • chooseEngineClientAlias

        public java.lang.String chooseEngineClientAlias​(java.lang.String[] keyType,
                                                        java.security.Principal[] issuers,
                                                        javax.net.ssl.SSLEngine engine)
        Deprecated.
        Overrides:
        chooseEngineClientAlias in class javax.net.ssl.X509ExtendedKeyManager