Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data AsnEncoding a
- data AsnDecoding a
- newtype ObjectIdentifier = ObjectIdentifier {}
- newtype ObjectIdentifierSuffix = ObjectIdentifierSuffix {}
- data TagClass
- data Explicitness
Documentation
data AsnEncoding a Source #
Instances
Contravariant AsnEncoding Source # | |
Defined in Language.Asn.Types.Internal contramap :: (a -> b) -> AsnEncoding b -> AsnEncoding a # (>$) :: b -> AsnEncoding b -> AsnEncoding a # |
data AsnDecoding a Source #
Instances
Functor AsnDecoding Source # | |
Defined in Language.Asn.Types.Internal fmap :: (a -> b) -> AsnDecoding a -> AsnDecoding b # (<$) :: a -> AsnDecoding b -> AsnDecoding a # |
newtype ObjectIdentifier Source #
Note: we deviate slightly from the actual definition of an object identifier. Technically, each number of an OID should be allowed to be an integer of unlimited size. However, we are intentionally unfaithful to this specification because in practice, there are no OIDs that use integers above a 32-bit word, so we just use the machine's native word size.
Instances
newtype ObjectIdentifierSuffix Source #