Class KeyStoreHolder


  • public class KeyStoreHolder
    extends java.lang.Object
    Holder for the secure key store.
    See Also:
    KeyStore
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyStoreHolder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.security.KeyStore getKeyStore()  
      void setCertificate​(java.lang.String alias, java.security.cert.Certificate certificate)  
      void setPrivateKey​(java.lang.String alias, java.security.PrivateKey privateKey, java.security.cert.Certificate[] certChain)  
      • Methods inherited from class java.lang.Object

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

      • KeyStoreHolder

        public KeyStoreHolder()
                       throws java.security.KeyStoreException
        Throws:
        java.security.KeyStoreException
    • Method Detail

      • getKeyStore

        public java.security.KeyStore getKeyStore()
      • setCertificate

        public void setCertificate​(java.lang.String alias,
                                   java.security.cert.Certificate certificate)
                            throws java.security.KeyStoreException
        Throws:
        java.security.KeyStoreException
      • setPrivateKey

        public void setPrivateKey​(java.lang.String alias,
                                  java.security.PrivateKey privateKey,
                                  java.security.cert.Certificate[] certChain)
                           throws java.security.KeyStoreException
        Throws:
        java.security.KeyStoreException