@@ -41,7 +41,7 @@ func newDSSEEncoder(ss []signature.Signer, opts ...signature.SignOption) (*dsseE
4141opts = append (opts , options .WithCryptoSignerOpts (so ))
4242}
4343
44- dss := make ([]dsse.SignVerifier , 0 , len (ss ))
44+ dss := make ([]dsse.SignerVerifier , 0 , len (ss ))
4545for _ , s := range ss {
4646ds , err := newDSSESigner (s , opts ... )
4747if err != nil {
@@ -141,7 +141,7 @@ type dsseSigner struct {
141141pub crypto.PublicKey
142142}
143143
144- // newDSSESigner returns a dsse.SignVerifier that uses s to sign according to opts. Note that the
144+ // newDSSESigner returns a dsse.SignerVerifier that uses s to sign according to opts. Note that the
145145// returned value is suitable only for signing, and not verification.
146146func newDSSESigner (s signature.Signer , opts ... signature.SignOption ) (* dsseSigner , error ) {
147147pub , err := s .PublicKey ()
@@ -166,7 +166,7 @@ func (s *dsseSigner) Sign(ctx context.Context, data []byte) ([]byte, error) {
166166
167167var errSignNotImplemented = errors .New ("sign not implemented" )
168168
169- // Verify is not implemented, but required for the dsse.SignVerifier interface.
169+ // Verify is not implemented, but required for the dsse.SignerVerifier interface.
170170func (s * dsseSigner ) Verify (_ context.Context , _ , _ []byte ) error {
171171return errSignNotImplemented
172172}
0 commit comments