Versions in this module Expand all Collapse all v0 v0.1.0 Mar 11, 2022 Changes in this version + func FileASN1DER(hashType HashType, hash []byte, mode, mask os.FileMode, sys *Sys) ([]byte, error) + func TreeASN1DER(hashType HashType, hashes []NamedHash) ([]byte, error) + type HashType asn1.Enumerated + const HashAdler32 + const HashBlake2b256 + const HashBlake2b384 + const HashBlake2b512 + const HashBlake2s256 + const HashCRC32 + const HashCRC32c + const HashCRC32k + const HashCRC64ECMA + const HashCRC64ISO + const HashFNV128 + const HashFNV128a + const HashFNV32 + const HashFNV32a + const HashFNV64 + const HashFNV64a + const HashMD4 + const HashMD5 + const HashNone + const HashRMD160 + const HashSHA1 + const HashSHA224 + const HashSHA256 + const HashSHA384 + const HashSHA3_224 + const HashSHA3_256 + const HashSHA3_384 + const HashSHA3_512 + const HashSHA512 + const HashSHA512_224 + const HashSHA512_256 + const HashUnknown + type NamedHash struct + Hash []byte + Name []byte + type Sys struct + Ctime *Timespec + GID *uint32 + Mtime *Timespec + Rdev *uint64 + UID *uint32 + XattrHashType HashType + XattrHashes []NamedHash + type Timespec struct + Nsec int64 + Sec int64