OidToASN1

The OidToASN1 method converts the specified OID to its corresponding ASN.1 value.

Method Synopsis

OidToASN1($oid)

Parameters

$oid
Specifies the object identifier (OID) to be converted to its corresponding ASN.1 (Abstract Syntax Notation One) value.

Description

The OidToASN1 method converts the specified OID ($oid) to its corresponding ASN.1 value.

Example Usage

$asn1 = $snmp->OidToASN1('ifDescr');

Returns

Upon completion, the OidToASN1 method returns an ASN.1 value that corresponds to the specified OID ($oid).

See Also