Package com.penta.sdk.bs
Class IssacContentInfoType
- java.lang.Object
-
- com.penta.sdk.bs.IssacContentInfoType
-
public class IssacContentInfoType extends java.lang.ObjectPKCS#7 content <-> PKCS#7 변환 클래스
-
-
Constructor Summary
Constructors Constructor Description IssacContentInfoType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]AddContentInfoType(byte[] data, int type)PKCS#7 content에 content type을 추가하여 PKCS#7 메시지를 생성한다.static byte[]DeleteContentInfoType(byte[] cInfo, int type)PKCS#7 메시지에서 content type을 삭제하여 PKCS#7 content를 추출한다.
-
-
-
Method Detail
-
AddContentInfoType
public static byte[] AddContentInfoType(byte[] data, int type) throws IssacSDKExceptionPKCS#7 content에 content type을 추가하여 PKCS#7 메시지를 생성한다.- Parameters:
data- [IN] PKCS#7 contenttype- [IN] PKCS#7 content의 type (69: SignedData, 70: EnvelopedData)- Returns:
- PKCS#7 메시지
- Throws:
IssacSDKException- 오류 발생
-
DeleteContentInfoType
public static byte[] DeleteContentInfoType(byte[] cInfo, int type) throws IssacSDKExceptionPKCS#7 메시지에서 content type을 삭제하여 PKCS#7 content를 추출한다.- Parameters:
cInfo- [IN] PKCS#7type- [IN] PKCS#7 content의 type (69: SignedData, 70: EnvelopedData)- Returns:
- PKCS#7 content
- Throws:
IssacSDKException- 오류 발생
-
-