We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
parse_der_visiblestring
VisibleString
1 parent ea99cdc commit df9ef62Copy full SHA for df9ef62
1 file changed
src/der/parser.rs
@@ -221,10 +221,16 @@ pub fn parse_der_numericstring(i: &[u8]) -> DerResult {
221
/// Read a printable string value. The content is verified to
222
/// contain only the allowed characters.
223
#[inline]
224
-pub fn visiblestring(i: &[u8]) -> DerResult {
+pub fn parse_der_visiblestring(i: &[u8]) -> DerResult {
225
parse_der_with_tag(i, Tag::VisibleString)
226
}
227
228
+#[deprecated(since = "8.2.0", note = "Use `parse_der_visiblestring` instead")]
229
+#[inline]
230
+pub fn visiblestring(i: &[u8]) -> DerResult {
231
+ parse_der_visiblestring(i)
232
+}
233
+
234
235
236
0 commit comments