summaryrefslogtreecommitdiffstats
path: root/vendor/der/src/asn1.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:47:55 +0000
commit2aadc03ef15cb5ca5cc2af8a7c08e070742f0ac4 (patch)
tree033cc839730fda84ff08db877037977be94e5e3a /vendor/der/src/asn1.rs
parentInitial commit. (diff)
downloadcargo-upstream.tar.xz
cargo-upstream.zip
Adding upstream version 0.70.1+ds1.upstream/0.70.1+ds1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/der/src/asn1.rs')
-rw-r--r--vendor/der/src/asn1.rs67
1 files changed, 67 insertions, 0 deletions
diff --git a/vendor/der/src/asn1.rs b/vendor/der/src/asn1.rs
new file mode 100644
index 0000000..b04b1b5
--- /dev/null
+++ b/vendor/der/src/asn1.rs
@@ -0,0 +1,67 @@
+//! Module containing all of the various ASN.1 built-in types supported by
+//! this library.
+
+#[macro_use]
+mod internal_macros;
+
+mod any;
+mod bit_string;
+#[cfg(feature = "alloc")]
+mod bmp_string;
+mod boolean;
+mod choice;
+mod context_specific;
+mod generalized_time;
+mod ia5_string;
+mod integer;
+mod null;
+mod octet_string;
+#[cfg(feature = "oid")]
+mod oid;
+mod optional;
+mod printable_string;
+#[cfg(feature = "real")]
+mod real;
+mod sequence;
+mod sequence_of;
+mod set_of;
+mod teletex_string;
+mod utc_time;
+mod utf8_string;
+mod videotex_string;
+
+pub use self::{
+ any::AnyRef,
+ bit_string::{BitStringIter, BitStringRef},
+ choice::Choice,
+ context_specific::{ContextSpecific, ContextSpecificRef},
+ generalized_time::GeneralizedTime,
+ ia5_string::Ia5StringRef,
+ integer::{int::IntRef, uint::UintRef},
+ null::Null,
+ octet_string::OctetStringRef,
+ printable_string::PrintableStringRef,
+ sequence::{Sequence, SequenceRef},
+ sequence_of::{SequenceOf, SequenceOfIter},
+ set_of::{SetOf, SetOfIter},
+ teletex_string::TeletexStringRef,
+ utc_time::UtcTime,
+ utf8_string::Utf8StringRef,
+ videotex_string::VideotexStringRef,
+};
+
+#[cfg(feature = "alloc")]
+pub use self::{
+ any::Any,
+ bit_string::BitString,
+ bmp_string::BmpString,
+ ia5_string::Ia5String,
+ integer::{int::Int, uint::Uint},
+ octet_string::OctetString,
+ printable_string::PrintableString,
+ set_of::SetOfVec,
+ teletex_string::TeletexString,
+};
+
+#[cfg(feature = "oid")]
+pub use const_oid::ObjectIdentifier;