Opaque

 

Opaque specifies octets of binary information. SMIv2 specifies a limit of 65535 octets while there is no limit in SMIv1. A size may be specified which can be fixed, varying, or of multiple ranges. A value of this type must be an encapsulation of ASN.1 BER encoded value.

 

The Opaque type is provided solely for backward-compatibility, and shall not be used for newly-defined object types. This type supports the capability to pass arbitrary ASN.1 syntax. A value is encoded using the ASN.1 Basic Encoding Rules [4] into a string of octets. This, in turn, is encoded as an OCTET STRING, in effect "double-wrapping" the original ASN.1 value.

 

Note that a conforming implementation need only be able to accept and recognize opaquely-encoded data. It need not be able to unwrap the data and then interpret its contents. A requirement on "standard" MIB modules is that no object may have a SYNTAX clause value of Opaque.

 

Hence this data type should not be used for newly-defined object types.

 

Note: In high-level API, these objects do not have separate classes because they are handled internally.



Copyright © 1996-2006, AdventNet Inc. All Rights Reserved.