Package com.penta.sdk.bs
Class IssacWrapperNative
- java.lang.Object
-
- com.penta.sdk.bs.IssacWrapper
-
- com.penta.sdk.bs.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 voidclose()이 객체의 리소스를 메모리에서 삭제한다.byte[]getCtx()Deprecated.참조값은 바이너리 데이터가 아니므로 외부에선 절대 사용하지 않도록 한다!byte[]unwrap(byte[] wrappedData)입력한 데이터를 Unwrapping 한다.byte[]wrap(byte[] data)입력한 데이터를 Wrapping 한다.
-
-
-
Method Detail
-
close
public void close() throws IssacSDKException이 객체의 리소스를 메모리에서 삭제한다.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
IssacSDKException
-
getCtx
public byte[] getCtx()
Deprecated.참조값은 바이너리 데이터가 아니므로 외부에선 절대 사용하지 않도록 한다!객체의 Native 참조값을 가져온다.- Returns:
- 참조값
-
wrap
public byte[] wrap(byte[] data) throws IssacSDKException입력한 데이터를 Wrapping 한다.- Specified by:
wrapin classIssacWrapper- Parameters:
data- wrapping 할 데이터- Returns:
- wrapping 된 데이터
- Throws:
IssacSDKException- 오류 발생
-
unwrap
public byte[] unwrap(byte[] wrappedData) throws IssacSDKException입력한 데이터를 Unwrapping 한다.- Specified by:
unwrapin classIssacWrapper- Parameters:
wrappedData- wrapping 된 데이터- Returns:
- unwrapping 된 데이터
- Throws:
IssacSDKException- 오류 발생
-
-