Common Lisp Package: ASN.1

README:

FUNCTION

Public

BER-ENCODE-LENGTH (LENGTH)

Encode BER Length Domain

BER-ENCODE-TYPE (CLASS P/C TAGS)

Encode BER Type Domain

IPADDRESS (ADDRESS)

translate to ASN.1 ipaddress from any form

OID-< (OID-1 OID-2)

test if oid-1 is oid-2's child

OID-FIND-LEAF (OID)

Find the leaf node in a oid's all parents

STRING (X)

Coerces X into a string. If X is a string, X is returned. If X is a symbol, X's pname is returned. If X is a character then a one element string containing that character is returned. If X cannot be coerced into a string, an error occurs.

Undocumented

BER-DECODE<-STRING (DATA)

BER-ENCODE->STRING (DATA)

BER-ENCODE-LIST (LIST)

COUNTER (V)

COUNTER32 (V)

COUNTER64 (V)

DELETE-OBJECT (OID)

GAUGE (V)

GET-ASN.1-TYPE (CLASS P/C TAGS)

INSTALL-ASN.1-TYPE (TYPE CLASS P/C TAGS)

OID->= (OID-1 OID-2)

OID-LEAF-P (OID)

OID-LENGTH (OID)

OID-NAME-LIST (OID)

OID-NEXT (OID)

OID-NUMBER-LIST (OID)

OID-PARENT-P (OID)

OID-SCALAR-VARIABLE-P (OID)

OID-TRUNK-P (OID)

OID-WALK (OID OPER)

OPAQUE (VALUE)

RAW (DATA)

TIMETICKS (TIME)

UNINSTALL-ASN.1-TYPE (CLASS P/C TAGS)

Private

BER-DECODE-LENGTH (STREAM)

Decode BER Length Domain

BER-DECODE-TYPE (STREAM)

Decode BER Type Domain

Undocumented

BER-DECODE-INTEGER-VALUE (STREAM LENGTH)

BER-ENCODE-INTEGER (VALUE)

BER-TEST (X)

HTABLE-KEYS (HTABLE)

LIST-CHILDREN (OID)

MAKE-OID-READTABLE

OID-MODULE-P (OID)

OID-NEXT-IN (OID)

OID-NEXT-OUT (OID)

OID-SYMBOL-VALUE (SYMBOL)

RAW-P (DATA)

MACRO

Public

Undocumented

DEFOID (NAME (PARENT VALUE) &BODY OPTIONS)

DEFUNKNOWN (TYPE)

GENERIC-FUNCTION

Public

BER-DECODE (DATA)

BER decode data into a ASN.1 object

BER-ENCODE (DATA)

BER encode a ASN.1 object into VECTOR (not LIST)

BER-EQUAL (A B)

BER equal predication function

OID (OBJECT)

Convert * to OBJECT-ID

PLAIN-VALUE (OBJECT)

Plain value: map a ASN.1 object into plain lisp values

Undocumented

BER-DECODE-VALUE (STREAM TYPE LENGTH)

Private

Undocumented

BER-UNENCODABLE-LENGTH-LENGTH (CONDITION)

ENCODE-OPAQUE (O)

OID-PARSE (SOURCE)

OPAQUE-LENGTH (INSTANCE)

UNKNOWN-OBJECT-ID-SYMBOL (CONDITION)

SLOT-ACCESSOR

Public

Undocumented

OID-NAME (OBJECT)

OID-PARENT (OBJECT)

OID-VALUE (OBJECT)

VALUE-OF (OBJECT)

SETFVALUE-OF (NEW-VALUE OBJECT)

Private

Undocumented

BER-LENGTH (OBJECT)

SETFBER-LENGTH (NEW-VALUE OBJECT)

BER-POSITION (OBJECT)

SETFBER-POSITION (NEW-VALUE OBJECT)

BER-SEQUENCE (OBJECT)

DATA-OF (OBJECT)

SETFDATA-OF (NEW-VALUE OBJECT)

OID-CHILDREN (OBJECT)

SETFOID-CHILDREN (NEW-VALUE OBJECT)

OID-DESCRIPTION (OBJECT)

OID-MAX-ACCESS (OBJECT)

OID-MODULE (OBJECT)

OID-STATUS (OBJECT)

OID-SYNTAX (OBJECT)

OID-TYPE (OBJECT)

VARIABLE

Private

Undocumented

*BER-DISPATCH-TABLE*

*MAJOR-VERSION*

*MIB-MODULE-DEPENDENCY*

*MIB-MODULES*

*MINOR-VERSION*

*OID-READTABLE*

*ROOT-OBJECT-ID*

iso

zero

CLASS

Public

ASN.1-TYPE

Base ASN.1 Type

BER-STREAM

A helper Gray Stream which used for make a sequence into STREAM

GENERAL-TYPE

General Container Type, used by counter, gauge and opaque, etc.

OBJECT-ID

OBJECT IDENTIFIER

TIMETICKS (TIME)

Timeticks: per second/100

Undocumented

COUNTER (V)

COUNTER32 (V)

COUNTER64 (V)

GAUGE (V)

INTEGER

IPADDRESS (ADDRESS)

OPAQUE (VALUE)

RAW (DATA)

STRING (X)

CONDITION

Private

Undocumented

ASN-ERROR

ASN-IMPLEMENTATION-RESTRICTION

BER-DECODE-ERROR

BER-ENCODE-ERROR

BER-IMPLEMENTATION-RESTRICTION

BER-INDEFINITE-LENGTH-NOT-SUPPORTED

BER-MESSAGE-ENDED-PREMATURELY

BER-UNENCODABLE-LENGTH

UNKNOWN-OBJECT-ID

CONSTANT

Private

Undocumented

+ASN-APPLICATION+

+ASN-BIT-STR+

+ASN-BOOLEAN+

+ASN-CONSTRUCTOR+

+ASN-CONTEXT+

+ASN-INTEGER+

+ASN-NULL+

+ASN-OBJECT-ID+

+ASN-OCTET-STR+

+ASN-PRIMITIVE+

+ASN-PRIVATE+

+ASN-SEQUENCE+

+ASN-SET+

+ASN-UNIVERSAL+