Class AliasKeyManager

  • All Implemented Interfaces:,

    public class AliasKeyManager
    extends java.lang.Object
    AliasKeyManager - KeyManager used to specify a certificate alias
    • Field Summary

      Modifier and Type Field Description
      protected java.lang.String alias  
      protected keyManager  
      static java.lang.String module  
    • Constructor Summary

      Modifier Constructor Description
      protected AliasKeyManager()  
        AliasKeyManager​( keyManager, java.lang.String alias)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String chooseClientAlias​(java.lang.String[] keyTypes,[] issuers, socket)  
      java.lang.String chooseServerAlias​(java.lang.String keyType, socket, issuers)  
      java.lang.String chooseServerAlias​(java.lang.String keyType,[] issuers, socket)[] getCertificateChain​(java.lang.String alias)  
      java.lang.String[] getClientAliases​(java.lang.String keyType,[] issuers) getPrivateKey​(java.lang.String alias)  
      java.lang.String[] getServerAliases​(java.lang.String keyType,[] issuers)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • module

        public static final java.lang.String module
      • keyManager

        protected keyManager
      • alias

        protected java.lang.String alias
    • Constructor Detail

      • AliasKeyManager

        protected AliasKeyManager()
      • AliasKeyManager

        public AliasKeyManager​( keyManager,
                               java.lang.String alias)
    • Method Detail

      • chooseClientAlias

        public java.lang.String chooseClientAlias​(java.lang.String[] keyTypes,
                                        [] issuers,
        Specified by:
        chooseClientAlias in interface
      • chooseServerAlias

        public java.lang.String chooseServerAlias​(java.lang.String keyType,
                                        [] issuers,
        Specified by:
        chooseServerAlias in interface
      • chooseServerAlias

        public java.lang.String chooseServerAlias​(java.lang.String keyType,
      • getCertificateChain

        public[] getCertificateChain​(java.lang.String alias)
        Specified by:
        getCertificateChain in interface
      • getClientAliases

        public java.lang.String[] getClientAliases​(java.lang.String keyType,
                                         [] issuers)
        Specified by:
        getClientAliases in interface
      • getPrivateKey

        public getPrivateKey​(java.lang.String alias)
        Specified by:
        getPrivateKey in interface
      • getServerAliases

        public java.lang.String[] getServerAliases​(java.lang.String keyType,
                                         [] issuers)
        Specified by:
        getServerAliases in interface