diff --git a/container/v2/signature.go b/container/v2/signature.go new file mode 100644 index 00000000..ca19ee60 --- /dev/null +++ b/container/v2/signature.go @@ -0,0 +1,17 @@ +package v2 + +func (m *Container) ReadSignedData(buf []byte) ([]byte, error) { + return m.StableMarshal(buf) +} + +func (m *Container) SignedDataSize() int { + return m.StableSize() +} + +func (m *PutRequest_Body) ReadSignedData(buf []byte) ([]byte, error) { + return m.StableMarshal(buf) +} + +func (m *PutRequest_Body) SignedDataSize() int { + return m.StableSize() +}