Class IssacUSRSTORAGE

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

    public class IssacUSRSTORAGE
    extends java.lang.Object
    implements java.io.Closeable
    USR 모듈에서의 저장소를 다루는 클래스

    인증기관은 자신의 저장소(저장 매체, 저장 방식 등)을 형상화하는 PKISTORAGE라는 동적 라이브러리를 제작하여야 한다.

    • Constructor Summary

      Constructors 
      Constructor Description
      IssacUSRSTORAGE​(java.lang.String storagename)
      입력으로 주어지는 storagename을 이용하여 해당하는 동적 라이브러리를 찾아 현재 프로세스에서 사용할 수 있도록 로딩한다.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void close()  
      byte[] getStorage()
      Deprecated.
      참조값은 바이너리 데이터가 아니므로 외부에선 절대 사용하지 않도록 한다!
      void Unload()
      Deprecated.
      Resource Leak 의 효율적인 관리를 위해 close() 를 사용할 것을 권장함.
      • Methods inherited from class java.lang.Object

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

      • IssacUSRSTORAGE

        public IssacUSRSTORAGE​(java.lang.String storagename)
                        throws IssacSDKException
        입력으로 주어지는 storagename을 이용하여 해당하는 동적 라이브러리를 찾아 현재 프로세스에서 사용할 수 있도록 로딩한다.
        Parameters:
        storagename - [IN] 인증기관에서 제공하는 동적 라이브러리의 path
        Throws:
        IssacSDKException - 오류 발생
        See Also:
        close()
    • Method Detail

      • getStorage

        public byte[] getStorage()
        Deprecated.
        참조값은 바이너리 데이터가 아니므로 외부에선 절대 사용하지 않도록 한다!
        IssacUSRSTORAGE 객체의 참조값을 가져온다.
        Returns:
        IssacUSRSTORAGE 객체의 참조값
      • Unload

        public void Unload()
                    throws IssacSDKException
        Deprecated.
        Resource Leak 의 효율적인 관리를 위해 close() 를 사용할 것을 권장함.
        동적으로 연결된 라이브러리를 현재 프로세스에서 해제한다.
        Throws:
        IssacSDKException - 오류 발생
        See Also:
        IssacUSRSTORAGE(String)
      • close

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