asn1-types-0.3.4: ASN.1 types

License | BSD-style
Maintainer | Vincent Hanquez <vincent@snarc.org>
Stability | experimental
Portability | unknown
Safe Haskell | Safe-Inferred
Language | Haskell98

Data.ASN1.OID

Contents

- classes

Description

Synopsis

- type OID = [Integer]
- class OIDable a where
  - getObjectID :: a -> OID
- class OIDNameable a where
  - fromObjectID :: OID -> Maybe a

# Documentation

type OID = [Integer] Source #

Standard ASN.1 Object ID (OID)

# classes

class OIDable a where Source #

Class of things that have an Object ID

Methods

getObjectID :: a -> OID Source #

return the object ID of an Object from the ObjectIdentifiable class.

class OIDNameable a where Source #

Class of things that can be named by Object ID

Methods

fromObjectID :: OID -> Maybe a Source #

Try to convert an OID into an Object