@@ -101,7 +101,8 @@ impl ConstContentFormat for Utf8ContentFormat {
101
101
ContentFormat :: Utf8
102
102
}
103
103
}
104
- /// Utf8Bytes is a type alias for Bytes with `Utf8ContentFormat`, which is used for any textual data.
104
+ /// Utf8Bytes is a type alias for Bytes with `Utf8ContentFormat`, which is used for any textual
105
+ /// data.
105
106
pub ( crate ) type Utf8Bytes = Bytes < Utf8ContentFormat > ;
106
107
107
108
/// Content format for raw bytes. Used for attachments and send seed keys.
@@ -113,8 +114,8 @@ impl ConstContentFormat for OctetStreamContentFormat {
113
114
ContentFormat :: OctetStream
114
115
}
115
116
}
116
- /// OctetStreamBytes is a type alias for Bytes with `OctetStreamContentFormat`. This should be used for e.g. attachments and other data without an
117
- /// explicit content format.
117
+ /// OctetStreamBytes is a type alias for Bytes with `OctetStreamContentFormat`. This should be used
118
+ /// for e.g. attachments and other data without an explicit content format.
118
119
pub type OctetStreamBytes = Bytes < OctetStreamContentFormat > ;
119
120
120
121
/// Content format for PKCS8 private keys in DER format.
@@ -126,7 +127,8 @@ impl ConstContentFormat for Pkcs8PrivateKeyDerContentFormat {
126
127
ContentFormat :: Pkcs8PrivateKey
127
128
}
128
129
}
129
- /// Pkcs8PrivateKeyBytes is a type alias for Bytes with `Pkcs8PrivateKeyDerContentFormat`. This is used for PKCS8 private keys in DER format.
130
+ /// Pkcs8PrivateKeyBytes is a type alias for Bytes with `Pkcs8PrivateKeyDerContentFormat`. This is
131
+ /// used for PKCS8 private keys in DER format.
130
132
pub type Pkcs8PrivateKeyBytes = Bytes < Pkcs8PrivateKeyDerContentFormat > ;
131
133
132
134
/// Content format for SPKI public keys in DER format.
@@ -138,7 +140,8 @@ impl ConstContentFormat for SpkiPublicKeyDerContentFormat {
138
140
ContentFormat :: SPKIPublicKeyDer
139
141
}
140
142
}
141
- /// SpkiPublicKeyBytes is a type alias for Bytes with `SpkiPublicKeyDerContentFormat`. This is used for SPKI public keys in DER format.
143
+ /// SpkiPublicKeyBytes is a type alias for Bytes with `SpkiPublicKeyDerContentFormat`. This is used
144
+ /// for SPKI public keys in DER format.
142
145
pub type SpkiPublicKeyBytes = Bytes < SpkiPublicKeyDerContentFormat > ;
143
146
144
147
/// Content format for COSE keys.
@@ -151,7 +154,8 @@ impl ConstContentFormat for CoseKeyContentFormat {
151
154
}
152
155
}
153
156
impl CoseContentFormat for CoseKeyContentFormat { }
154
- /// CoseKeyBytes is a type alias for Bytes with `CoseKeyContentFormat`. This is used for serialized CoseKey objects.
157
+ /// CoseKeyBytes is a type alias for Bytes with `CoseKeyContentFormat`. This is used for serialized
158
+ /// CoseKey objects.
155
159
pub type CoseKeyBytes = Bytes < CoseKeyContentFormat > ;
156
160
157
161
/// A legacy content format for Bitwarden keys. See `ContentFormat::BitwardenLegacyKey`
@@ -163,8 +167,9 @@ impl ConstContentFormat for BitwardenLegacyKeyContentFormat {
163
167
ContentFormat :: BitwardenLegacyKey
164
168
}
165
169
}
166
- /// BitwardenLegacyKeyBytes is a type alias for Bytes with `BitwardenLegacyKeyContentFormat`. This is used for the legacy format for symmetric keys.
167
- /// A description of the format is available in the `ContentFormat::BitwardenLegacyKey` documentation.
170
+ /// BitwardenLegacyKeyBytes is a type alias for Bytes with `BitwardenLegacyKeyContentFormat`. This
171
+ /// is used for the legacy format for symmetric keys. A description of the format is available in
172
+ /// the `ContentFormat::BitwardenLegacyKey` documentation.
168
173
pub type BitwardenLegacyKeyBytes = Bytes < BitwardenLegacyKeyContentFormat > ;
169
174
170
175
/// Content format for COSE Sign1 messages.
@@ -177,7 +182,8 @@ impl ConstContentFormat for CoseSign1ContentFormat {
177
182
}
178
183
}
179
184
impl CoseContentFormat for CoseSign1ContentFormat { }
180
- /// CoseSign1Bytes is a type alias for Bytes with `CoseSign1ContentFormat`. This is used for serialized COSE Sign1 messages.
185
+ /// CoseSign1Bytes is a type alias for Bytes with `CoseSign1ContentFormat`. This is used for
186
+ /// serialized COSE Sign1 messages.
181
187
pub type CoseSign1Bytes = Bytes < CoseSign1ContentFormat > ;
182
188
183
189
/// A marker trait for COSE content formats.
0 commit comments