Class BCMessageDigest

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Digest digest  
      protected int digestSize  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] engineDigest()  
      int engineGetDigestLength()  
      void engineReset()  
      void engineUpdate​(byte input)  
      void engineUpdate​(byte[] input, int offset, int len)  
      • Methods inherited from class java.security.MessageDigest

        clone, digest, digest, digest, getAlgorithm, getDigestLength, getInstance, getInstance, getInstance, getProvider, isEqual, reset, toString, update, update, update, update
      • Methods inherited from class java.security.MessageDigestSpi

        engineDigest, engineUpdate
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • digest

        protected Digest digest
      • digestSize

        protected int digestSize
    • Constructor Detail

      • BCMessageDigest

        protected BCMessageDigest​(Digest digest)
      • BCMessageDigest

        protected BCMessageDigest​(Xof digest,
                                  int outputSize)
    • Method Detail

      • engineReset

        public void engineReset()
        Specified by:
        engineReset in class java.security.MessageDigestSpi
      • engineUpdate

        public void engineUpdate​(byte input)
        Specified by:
        engineUpdate in class java.security.MessageDigestSpi
      • engineUpdate

        public void engineUpdate​(byte[] input,
                                 int offset,
                                 int len)
        Specified by:
        engineUpdate in class java.security.MessageDigestSpi
      • engineGetDigestLength

        public int engineGetDigestLength()
        Overrides:
        engineGetDigestLength in class java.security.MessageDigestSpi
      • engineDigest

        public byte[] engineDigest()
        Specified by:
        engineDigest in class java.security.MessageDigestSpi