Documentation ¶
Index ¶
- Variables
- func Find(meta4 metalink.File, hashType metalink.HashType) (metalink.Hash, bool)
- func NewGenericSignerVerifier(hashType metalink.HashType, newer hashNewer) genericSignerVerifier
- func NewGenericVerification(hashType metalink.HashType, hashData string) verification.Verification
- type Verification
Constants ¶
This section is empty.
Variables ¶
View Source
var MD5SignerVerifier = NewGenericSignerVerifier(metalink.HashTypeMD5, md5.New)
View Source
var SHA1SignerVerifier = NewGenericSignerVerifier(metalink.HashTypeSHA1, sha1.New)
View Source
var SHA256SignerVerifier = NewGenericSignerVerifier(metalink.HashTypeSHA256, sha256.New)
View Source
var SHA512SignerVerifier = NewGenericSignerVerifier(metalink.HashTypeSHA512, sha512.New)
View Source
var StrongestSignerVerifier = strongestSignerVerifier{ // contains filtered or unexported fields }
Functions ¶
func NewGenericSignerVerifier ¶ added in v0.3.0
func NewGenericVerification ¶
func NewGenericVerification(hashType metalink.HashType, hashData string) verification.Verification
Types ¶
type Verification ¶
type Verification interface { verification.Verification }
Click to show internal directories.
Click to hide internal directories.