Class ERSInputStreamData

  • All Implemented Interfaces:
    ERSData

    public class ERSInputStreamData
    extends ERSCachingData
    Generic class for processing an InputStream (or File) of data for RFC 4998 ERS.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected byte[] calculateHash​(DigestCalculator digestCalculator, byte[] previousChainHash)
      Compute the hash for this data object.
      • Methods inherited from class java.lang.Object

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

      • ERSInputStreamData

        public ERSInputStreamData​(java.io.File content)
                           throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException
      • ERSInputStreamData

        public ERSInputStreamData​(java.io.InputStream content)