Class KeyEntryResource

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

    public class KeyEntryResource
    extends java.lang.Object
    implements java.io.Closeable
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyEntryResource​(java.lang.String alias, byte[] key, int chainLen)  
    • Constructor Detail

      • KeyEntryResource

        public KeyEntryResource​(java.lang.String alias,
                                byte[] key,
                                int chainLen)
    • Method Detail

      • insertCertificateInChain

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

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

        public byte[] getKey()
      • 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