VerifySeedForSourceSize
func VerifySeedForSourceSize(ctx context.Context, seed io.Reader, expectedSeedHash Digest, sourceSize uint64) (SeedInfo, error)
VerifySeedForSourceSize verifies seed structure, hash, and its digest count against a caller-provided source size in a single streaming pass.
Parameters
| Name | Type | Description |
|---|---|---|
ctx | context.Context | Parameter ctx of VerifySeedForSourceSize. |
seed | io.Reader | Parameter seed of VerifySeedForSourceSize. |
expectedSeedHash | Digest | Parameter expectedSeedHash of VerifySeedForSourceSize. |
sourceSize | uint64 | Parameter sourceSize of VerifySeedForSourceSize. |
Returns
(SeedInfo, error)
Source
This page is generated from SDK source metadata and the translation catalog.