Class IssacWrapperNative

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Direct Known Subclasses:
    IssacWrapperPBKDF2

    public abstract class IssacWrapperNative
    extends IssacWrapper
    implements java.io.Closeable
    Wrapping 된 데이터를 Native 라이브러리 내부에서 처리하는 클래스
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void close()
      이 객체의 리소스를 메모리에서 삭제한다.
      byte[] getCtx()
      Deprecated.
      참조값은 바이너리 데이터가 아니므로 외부에선 절대 사용하지 않도록 한다!
      byte[] unwrap​(byte[] wrappedData)
      입력한 데이터를 Unwrapping 한다.
      byte[] wrap​(byte[] data)
      입력한 데이터를 Wrapping 한다.
      • Methods inherited from class java.lang.Object

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

      • close

        public void close()
                   throws IssacSDKException
        이 객체의 리소스를 메모리에서 삭제한다.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        IssacSDKException
      • getCtx

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

        public byte[] wrap​(byte[] data)
                    throws IssacSDKException
        입력한 데이터를 Wrapping 한다.
        Specified by:
        wrap in class IssacWrapper
        Parameters:
        data - wrapping 할 데이터
        Returns:
        wrapping 된 데이터
        Throws:
        IssacSDKException - 오류 발생
      • unwrap

        public byte[] unwrap​(byte[] wrappedData)
                      throws IssacSDKException
        입력한 데이터를 Unwrapping 한다.
        Specified by:
        unwrap in class IssacWrapper
        Parameters:
        wrappedData - wrapping 된 데이터
        Returns:
        unwrapping 된 데이터
        Throws:
        IssacSDKException - 오류 발생