Class KeyEntryResourceWithPassword

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class KeyEntryResourceWithPassword
    extends java.lang.Object
    implements java.io.Closeable
    • Constructor Detail

      • KeyEntryResourceWithPassword

        public KeyEntryResourceWithPassword​(java.lang.String alias,
                                            java.security.Key key,
                                            char[] password,
                                            int chainLen)
    • Method Detail

      • insertCertificateInChain

        public void insertCertificateInChain​(int index,
                                             java.security.cert.Certificate certificate)
      • getKey

        public java.security.Key getKey()
      • getPassword

        public char[] getPassword()
      • getCertificateChain

        public java.security.cert.Certificate[] getCertificateChain()
      • getAlias

        public java.lang.String getAlias()
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException