Class rfc1155_OctetString

Description

rfc1155 Octet String

An ASN.1 Octet String type

Located in /rfc1155.php (line 543)

rfc1155_Asn1Object
   |
   --rfc1155_OctetString
Direct descendents
Class Description
 class rfc1155_IPAddress rfc1155 IPAddress
 class rfc1155_Opaque rfc1155 Opaque
 class rfc1902_OctetString Octet String
 class rfc3411_EngineID SNMP V3 Engine ID
Method Summary
 rfc1155_OctetString rfc1155_OctetString ([strin $value = ''])
 string encodeContents ()
 boolean is_printable ()
 string toHex ()
 string toString ()
Variables
Methods
Constructor rfc1155_OctetString (line 550)

Constructor

rfc1155_OctetString rfc1155_OctetString ([strin $value = ''])
  • strin $value
decodeContents (line 628)

Decode Contents

Decode octet stream

rfc1155_OctetString decodeContents (string $stream)
  • string $stream

Redefined in descendants as:
encodeContents (line 614)

Encode Contents

encode into an octet stream

string encodeContents ()

Redefinition of:
rfc1155_Asn1Object::encodeContents()
Encode Contents

Redefined in descendants as:
is_printable (line 564)

Is Printable?

Decides if its value is printable

boolean is_printable ()
toHex (line 586)

to Hex

Converts its value to a hex string

string toHex ()
toString (line 599)

toString

string toString ()

Redefined in descendants as:

Inherited Methods

Inherited From rfc1155_Asn1Object

 rfc1155_Asn1Object::rfc1155_Asn1Object()
 rfc1155_Asn1Object::decode()
 rfc1155_Asn1Object::decodeLength()
 rfc1155_Asn1Object::decodeTag()
 rfc1155_Asn1Object::encode()
 rfc1155_Asn1Object::encodeContents()
 rfc1155_Asn1Object::encodeEndOfContents()
 rfc1155_Asn1Object::encodeIdentifier()
 rfc1155_Asn1Object::encodeLength()

Documentation generated on Mon, 14 Nov 2005 17:55:10 -0700 by phpDocumentor 1.3.0RC3