Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data AsnEncoding a Source #
EncSequence [Field a] | |
EncSequenceOf (a -> [b]) (AsnEncoding b) | |
EncChoice (Choice a) | |
EncRetag TagAndExplicitness (AsnEncoding a) | |
EncUniversalValue (UniversalValue a) |
data UniversalValue a Source #
Subtypes | |
|
newtype ObjectIdentifier Source #
newtype ObjectIdentifierSuffix Source #
data StringType Source #
data ValueAndEncoding Source #
FieldRequired FieldName (a -> b) (AsnEncoding b) | |
FieldOptional FieldName (a -> Maybe b) (AsnEncoding b) | |
FieldDefaulted FieldName (a -> b) b (b -> String) (b -> b -> Bool) (AsnEncoding b) |
data AsnDecoding a Source #
AsnDecodingUniversal (UniverseDecoding a) | |
AsnDecodingSequenceOf ([b] -> a) (AsnDecoding b) | |
AsnDecodingConversion (AsnDecoding b) (b -> Either String a) | |
AsnDecodingRetag TagAndExplicitness (AsnDecoding a) | |
AsnDecodingSequence (FieldDecoding a) | |
AsnDecodingChoice [OptionDecoding a] |
data OptionDecoding a Source #
newtype FieldDecoding a Source #
data FieldDecodingPart a Source #
FieldDecodingRequired FieldName (AsnDecoding a) | |
FieldDecodingDefault FieldName (AsnDecoding a) a (a -> String) | |
FieldDecodingOptional FieldName (AsnDecoding b) (Maybe b -> a) |
data UniverseDecoding a Source #
newtype DecodePart a Source #
DecodePart | |
|
runAp :: Applicative g => (forall x. f x -> g x) -> Ap f a -> g a Source #
constructionBit :: Construction -> Word8 Source #
tagClassBit :: TagClass -> Word8 Source #
sequenceTag :: Tag Source #
tagNumStringType :: StringType -> Int Source #