Safe Haskell | None |
---|---|
Language | Haskell2010 |
Language.Asn.Types
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 Methods 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 Methods 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.
Constructors
ObjectIdentifier | |
Fields |
Instances
newtype ObjectIdentifierSuffix Source #
Constructors
ObjectIdentifierSuffix | |
Fields |
Instances
Constructors
Universal | |
Application | |
Private | |
ContextSpecific |
data Explicitness Source #