 | Crypto-3.0.3: DES, Blowfish, AES, SHA1, MD5, RSA, X.509 Identity
and Attribute Certificates, General ASN.1 Support, Base64, PKCS8,
PKCS1v15, Hexdump, Support for Word128, Word192 and Word256 and Beyond, PKCS5
Padding, Various Encryption Modes e.g. Cipher Block Chaining all in one package. | Contents | Index |
|
Codec.ASN1 | Portability | portable | Stability | experimental | Maintainer | dominic.steinitz@blueyonder.co.uk |
|
|
|
|
|
Description |
Typecheck and decode an abstract BER representations (as, for
example, produced by Codec.ASN1.TLV).
|
|
Synopsis |
|
|
|
|
Types
|
|
data TagType |
Constructors | Universal | | Application | | Context | | Private | |
| Instances | |
|
|
type TagValue = Integer |
|
data TagPlicity |
Constructors | | Instances | |
|
|
data AbsPrimType |
Constructors | AbsVisibleString | | AbsPrintableString | | AbsIA5String | | AbsBool | | AbsInteger | | AbsOID | | AbsNull | | AbsOctetString | | AbsBitString | |
| Instances | |
|
|
data AbstractType |
Constructors | | Instances | |
|
|
data TypeDefn |
Constructors | | Instances | |
|
|
data TaggedType |
Constructors | | Instances | |
|
|
data NamedType |
Constructors | | Instances | |
|
|
data ComponentType |
Constructors | | Instances | |
|
|
Haskell Equivalences of Base ASN.1 Types
|
|
data VisibleString |
Constructors | | Instances | |
|
|
data PrintableString |
Constructors | | Instances | |
|
|
data IA5String |
Constructors | | Instances | |
|
|
data DirectoryString |
Constructors | | Instances | |
|
|
newtype OID |
Constructors | | Instances | |
|
|
data NULL |
Instances | |
|
|
data OctetString |
Constructors | | Instances | |
|
|
data BitString |
Constructors | | Instances | |
|
|
data SetOf a |
Constructors | | Instances | |
|
|
Modifiers and Accessor Functions
|
|
modName :: String -> TypeDefn -> TypeDefn |
Create a new type definition from an existing one.
|
|
getAbsType :: TypeDefn -> AbstractType |
|
modTagType :: Tagged a => TagType -> a -> a |
|
modTagVal :: Tagged a => Maybe TagValue -> a -> a |
|
absRefedType :: AbstractType -> AbstractType |
Get the component of a referenced type.
|
|
absSeqComponents :: AbstractType -> [AbstractType] |
Get the components of a SEQUENCE.
|
|
absSeqOfType :: AbstractType -> AbstractType |
Get the component of the SEQUENCE OF.
|
|
absSetOfType :: AbstractType -> AbstractType |
Get the component of the SET OF.
|
|
namedTypeAbstract :: NamedType -> AbstractType |
|
unVisibleString :: VisibleString -> String |
|
unDirectoryString :: DirectoryString -> String |
|
unSetOf :: SetOf a -> [a] |
|
Base ASN.1 Type Definitions
|
|
absVisibleString :: TypeDefn |
|
absPrintableString :: TypeDefn |
|
absIA5String :: TypeDefn |
|
absInteger :: TypeDefn |
|
absOID :: TypeDefn |
|
absNull :: TypeDefn |
|
absOctetString :: TypeDefn |
|
absBitString :: TypeDefn |
|
Auxilliary ASN.1 Type Definitions
|
|
commonName :: TypeDefn |
|
organizationUnitName :: TypeDefn |
|
emailAddress :: TypeDefn |
|
domainComponent :: TypeDefn |
|
Association Table of Types and OIDs
|
|
oids :: Map OID TypeDefn |
|
Produced by Haddock version 0.8 |