Class WolfSSLKeyX509

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

    public class WolfSSLKeyX509
    extends java.lang.Object
    implements javax.net.ssl.X509KeyManager
    wolfSSL implementation of X509KeyManager
    Author:
    wolfSSL
    • Constructor Summary

      Constructors 
      Constructor Description
      WolfSSLKeyX509​(java.security.KeyStore in, char[] password)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String chooseClientAlias​(java.lang.String[] type, java.security.Principal[] issuers, java.net.Socket sock)  
      java.lang.String chooseServerAlias​(java.lang.String type, java.security.Principal[] issuers, java.net.Socket sock)  
      java.security.cert.X509Certificate[] getCertificateChain​(java.lang.String alias)  
      java.lang.String[] getClientAliases​(java.lang.String type, java.security.Principal[] issuers)  
      java.security.PrivateKey getPrivateKey​(java.lang.String alias)  
      java.lang.String[] getServerAliases​(java.lang.String type, java.security.Principal[] issuers)  
      • Methods inherited from class java.lang.Object

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

      • WolfSSLKeyX509

        public WolfSSLKeyX509​(java.security.KeyStore in,
                              char[] password)
    • Method Detail

      • getClientAliases

        public java.lang.String[] getClientAliases​(java.lang.String type,
                                                   java.security.Principal[] issuers)
        Specified by:
        getClientAliases in interface javax.net.ssl.X509KeyManager
      • chooseClientAlias

        public java.lang.String chooseClientAlias​(java.lang.String[] type,
                                                  java.security.Principal[] issuers,
                                                  java.net.Socket sock)
        Specified by:
        chooseClientAlias in interface javax.net.ssl.X509KeyManager
      • getServerAliases

        public java.lang.String[] getServerAliases​(java.lang.String type,
                                                   java.security.Principal[] issuers)
        Specified by:
        getServerAliases in interface javax.net.ssl.X509KeyManager
      • chooseServerAlias

        public java.lang.String chooseServerAlias​(java.lang.String type,
                                                  java.security.Principal[] issuers,
                                                  java.net.Socket sock)
        Specified by:
        chooseServerAlias in interface javax.net.ssl.X509KeyManager
      • getCertificateChain

        public java.security.cert.X509Certificate[] getCertificateChain​(java.lang.String alias)
        Specified by:
        getCertificateChain in interface javax.net.ssl.X509KeyManager
      • getPrivateKey

        public java.security.PrivateKey getPrivateKey​(java.lang.String alias)
        Specified by:
        getPrivateKey in interface javax.net.ssl.X509KeyManager