// Copyright 2015 The Vanadium Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style | |
// license that can be found in the LICENSE file. | |
package serialization | |
import "v.io/v23/security" | |
type SignedHeader struct { | |
ChunkSizeBytes int64 | |
} | |
type HashCode [32]byte | |
// SignedData describes the information sent by a SigningWriter and read by VerifiyingReader. | |
type SignedData union { | |
Signature security.Signature | |
Hash HashCode | |
} |