License | BSD-style |
---|---|
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Stability | experimental |
Portability | unknown |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
Different String types available in ASN1
Synopsis
Documentation
data ASN1StringEncoding Source #
Define all possible ASN1 String encoding.
IA5 |
128 characters equivalent to the ASCII alphabet |
UTF8 |
UTF8 |
General |
all registered graphic and character sets (see ISO 2375) plus SPACE and DELETE. |
Graphic |
all registered G sets and SPACE |
Numeric |
encoding containing numeric [0-9] and space |
Printable |
printable [a-z] [A-Z] [()+,-.?:/=] and space. |
VideoTex |
CCITT's T.100 and T.101 character sets |
Visible |
International ASCII printing character sets |
T61 |
teletext |
UTF32 |
UTF32 |
Character |
Character |
BMP |
UCS2 |
Instances
Eq ASN1StringEncoding Source # | |
Defined in Data.ASN1.Types.String (==) :: ASN1StringEncoding -> ASN1StringEncoding -> Bool Source # (/=) :: ASN1StringEncoding -> ASN1StringEncoding -> Bool Source # |
|
Ord ASN1StringEncoding Source # | |
Defined in Data.ASN1.Types.String compare :: ASN1StringEncoding -> ASN1StringEncoding -> Ordering Source # (<) :: ASN1StringEncoding -> ASN1StringEncoding -> Bool Source # (<=) :: ASN1StringEncoding -> ASN1StringEncoding -> Bool Source # (>) :: ASN1StringEncoding -> ASN1StringEncoding -> Bool Source # (>=) :: ASN1StringEncoding -> ASN1StringEncoding -> Bool Source # max :: ASN1StringEncoding -> ASN1StringEncoding -> ASN1StringEncoding Source # min :: ASN1StringEncoding -> ASN1StringEncoding -> ASN1StringEncoding Source # |
|
Show ASN1StringEncoding Source # | |
Defined in Data.ASN1.Types.String |
data ASN1CharacterString Source #
ASN1 Character String with encoding
Instances
Eq ASN1CharacterString Source # | |
Defined in Data.ASN1.Types.String (==) :: ASN1CharacterString -> ASN1CharacterString -> Bool Source # (/=) :: ASN1CharacterString -> ASN1CharacterString -> Bool Source # |
|
Ord ASN1CharacterString Source # | |
Defined in Data.ASN1.Types.String compare :: ASN1CharacterString -> ASN1CharacterString -> Ordering Source # (<) :: ASN1CharacterString -> ASN1CharacterString -> Bool Source # (<=) :: ASN1CharacterString -> ASN1CharacterString -> Bool Source # (>) :: ASN1CharacterString -> ASN1CharacterString -> Bool Source # (>=) :: ASN1CharacterString -> ASN1CharacterString -> Bool Source # max :: ASN1CharacterString -> ASN1CharacterString -> ASN1CharacterString Source # min :: ASN1CharacterString -> ASN1CharacterString -> ASN1CharacterString Source # |
|
Show ASN1CharacterString Source # | |
Defined in Data.ASN1.Types.String |
|
IsString ASN1CharacterString Source # | |
Defined in Data.ASN1.Types.String |
asn1CharacterString :: ASN1StringEncoding -> String -> ASN1CharacterString Source #
encode a string into a character string
asn1CharacterToString :: ASN1CharacterString -> Maybe String Source #
try to decode an
ASN1CharacterString
to a String