Class ERSInputStreamData

  • All Implemented Interfaces:
    ERSData

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected byte[] calculateHash​(org.bouncycastle.operator.DigestCalculator digestCalculator, byte[] previousChainHash)  
      • 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)
    • Method Detail

      • calculateHash

        protected byte[] calculateHash​(org.bouncycastle.operator.DigestCalculator digestCalculator,
                                       byte[] previousChainHash)
        Specified by:
        calculateHash in class ERSCachingData