1
1
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
2
2
pub struct Algorithm {
3
3
#[ prost( oneof="algorithm::Variant" , tags="1, 2, 3, 4, 5, 6, 7, 8, 9" ) ]
4
- pub variant : :: std :: option:: Option < algorithm:: Variant > ,
4
+ pub variant : :: core :: option:: Option < algorithm:: Variant > ,
5
5
}
6
+ /// Nested message and enum types in `Algorithm`.
6
7
pub mod algorithm {
7
8
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
8
9
pub struct None {
9
10
}
10
11
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
11
12
pub struct Mac {
12
13
#[ prost( oneof="mac::Variant" , tags="1, 2" ) ]
13
- pub variant : :: std :: option:: Option < mac:: Variant > ,
14
+ pub variant : :: core :: option:: Option < mac:: Variant > ,
14
15
}
16
+ /// Nested message and enum types in `Mac`.
15
17
pub mod mac {
16
18
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
17
19
pub struct FullLength {
18
20
#[ prost( oneof="full_length::Variant" , tags="1, 2, 3" ) ]
19
- pub variant : :: std :: option:: Option < full_length:: Variant > ,
21
+ pub variant : :: core :: option:: Option < full_length:: Variant > ,
20
22
}
23
+ /// Nested message and enum types in `FullLength`.
21
24
pub mod full_length {
22
25
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
23
26
pub struct Hmac {
@@ -43,7 +46,7 @@ pub mod algorithm {
43
46
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
44
47
pub struct Truncated {
45
48
#[ prost( message, optional, tag="1" ) ]
46
- pub mac_alg : :: std :: option:: Option < FullLength > ,
49
+ pub mac_alg : :: core :: option:: Option < FullLength > ,
47
50
#[ prost( uint32, tag="2" ) ]
48
51
pub mac_length : u32 ,
49
52
}
@@ -58,8 +61,9 @@ pub mod algorithm {
58
61
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
59
62
pub struct Aead {
60
63
#[ prost( oneof="aead::Variant" , tags="1, 2" ) ]
61
- pub variant : :: std :: option:: Option < aead:: Variant > ,
64
+ pub variant : :: core :: option:: Option < aead:: Variant > ,
62
65
}
66
+ /// Nested message and enum types in `Aead`.
63
67
pub mod aead {
64
68
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
65
69
pub struct AeadWithShortenedTag {
@@ -88,14 +92,16 @@ pub mod algorithm {
88
92
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
89
93
pub struct AsymmetricSignature {
90
94
#[ prost( oneof="asymmetric_signature::Variant" , tags="1, 2, 3, 4, 5, 6" ) ]
91
- pub variant : :: std :: option:: Option < asymmetric_signature:: Variant > ,
95
+ pub variant : :: core :: option:: Option < asymmetric_signature:: Variant > ,
92
96
}
97
+ /// Nested message and enum types in `AsymmetricSignature`.
93
98
pub mod asymmetric_signature {
94
99
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
95
100
pub struct SignHash {
96
101
#[ prost( oneof="sign_hash::Variant" , tags="1, 2" ) ]
97
- pub variant : :: std :: option:: Option < sign_hash:: Variant > ,
102
+ pub variant : :: core :: option:: Option < sign_hash:: Variant > ,
98
103
}
104
+ /// Nested message and enum types in `SignHash`.
99
105
pub mod sign_hash {
100
106
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
101
107
pub struct Any {
@@ -111,28 +117,28 @@ pub mod algorithm {
111
117
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
112
118
pub struct RsaPkcs1v15Sign {
113
119
#[ prost( message, optional, tag="1" ) ]
114
- pub hash_alg : :: std :: option:: Option < SignHash > ,
120
+ pub hash_alg : :: core :: option:: Option < SignHash > ,
115
121
}
116
122
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
117
123
pub struct RsaPkcs1v15SignRaw {
118
124
}
119
125
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
120
126
pub struct RsaPss {
121
127
#[ prost( message, optional, tag="1" ) ]
122
- pub hash_alg : :: std :: option:: Option < SignHash > ,
128
+ pub hash_alg : :: core :: option:: Option < SignHash > ,
123
129
}
124
130
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
125
131
pub struct Ecdsa {
126
132
#[ prost( message, optional, tag="1" ) ]
127
- pub hash_alg : :: std :: option:: Option < SignHash > ,
133
+ pub hash_alg : :: core :: option:: Option < SignHash > ,
128
134
}
129
135
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
130
136
pub struct EcdsaAny {
131
137
}
132
138
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
133
139
pub struct DeterministicEcdsa {
134
140
#[ prost( message, optional, tag="1" ) ]
135
- pub hash_alg : :: std :: option:: Option < SignHash > ,
141
+ pub hash_alg : :: core :: option:: Option < SignHash > ,
136
142
}
137
143
#[ derive( Clone , PartialEq , :: prost:: Oneof ) ]
138
144
pub enum Variant {
@@ -153,8 +159,9 @@ pub mod algorithm {
153
159
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
154
160
pub struct AsymmetricEncryption {
155
161
#[ prost( oneof="asymmetric_encryption::Variant" , tags="1, 2" ) ]
156
- pub variant : :: std :: option:: Option < asymmetric_encryption:: Variant > ,
162
+ pub variant : :: core :: option:: Option < asymmetric_encryption:: Variant > ,
157
163
}
164
+ /// Nested message and enum types in `AsymmetricEncryption`.
158
165
pub mod asymmetric_encryption {
159
166
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
160
167
pub struct RsaPkcs1v15Crypt {
@@ -175,15 +182,16 @@ pub mod algorithm {
175
182
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
176
183
pub struct KeyAgreement {
177
184
#[ prost( oneof="key_agreement::Variant" , tags="1, 2" ) ]
178
- pub variant : :: std :: option:: Option < key_agreement:: Variant > ,
185
+ pub variant : :: core :: option:: Option < key_agreement:: Variant > ,
179
186
}
187
+ /// Nested message and enum types in `KeyAgreement`.
180
188
pub mod key_agreement {
181
189
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
182
190
pub struct WithKeyDerivation {
183
191
#[ prost( enumeration="Raw" , tag="1" ) ]
184
192
pub ka_alg : i32 ,
185
193
#[ prost( message, optional, tag="2" ) ]
186
- pub kdf_alg : :: std :: option:: Option < super :: KeyDerivation > ,
194
+ pub kdf_alg : :: core :: option:: Option < super :: KeyDerivation > ,
187
195
}
188
196
#[ derive( Clone , Copy , Debug , PartialEq , Eq , Hash , PartialOrd , Ord , :: prost:: Enumeration ) ]
189
197
#[ repr( i32 ) ]
@@ -204,8 +212,9 @@ pub mod algorithm {
204
212
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
205
213
pub struct KeyDerivation {
206
214
#[ prost( oneof="key_derivation::Variant" , tags="1, 2, 3" ) ]
207
- pub variant : :: std :: option:: Option < key_derivation:: Variant > ,
215
+ pub variant : :: core :: option:: Option < key_derivation:: Variant > ,
208
216
}
217
+ /// Nested message and enum types in `KeyDerivation`.
209
218
pub mod key_derivation {
210
219
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
211
220
pub struct Hkdf {
0 commit comments