DigestDetail constructor