Skip to content

Commit

Permalink
[WIP] More changes!
Browse files Browse the repository at this point in the history
Signed-off-by: Yogesh Deshpande <[email protected]>
  • Loading branch information
yogeshbdeshpande committed Mar 13, 2024
1 parent 893379d commit 24558b5
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion handler/endorsement.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Contributors to the Veraison project.
// Copyright 2024 Contributors to the Veraison project.
// SPDX-License-Identifier: Apache-2.0
package handler

Expand Down
2 changes: 1 addition & 1 deletion handler/error_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Contributors to the Veraison project.
// Copyright 2024 Contributors to the Veraison project.
// SPDX-License-Identifier: Apache-2.0
package handler

Expand Down
5 changes: 0 additions & 5 deletions handler/evidence_rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ func (s *RPCServer) GetSupportedMediaTypes(args interface{}, resp *[]string) err
return nil
}

type SynthKeysArgs struct {
TenantID string
EndorsementJSON []byte
}

type ExtractClaimsArgs struct {
Token []byte
TrustAnchors []string
Expand Down
2 changes: 1 addition & 1 deletion handler/idecoder_manager.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022-2023 Contributors to the Veraison project.
// Copyright 2022-2024 Contributors to the Veraison project.
// SPDX-License-Identifier: Apache-2.0
package handler

Expand Down
2 changes: 1 addition & 1 deletion handler/iendorsementhandler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022-2023 Contributors to the Veraison project.
// Copyright 2022-2024 Contributors to the Veraison project.
// SPDX-License-Identifier: Apache-2.0
package handler

Expand Down
2 changes: 1 addition & 1 deletion handler/result.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Contributors to the Veraison project.
// Copyright 2024 Contributors to the Veraison project.
// SPDX-License-Identifier: Apache-2.0
package handler

Expand Down
7 changes: 3 additions & 4 deletions handler/store_rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,12 @@ func (s *StoreRPCServer) GetSupportedMediaTypes(args interface{}, resp *[]string
return nil
}

// TO DO Retain the Name
type SynthKeysArgs1 struct {
type SynthKeysArgs struct {
TenantID string
EndorsementJSON []byte
}

func (s *StoreRPCServer) SynthKeysFromRefValue(args SynthKeysArgs1, resp *[]string) error {
func (s *StoreRPCServer) SynthKeysFromRefValue(args SynthKeysArgs, resp *[]string) error {
var (
err error
swComp Endorsement
Expand All @@ -77,7 +76,7 @@ func (s *StoreRPCServer) SynthKeysFromRefValue(args SynthKeysArgs1, resp *[]stri
return err
}

func (s *StoreRPCServer) SynthKeysFromTrustAnchor(args SynthKeysArgs1, resp *[]string) error {
func (s *StoreRPCServer) SynthKeysFromTrustAnchor(args SynthKeysArgs, resp *[]string) error {
var (
err error
ta Endorsement
Expand Down

0 comments on commit 24558b5

Please sign in to comment.