Class KeyPairGeneratorResource

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

    public class KeyPairGeneratorResource
    extends java.lang.Object
    implements java.io.Closeable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.security.KeyPairGenerator instance  
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyPairGeneratorResource​(java.security.KeyPairGenerator keyPairGenerator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      • Methods inherited from class java.lang.Object

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

      • instance

        public final java.security.KeyPairGenerator instance
    • Constructor Detail

      • KeyPairGeneratorResource

        public KeyPairGeneratorResource​(java.security.KeyPairGenerator keyPairGenerator)
    • Method Detail

      • 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