Debian Codegraph @

plugin/proto/sign.go

raw
1 // Copyright The Notary Project Authors.
2 // Licensed under the Apache License, Version 2.0 (the "License");
3 // you may not use this file except in compliance with the License.
4 // You may obtain a copy of the License at
5 //
6 // http://www.apache.org/licenses/LICENSE-2.0
7 //
8 // Unless required by applicable law or agreed to in writing, software
9 // distributed under the License is distributed on an "AS IS" BASIS,
10 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 // See the License for the specific language governing permissions and
12 // limitations under the License.
13
14 package proto
15
16 import "github.com/notaryproject/notation-plugin-framework-go/plugin"
17
18 // DescribeKeyRequest contains the parameters passed in a describe-key request.
19 //
20 // Deprecated: DescribeKeyRequest exists for historical compatibility and should not be used.
21 // To access DescribeKeyRequest, use the notation-plugin-framework-go's [plugin.DescribeKeyRequest] type.
22 type DescribeKeyRequest = plugin.DescribeKeyRequest
23
24 // DescribeKeyResponse is the response of a describe-key request.
25 //
26 // Deprecated: DescribeKeyResponse exists for historical compatibility and should not be used.
27 // To access DescribeKeyResponse, use the notation-plugin-framework-go's [plugin.DescribeKeyResponse] type.
28 type DescribeKeyResponse = plugin.DescribeKeyResponse
29
30 // GenerateSignatureRequest contains the parameters passed in a
31 // generate-signature request.
32 //
33 // Deprecated: GenerateSignatureRequest exists for historical compatibility and should not be used.
34 // To access GenerateSignatureRequest, use the notation-plugin-framework-go's [plugin.GenerateSignatureRequest] type.
35 type GenerateSignatureRequest = plugin.GenerateSignatureRequest
36
37 // GenerateSignatureResponse is the response of a generate-signature request.
38 //
39 // Deprecated: GenerateSignatureResponse exists for historical compatibility and should not be used.
40 // To access GenerateSignatureResponse, use the notation-plugin-framework-go's [plugin.GenerateSignatureResponse] type.
41 type GenerateSignatureResponse = plugin.GenerateSignatureResponse
42
43 // GenerateEnvelopeRequest contains the parameters passed in a generate-envelope
44 // request.
45 //
46 // Deprecated: GenerateEnvelopeRequest exists for historical compatibility and should not be used.
47 // To access GenerateEnvelopeRequest, use the notation-plugin-framework-go's [plugin.GenerateEnvelopeRequest] type.
48 type GenerateEnvelopeRequest = plugin.GenerateEnvelopeRequest
49
50 // GenerateEnvelopeResponse is the response of a generate-envelope request.
51 //
52 // Deprecated: GenerateEnvelopeResponse exists for historical compatibility and should not be used.
53 // To access GenerateEnvelopeResponse, use the notation-plugin-framework-go's [plugin.GenerateEnvelopeResponse] type.
54 type GenerateEnvelopeResponse = plugin.GenerateEnvelopeResponse