Searched defs:KeysetService (Results 1 – 2 of 2) sorted by relevance
/aosp_15_r20/external/tink/testing/go/ |
H A D | keyset_service.go | 42 type KeysetService struct { struct 43 Templates map[string]*tinkpb.KeyTemplate 44 pb.KeysetServer 47 …tTemplate(ctx context.Context, req *pb.KeysetTemplateRequest) (*pb.KeysetTemplateResponse, error) { 140 … Generate(ctx context.Context, req *pb.KeysetGenerateRequest) (*pb.KeysetGenerateResponse, error) { 163 …rvice) Public(ctx context.Context, req *pb.KeysetPublicRequest) (*pb.KeysetPublicResponse, error) { 186 …rvice) ToJson(ctx context.Context, req *pb.KeysetToJsonRequest) (*pb.KeysetToJsonResponse, error) { 203 … FromJson(ctx context.Context, req *pb.KeysetFromJsonRequest) (*pb.KeysetFromJsonResponse, error) { 220 …x context.Context, req *pb.KeysetWriteEncryptedRequest) (*pb.KeysetWriteEncryptedResponse, error) { 262 …ctx context.Context, req *pb.KeysetReadEncryptedRequest) (*pb.KeysetReadEncryptedResponse, error) {
|
H A D | services_test.go | 40 func genKeyset(ctx context.Context, keysetService *services.KeysetService, template []byte) ([]byte… 56 func pubKeyset(ctx context.Context, keysetService *services.KeysetService, privateKeyset []byte) ([… 72 func keysetFromJSON(ctx context.Context, keysetService *services.KeysetService, jsonKeyset string) … 88 func keysetToJSON(ctx context.Context, keysetService *services.KeysetService, keyset []byte) (strin… 178 func keysetWriteEncrypted(ctx context.Context, keysetService *services.KeysetService, keyset []byte… 208 func keysetReadEncrypted(ctx context.Context, keysetService *services.KeysetService, encryptedKeyse…
|