Class ContentInfo


  • public class ContentInfo
    extends java.lang.Object
    A ContentInfo type, as defined in PKCS#7.
    • Method Detail

      • getContent

        public DerValue getContent()
      • getData

        public byte[] getData()
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • encode

        public void encode​(DerOutputStream out)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • getContentBytes

        public byte[] getContentBytes()
                               throws java.io.IOException
        Returns a byte array representation of the data held in the content field.
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object