Class DigestBytesHolder

    • Field Detail

      • bytes

        protected final byte[] bytes
    • Constructor Detail

      • DigestBytesHolder

        public DigestBytesHolder​(byte[] bytes,
                                 byte[] digest,
                                 SecurityHelper.DigestAlgorithm algorithm)
                          throws java.security.SignatureException
        Throws:
        java.security.SignatureException
      • DigestBytesHolder

        public DigestBytesHolder​(HInput input,
                                 SecurityHelper.DigestAlgorithm algorithm)
                          throws java.io.IOException,
                                 java.security.SignatureException
        Throws:
        java.io.IOException
        java.security.SignatureException
    • Method Detail

      • getBytes

        public final byte[] getBytes()
      • getDigest

        public final byte[] getDigest()
      • write

        public final void write​(HOutput output)
                         throws java.io.IOException
        Specified by:
        write in class StreamObject
        Throws:
        java.io.IOException