Class IssacContentInfoType


  • public class IssacContentInfoType
    extends java.lang.Object
    PKCS#7 content <-> PKCS#7 변환 클래스
    • 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를 추출한다.
      • Methods inherited from class java.lang.Object

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

      • IssacContentInfoType

        public IssacContentInfoType()
    • Method Detail

      • AddContentInfoType

        public static byte[] AddContentInfoType​(byte[] data,
                                                int type)
                                         throws IssacSDKException
        PKCS#7 content에 content type을 추가하여 PKCS#7 메시지를 생성한다.
        Parameters:
        data - [IN] PKCS#7 content
        type - [IN] PKCS#7 content의 type (69: SignedData, 70: EnvelopedData)
        Returns:
        PKCS#7 메시지
        Throws:
        IssacSDKException - 오류 발생
      • DeleteContentInfoType

        public static byte[] DeleteContentInfoType​(byte[] cInfo,
                                                   int type)
                                            throws IssacSDKException
        PKCS#7 메시지에서 content type을 삭제하여 PKCS#7 content를 추출한다.
        Parameters:
        cInfo - [IN] PKCS#7
        type - [IN] PKCS#7 content의 type (69: SignedData, 70: EnvelopedData)
        Returns:
        PKCS#7 content
        Throws:
        IssacSDKException - 오류 발생