scanoss 1.20.6__py3-none-any.whl → 1.23.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- protoc_gen_swagger/options/annotations_pb2.py +9 -12
- protoc_gen_swagger/options/annotations_pb2_grpc.py +1 -1
- protoc_gen_swagger/options/openapiv2_pb2.py +96 -98
- protoc_gen_swagger/options/openapiv2_pb2_grpc.py +1 -1
- scanoss/__init__.py +1 -1
- scanoss/api/common/v2/scanoss_common_pb2.py +20 -18
- scanoss/api/common/v2/scanoss_common_pb2_grpc.py +1 -1
- scanoss/api/components/v2/scanoss_components_pb2.py +38 -48
- scanoss/api/components/v2/scanoss_components_pb2_grpc.py +96 -142
- scanoss/api/cryptography/v2/scanoss_cryptography_pb2.py +42 -22
- scanoss/api/cryptography/v2/scanoss_cryptography_pb2_grpc.py +185 -75
- scanoss/api/dependencies/v2/scanoss_dependencies_pb2.py +32 -30
- scanoss/api/dependencies/v2/scanoss_dependencies_pb2_grpc.py +83 -75
- scanoss/api/geoprovenance/v2/scanoss_geoprovenance_pb2.py +49 -0
- scanoss/api/geoprovenance/v2/scanoss_geoprovenance_pb2_grpc.py +142 -0
- scanoss/api/scanning/v2/scanoss_scanning_pb2.py +20 -10
- scanoss/api/scanning/v2/scanoss_scanning_pb2_grpc.py +70 -40
- scanoss/api/semgrep/v2/scanoss_semgrep_pb2.py +18 -22
- scanoss/api/semgrep/v2/scanoss_semgrep_pb2_grpc.py +49 -71
- scanoss/api/vulnerabilities/v2/scanoss_vulnerabilities_pb2.py +27 -37
- scanoss/api/vulnerabilities/v2/scanoss_vulnerabilities_pb2_grpc.py +72 -109
- scanoss/cli.py +393 -84
- scanoss/components.py +21 -11
- scanoss/constants.py +12 -0
- scanoss/data/build_date.txt +1 -1
- scanoss/file_filters.py +272 -57
- scanoss/results.py +92 -109
- scanoss/scanners/__init__.py +23 -0
- scanoss/scanners/container_scanner.py +474 -0
- scanoss/scanners/folder_hasher.py +302 -0
- scanoss/scanners/scanner_config.py +73 -0
- scanoss/scanners/scanner_hfh.py +173 -0
- scanoss/scanoss_settings.py +9 -5
- scanoss/scanossbase.py +9 -3
- scanoss/scanossgrpc.py +143 -18
- scanoss/threadedscanning.py +6 -6
- scanoss/utils/abstract_presenter.py +103 -0
- scanoss/utils/crc64.py +96 -0
- scanoss/utils/simhash.py +198 -0
- {scanoss-1.20.6.dist-info → scanoss-1.23.0.dist-info}/METADATA +2 -1
- scanoss-1.23.0.dist-info/RECORD +83 -0
- {scanoss-1.20.6.dist-info → scanoss-1.23.0.dist-info}/WHEEL +1 -1
- scanoss/api/provenance/v2/scanoss_provenance_pb2.py +0 -42
- scanoss/api/provenance/v2/scanoss_provenance_pb2_grpc.py +0 -108
- scanoss-1.20.6.dist-info/RECORD +0 -74
- /scanoss/api/{provenance → geoprovenance}/__init__.py +0 -0
- /scanoss/api/{provenance → geoprovenance}/v2/__init__.py +0 -0
- {scanoss-1.20.6.dist-info → scanoss-1.23.0.dist-info}/entry_points.txt +0 -0
- {scanoss-1.20.6.dist-info → scanoss-1.23.0.dist-info}/licenses/LICENSE +0 -0
- {scanoss-1.20.6.dist-info → scanoss-1.23.0.dist-info}/top_level.txt +0 -0
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
2
|
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
-
|
|
4
3
|
import grpc
|
|
5
4
|
|
|
6
5
|
from scanoss.api.common.v2 import scanoss_common_pb2 as scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2
|
|
7
|
-
from scanoss.api.components.v2 import
|
|
8
|
-
scanoss_components_pb2 as scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2,
|
|
9
|
-
)
|
|
6
|
+
from scanoss.api.components.v2 import scanoss_components_pb2 as scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2
|
|
10
7
|
|
|
11
8
|
|
|
12
9
|
class ComponentsStub(object):
|
|
@@ -21,25 +18,25 @@ class ComponentsStub(object):
|
|
|
21
18
|
channel: A grpc.Channel.
|
|
22
19
|
"""
|
|
23
20
|
self.Echo = channel.unary_unary(
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
'/scanoss.api.components.v2.Components/Echo',
|
|
22
|
+
request_serializer=scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2.EchoRequest.SerializeToString,
|
|
23
|
+
response_deserializer=scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2.EchoResponse.FromString,
|
|
24
|
+
)
|
|
28
25
|
self.SearchComponents = channel.unary_unary(
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
26
|
+
'/scanoss.api.components.v2.Components/SearchComponents',
|
|
27
|
+
request_serializer=scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompSearchRequest.SerializeToString,
|
|
28
|
+
response_deserializer=scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompSearchResponse.FromString,
|
|
29
|
+
)
|
|
33
30
|
self.GetComponentVersions = channel.unary_unary(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
31
|
+
'/scanoss.api.components.v2.Components/GetComponentVersions',
|
|
32
|
+
request_serializer=scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompVersionRequest.SerializeToString,
|
|
33
|
+
response_deserializer=scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompVersionResponse.FromString,
|
|
34
|
+
)
|
|
38
35
|
self.GetComponentStatistics = channel.unary_unary(
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
36
|
+
'/scanoss.api.components.v2.Components/GetComponentStatistics',
|
|
37
|
+
request_serializer=scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2.PurlRequest.SerializeToString,
|
|
38
|
+
response_deserializer=scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompStatisticResponse.FromString,
|
|
39
|
+
)
|
|
43
40
|
|
|
44
41
|
|
|
45
42
|
class ComponentsServicer(object):
|
|
@@ -48,25 +45,29 @@ class ComponentsServicer(object):
|
|
|
48
45
|
"""
|
|
49
46
|
|
|
50
47
|
def Echo(self, request, context):
|
|
51
|
-
"""Standard echo
|
|
48
|
+
"""Standard echo
|
|
49
|
+
"""
|
|
52
50
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
53
51
|
context.set_details('Method not implemented!')
|
|
54
52
|
raise NotImplementedError('Method not implemented!')
|
|
55
53
|
|
|
56
54
|
def SearchComponents(self, request, context):
|
|
57
|
-
"""Search for components
|
|
55
|
+
"""Search for components
|
|
56
|
+
"""
|
|
58
57
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
59
58
|
context.set_details('Method not implemented!')
|
|
60
59
|
raise NotImplementedError('Method not implemented!')
|
|
61
60
|
|
|
62
61
|
def GetComponentVersions(self, request, context):
|
|
63
|
-
"""Get all version information for a specific component
|
|
62
|
+
"""Get all version information for a specific component
|
|
63
|
+
"""
|
|
64
64
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
65
65
|
context.set_details('Method not implemented!')
|
|
66
66
|
raise NotImplementedError('Method not implemented!')
|
|
67
67
|
|
|
68
68
|
def GetComponentStatistics(self, request, context):
|
|
69
|
-
"""Get the statistics for the specified components
|
|
69
|
+
"""Get the statistics for the specified components
|
|
70
|
+
"""
|
|
70
71
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
71
72
|
context.set_details('Method not implemented!')
|
|
72
73
|
raise NotImplementedError('Method not implemented!')
|
|
@@ -74,149 +75,102 @@ class ComponentsServicer(object):
|
|
|
74
75
|
|
|
75
76
|
def add_ComponentsServicer_to_server(servicer, server):
|
|
76
77
|
rpc_method_handlers = {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
78
|
+
'Echo': grpc.unary_unary_rpc_method_handler(
|
|
79
|
+
servicer.Echo,
|
|
80
|
+
request_deserializer=scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2.EchoRequest.FromString,
|
|
81
|
+
response_serializer=scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2.EchoResponse.SerializeToString,
|
|
82
|
+
),
|
|
83
|
+
'SearchComponents': grpc.unary_unary_rpc_method_handler(
|
|
84
|
+
servicer.SearchComponents,
|
|
85
|
+
request_deserializer=scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompSearchRequest.FromString,
|
|
86
|
+
response_serializer=scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompSearchResponse.SerializeToString,
|
|
87
|
+
),
|
|
88
|
+
'GetComponentVersions': grpc.unary_unary_rpc_method_handler(
|
|
89
|
+
servicer.GetComponentVersions,
|
|
90
|
+
request_deserializer=scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompVersionRequest.FromString,
|
|
91
|
+
response_serializer=scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompVersionResponse.SerializeToString,
|
|
92
|
+
),
|
|
93
|
+
'GetComponentStatistics': grpc.unary_unary_rpc_method_handler(
|
|
94
|
+
servicer.GetComponentStatistics,
|
|
95
|
+
request_deserializer=scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2.PurlRequest.FromString,
|
|
96
|
+
response_serializer=scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompStatisticResponse.SerializeToString,
|
|
97
|
+
),
|
|
97
98
|
}
|
|
98
|
-
generic_handler = grpc.method_handlers_generic_handler(
|
|
99
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
100
|
+
'scanoss.api.components.v2.Components', rpc_method_handlers)
|
|
99
101
|
server.add_generic_rpc_handlers((generic_handler,))
|
|
100
102
|
|
|
101
103
|
|
|
102
|
-
# This class is part of an EXPERIMENTAL API.
|
|
104
|
+
# This class is part of an EXPERIMENTAL API.
|
|
103
105
|
class Components(object):
|
|
104
106
|
"""
|
|
105
107
|
Expose all of the SCANOSS Component RPCs here
|
|
106
108
|
"""
|
|
107
109
|
|
|
108
110
|
@staticmethod
|
|
109
|
-
def Echo(
|
|
110
|
-
request,
|
|
111
|
-
target,
|
|
112
|
-
options=(),
|
|
113
|
-
channel_credentials=None,
|
|
114
|
-
call_credentials=None,
|
|
115
|
-
insecure=False,
|
|
116
|
-
compression=None,
|
|
117
|
-
wait_for_ready=None,
|
|
118
|
-
timeout=None,
|
|
119
|
-
metadata=None,
|
|
120
|
-
):
|
|
121
|
-
return grpc.experimental.unary_unary(
|
|
122
|
-
request,
|
|
111
|
+
def Echo(request,
|
|
123
112
|
target,
|
|
124
|
-
|
|
113
|
+
options=(),
|
|
114
|
+
channel_credentials=None,
|
|
115
|
+
call_credentials=None,
|
|
116
|
+
insecure=False,
|
|
117
|
+
compression=None,
|
|
118
|
+
wait_for_ready=None,
|
|
119
|
+
timeout=None,
|
|
120
|
+
metadata=None):
|
|
121
|
+
return grpc.experimental.unary_unary(request, target, '/scanoss.api.components.v2.Components/Echo',
|
|
125
122
|
scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2.EchoRequest.SerializeToString,
|
|
126
123
|
scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2.EchoResponse.FromString,
|
|
127
|
-
options,
|
|
128
|
-
|
|
129
|
-
insecure,
|
|
130
|
-
call_credentials,
|
|
131
|
-
compression,
|
|
132
|
-
wait_for_ready,
|
|
133
|
-
timeout,
|
|
134
|
-
metadata,
|
|
135
|
-
)
|
|
124
|
+
options, channel_credentials,
|
|
125
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
136
126
|
|
|
137
127
|
@staticmethod
|
|
138
|
-
def SearchComponents(
|
|
139
|
-
request,
|
|
140
|
-
target,
|
|
141
|
-
options=(),
|
|
142
|
-
channel_credentials=None,
|
|
143
|
-
call_credentials=None,
|
|
144
|
-
insecure=False,
|
|
145
|
-
compression=None,
|
|
146
|
-
wait_for_ready=None,
|
|
147
|
-
timeout=None,
|
|
148
|
-
metadata=None,
|
|
149
|
-
):
|
|
150
|
-
return grpc.experimental.unary_unary(
|
|
151
|
-
request,
|
|
128
|
+
def SearchComponents(request,
|
|
152
129
|
target,
|
|
153
|
-
|
|
130
|
+
options=(),
|
|
131
|
+
channel_credentials=None,
|
|
132
|
+
call_credentials=None,
|
|
133
|
+
insecure=False,
|
|
134
|
+
compression=None,
|
|
135
|
+
wait_for_ready=None,
|
|
136
|
+
timeout=None,
|
|
137
|
+
metadata=None):
|
|
138
|
+
return grpc.experimental.unary_unary(request, target, '/scanoss.api.components.v2.Components/SearchComponents',
|
|
154
139
|
scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompSearchRequest.SerializeToString,
|
|
155
140
|
scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompSearchResponse.FromString,
|
|
156
|
-
options,
|
|
157
|
-
|
|
158
|
-
insecure,
|
|
159
|
-
call_credentials,
|
|
160
|
-
compression,
|
|
161
|
-
wait_for_ready,
|
|
162
|
-
timeout,
|
|
163
|
-
metadata,
|
|
164
|
-
)
|
|
141
|
+
options, channel_credentials,
|
|
142
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
165
143
|
|
|
166
144
|
@staticmethod
|
|
167
|
-
def GetComponentVersions(
|
|
168
|
-
request,
|
|
169
|
-
target,
|
|
170
|
-
options=(),
|
|
171
|
-
channel_credentials=None,
|
|
172
|
-
call_credentials=None,
|
|
173
|
-
insecure=False,
|
|
174
|
-
compression=None,
|
|
175
|
-
wait_for_ready=None,
|
|
176
|
-
timeout=None,
|
|
177
|
-
metadata=None,
|
|
178
|
-
):
|
|
179
|
-
return grpc.experimental.unary_unary(
|
|
180
|
-
request,
|
|
145
|
+
def GetComponentVersions(request,
|
|
181
146
|
target,
|
|
182
|
-
|
|
147
|
+
options=(),
|
|
148
|
+
channel_credentials=None,
|
|
149
|
+
call_credentials=None,
|
|
150
|
+
insecure=False,
|
|
151
|
+
compression=None,
|
|
152
|
+
wait_for_ready=None,
|
|
153
|
+
timeout=None,
|
|
154
|
+
metadata=None):
|
|
155
|
+
return grpc.experimental.unary_unary(request, target, '/scanoss.api.components.v2.Components/GetComponentVersions',
|
|
183
156
|
scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompVersionRequest.SerializeToString,
|
|
184
157
|
scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompVersionResponse.FromString,
|
|
185
|
-
options,
|
|
186
|
-
|
|
187
|
-
insecure,
|
|
188
|
-
call_credentials,
|
|
189
|
-
compression,
|
|
190
|
-
wait_for_ready,
|
|
191
|
-
timeout,
|
|
192
|
-
metadata,
|
|
193
|
-
)
|
|
158
|
+
options, channel_credentials,
|
|
159
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
194
160
|
|
|
195
161
|
@staticmethod
|
|
196
|
-
def GetComponentStatistics(
|
|
197
|
-
request,
|
|
198
|
-
target,
|
|
199
|
-
options=(),
|
|
200
|
-
channel_credentials=None,
|
|
201
|
-
call_credentials=None,
|
|
202
|
-
insecure=False,
|
|
203
|
-
compression=None,
|
|
204
|
-
wait_for_ready=None,
|
|
205
|
-
timeout=None,
|
|
206
|
-
metadata=None,
|
|
207
|
-
):
|
|
208
|
-
return grpc.experimental.unary_unary(
|
|
209
|
-
request,
|
|
162
|
+
def GetComponentStatistics(request,
|
|
210
163
|
target,
|
|
211
|
-
|
|
164
|
+
options=(),
|
|
165
|
+
channel_credentials=None,
|
|
166
|
+
call_credentials=None,
|
|
167
|
+
insecure=False,
|
|
168
|
+
compression=None,
|
|
169
|
+
wait_for_ready=None,
|
|
170
|
+
timeout=None,
|
|
171
|
+
metadata=None):
|
|
172
|
+
return grpc.experimental.unary_unary(request, target, '/scanoss.api.components.v2.Components/GetComponentStatistics',
|
|
212
173
|
scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2.PurlRequest.SerializeToString,
|
|
213
174
|
scanoss_dot_api_dot_components_dot_v2_dot_scanoss__components__pb2.CompStatisticResponse.FromString,
|
|
214
|
-
options,
|
|
215
|
-
|
|
216
|
-
insecure,
|
|
217
|
-
call_credentials,
|
|
218
|
-
compression,
|
|
219
|
-
wait_for_ready,
|
|
220
|
-
timeout,
|
|
221
|
-
metadata,
|
|
222
|
-
)
|
|
175
|
+
options, channel_credentials,
|
|
176
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# source: scanoss/api/cryptography/v2/scanoss-cryptography.proto
|
|
4
4
|
"""Generated protocol buffer code."""
|
|
5
|
-
|
|
6
5
|
from google.protobuf.internal import builder as _builder
|
|
7
6
|
from google.protobuf import descriptor as _descriptor
|
|
8
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -17,29 +16,50 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
|
17
16
|
from protoc_gen_swagger.options import annotations_pb2 as protoc__gen__swagger_dot_options_dot_annotations__pb2
|
|
18
17
|
|
|
19
18
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
21
|
-
b'\n6scanoss/api/cryptography/v2/scanoss-cryptography.proto\x12\x1bscanoss.api.cryptography.v2\x1a*scanoss/api/common/v2/scanoss-common.proto\x1a\x1cgoogle/api/annotations.proto\x1a,protoc-gen-swagger/options/annotations.proto"\xb9\x02\n\x11\x41lgorithmResponse\x12\x43\n\x05purls\x18\x01 \x03(\x0b\x32\x34.scanoss.api.cryptography.v2.AlgorithmResponse.Purls\x12\x35\n\x06status\x18\x02 \x01(\x0b\x32%.scanoss.api.common.v2.StatusResponse\x1a\x31\n\nAlgorithms\x12\x11\n\talgorithm\x18\x01 \x01(\t\x12\x10\n\x08strength\x18\x02 \x01(\t\x1au\n\x05Purls\x12\x0c\n\x04purl\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12M\n\nalgorithms\x18\x03 \x03(\x0b\x32\x39.scanoss.api.cryptography.v2.AlgorithmResponse.Algorithms2\x97\x02\n\x0c\x43ryptography\x12u\n\x04\x45\x63ho\x12".scanoss.api.common.v2.EchoRequest\x1a#.scanoss.api.common.v2.EchoResponse"$\x82\xd3\xe4\x93\x02\x1e"\x19/api/v2/cryptography/echo:\x01*\x12\x8f\x01\n\rGetAlgorithms\x12".scanoss.api.common.v2.PurlRequest\x1a..scanoss.api.cryptography.v2.AlgorithmResponse"*\x82\xd3\xe4\x93\x02$"\x1f/api/v2/cryptography/algorithms:\x01*B\x9e\x02Z9github.com/scanoss/papi/api/cryptographyv2;cryptographyv2\x92\x41\xdf\x01\x12y\n\x1cSCANOSS Cryptography Service"T\n\x14scanoss-cryptography\x12\'https://github.com/scanoss/crpytography\x1a\x13support@scanoss.com2\x03\x32.0*\x01\x01\x32\x10\x61pplication/json:\x10\x61pplication/jsonR;\n\x03\x34\x30\x34\x12\x34\n*Returned when the resource does not exist.\x12\x06\n\x04\x9a\x02\x01\x07\x62\x06proto3'
|
|
22
|
-
)
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6scanoss/api/cryptography/v2/scanoss-cryptography.proto\x12\x1bscanoss.api.cryptography.v2\x1a*scanoss/api/common/v2/scanoss-common.proto\x1a\x1cgoogle/api/annotations.proto\x1a,protoc-gen-swagger/options/annotations.proto\"0\n\tAlgorithm\x12\x11\n\talgorithm\x18\x01 \x01(\t\x12\x10\n\x08strength\x18\x02 \x01(\t\"\xf3\x01\n\x11\x41lgorithmResponse\x12\x43\n\x05purls\x18\x01 \x03(\x0b\x32\x34.scanoss.api.cryptography.v2.AlgorithmResponse.Purls\x12\x35\n\x06status\x18\x02 \x01(\x0b\x32%.scanoss.api.common.v2.StatusResponse\x1a\x62\n\x05Purls\x12\x0c\n\x04purl\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12:\n\nalgorithms\x18\x03 \x03(\x0b\x32&.scanoss.api.cryptography.v2.Algorithm\"\x82\x02\n\x19\x41lgorithmsInRangeResponse\x12J\n\x05purls\x18\x01 \x03(\x0b\x32;.scanoss.api.cryptography.v2.AlgorithmsInRangeResponse.Purl\x12\x35\n\x06status\x18\x02 \x01(\x0b\x32%.scanoss.api.common.v2.StatusResponse\x1a\x62\n\x04Purl\x12\x0c\n\x04purl\x18\x01 \x01(\t\x12\x10\n\x08versions\x18\x02 \x03(\t\x12:\n\nalgorithms\x18\x03 \x03(\x0b\x32&.scanoss.api.cryptography.v2.Algorithm\"\xe1\x01\n\x17VersionsInRangeResponse\x12H\n\x05purls\x18\x01 \x03(\x0b\x32\x39.scanoss.api.cryptography.v2.VersionsInRangeResponse.Purl\x12\x35\n\x06status\x18\x02 \x01(\x0b\x32%.scanoss.api.common.v2.StatusResponse\x1a\x45\n\x04Purl\x12\x0c\n\x04purl\x18\x01 \x01(\t\x12\x15\n\rversions_with\x18\x02 \x03(\t\x12\x18\n\x10versions_without\x18\x03 \x03(\t\"}\n\x04Hint\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x04 \x01(\t\x12\x10\n\x03url\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04purl\x18\x06 \x01(\tH\x01\x88\x01\x01\x42\x06\n\x04_urlB\x07\n\x05_purl\"\xe1\x01\n\rHintsResponse\x12?\n\x05purls\x18\x01 \x03(\x0b\x32\x30.scanoss.api.cryptography.v2.HintsResponse.Purls\x12\x35\n\x06status\x18\x02 \x01(\x0b\x32%.scanoss.api.common.v2.StatusResponse\x1aX\n\x05Purls\x12\x0c\n\x04purl\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x30\n\x05hints\x18\x03 \x03(\x0b\x32!.scanoss.api.cryptography.v2.Hint\"\xee\x01\n\x14HintsInRangeResponse\x12\x45\n\x05purls\x18\x01 \x03(\x0b\x32\x36.scanoss.api.cryptography.v2.HintsInRangeResponse.Purl\x12\x35\n\x06status\x18\x02 \x01(\x0b\x32%.scanoss.api.common.v2.StatusResponse\x1aX\n\x04Purl\x12\x0c\n\x04purl\x18\x01 \x01(\t\x12\x10\n\x08versions\x18\x02 \x03(\t\x12\x30\n\x05hints\x18\x03 \x03(\x0b\x32!.scanoss.api.cryptography.v2.Hint2\x88\x07\n\x0c\x43ryptography\x12u\n\x04\x45\x63ho\x12\".scanoss.api.common.v2.EchoRequest\x1a#.scanoss.api.common.v2.EchoResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/api/v2/cryptography/echo:\x01*\x12\x8f\x01\n\rGetAlgorithms\x12\".scanoss.api.common.v2.PurlRequest\x1a..scanoss.api.cryptography.v2.AlgorithmResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/api/v2/cryptography/algorithms:\x01*\x12\xa5\x01\n\x14GetAlgorithmsInRange\x12\".scanoss.api.common.v2.PurlRequest\x1a\x36.scanoss.api.cryptography.v2.AlgorithmsInRangeResponse\"1\x82\xd3\xe4\x93\x02+\"&/api/v2/cryptography/algorithmsInRange:\x01*\x12\x9f\x01\n\x12GetVersionsInRange\x12\".scanoss.api.common.v2.PurlRequest\x1a\x34.scanoss.api.cryptography.v2.VersionsInRangeResponse\"/\x82\xd3\xe4\x93\x02)\"$/api/v2/cryptography/versionsInRange:\x01*\x12\x96\x01\n\x0fGetHintsInRange\x12\".scanoss.api.common.v2.PurlRequest\x1a\x31.scanoss.api.cryptography.v2.HintsInRangeResponse\",\x82\xd3\xe4\x93\x02&\"!/api/v2/cryptography/hintsInRange:\x01*\x12\x8b\x01\n\x12GetEncryptionHints\x12\".scanoss.api.common.v2.PurlRequest\x1a*.scanoss.api.cryptography.v2.HintsResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/api/v2/cryptography/hints:\x01*B\x9e\x02Z9github.com/scanoss/papi/api/cryptographyv2;cryptographyv2\x92\x41\xdf\x01\x12y\n\x1cSCANOSS Cryptography Service\"T\n\x14scanoss-cryptography\x12\'https://github.com/scanoss/crpytography\x1a\x13support@scanoss.com2\x03\x32.0*\x01\x01\x32\x10\x61pplication/json:\x10\x61pplication/jsonR;\n\x03\x34\x30\x34\x12\x34\n*Returned when the resource does not exist.\x12\x06\n\x04\x9a\x02\x01\x07\x62\x06proto3')
|
|
23
20
|
|
|
24
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
25
22
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'scanoss.api.cryptography.v2.scanoss_cryptography_pb2', globals())
|
|
26
23
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
24
|
+
|
|
25
|
+
DESCRIPTOR._options = None
|
|
26
|
+
DESCRIPTOR._serialized_options = b'Z9github.com/scanoss/papi/api/cryptographyv2;cryptographyv2\222A\337\001\022y\n\034SCANOSS Cryptography Service\"T\n\024scanoss-cryptography\022\'https://github.com/scanoss/crpytography\032\023support@scanoss.com2\0032.0*\001\0012\020application/json:\020application/jsonR;\n\003404\0224\n*Returned when the resource does not exist.\022\006\n\004\232\002\001\007'
|
|
27
|
+
_CRYPTOGRAPHY.methods_by_name['Echo']._options = None
|
|
28
|
+
_CRYPTOGRAPHY.methods_by_name['Echo']._serialized_options = b'\202\323\344\223\002\036\"\031/api/v2/cryptography/echo:\001*'
|
|
29
|
+
_CRYPTOGRAPHY.methods_by_name['GetAlgorithms']._options = None
|
|
30
|
+
_CRYPTOGRAPHY.methods_by_name['GetAlgorithms']._serialized_options = b'\202\323\344\223\002$\"\037/api/v2/cryptography/algorithms:\001*'
|
|
31
|
+
_CRYPTOGRAPHY.methods_by_name['GetAlgorithmsInRange']._options = None
|
|
32
|
+
_CRYPTOGRAPHY.methods_by_name['GetAlgorithmsInRange']._serialized_options = b'\202\323\344\223\002+\"&/api/v2/cryptography/algorithmsInRange:\001*'
|
|
33
|
+
_CRYPTOGRAPHY.methods_by_name['GetVersionsInRange']._options = None
|
|
34
|
+
_CRYPTOGRAPHY.methods_by_name['GetVersionsInRange']._serialized_options = b'\202\323\344\223\002)\"$/api/v2/cryptography/versionsInRange:\001*'
|
|
35
|
+
_CRYPTOGRAPHY.methods_by_name['GetHintsInRange']._options = None
|
|
36
|
+
_CRYPTOGRAPHY.methods_by_name['GetHintsInRange']._serialized_options = b'\202\323\344\223\002&\"!/api/v2/cryptography/hintsInRange:\001*'
|
|
37
|
+
_CRYPTOGRAPHY.methods_by_name['GetEncryptionHints']._options = None
|
|
38
|
+
_CRYPTOGRAPHY.methods_by_name['GetEncryptionHints']._serialized_options = b'\202\323\344\223\002\037\"\032/api/v2/cryptography/hints:\001*'
|
|
39
|
+
_ALGORITHM._serialized_start=207
|
|
40
|
+
_ALGORITHM._serialized_end=255
|
|
41
|
+
_ALGORITHMRESPONSE._serialized_start=258
|
|
42
|
+
_ALGORITHMRESPONSE._serialized_end=501
|
|
43
|
+
_ALGORITHMRESPONSE_PURLS._serialized_start=403
|
|
44
|
+
_ALGORITHMRESPONSE_PURLS._serialized_end=501
|
|
45
|
+
_ALGORITHMSINRANGERESPONSE._serialized_start=504
|
|
46
|
+
_ALGORITHMSINRANGERESPONSE._serialized_end=762
|
|
47
|
+
_ALGORITHMSINRANGERESPONSE_PURL._serialized_start=664
|
|
48
|
+
_ALGORITHMSINRANGERESPONSE_PURL._serialized_end=762
|
|
49
|
+
_VERSIONSINRANGERESPONSE._serialized_start=765
|
|
50
|
+
_VERSIONSINRANGERESPONSE._serialized_end=990
|
|
51
|
+
_VERSIONSINRANGERESPONSE_PURL._serialized_start=921
|
|
52
|
+
_VERSIONSINRANGERESPONSE_PURL._serialized_end=990
|
|
53
|
+
_HINT._serialized_start=992
|
|
54
|
+
_HINT._serialized_end=1117
|
|
55
|
+
_HINTSRESPONSE._serialized_start=1120
|
|
56
|
+
_HINTSRESPONSE._serialized_end=1345
|
|
57
|
+
_HINTSRESPONSE_PURLS._serialized_start=1257
|
|
58
|
+
_HINTSRESPONSE_PURLS._serialized_end=1345
|
|
59
|
+
_HINTSINRANGERESPONSE._serialized_start=1348
|
|
60
|
+
_HINTSINRANGERESPONSE._serialized_end=1586
|
|
61
|
+
_HINTSINRANGERESPONSE_PURL._serialized_start=1498
|
|
62
|
+
_HINTSINRANGERESPONSE_PURL._serialized_end=1586
|
|
63
|
+
_CRYPTOGRAPHY._serialized_start=1589
|
|
64
|
+
_CRYPTOGRAPHY._serialized_end=2493
|
|
45
65
|
# @@protoc_insertion_point(module_scope)
|