示例#1
0
 /// <summary>
 /// Create a DerOid with the given object identifier. The object identifier
 /// must begin with 0,1, or 2 and must contain at least 2 digits.
 /// </summary>
 ///
 /// <param name="oid">The OID to encode.</param>
 public DerOid(OID oid) : base(net.named_data.jndn.encoding.der.DerNodeType.ObjectIdentifier)
 {
     prepareEncoding(oid.getIntegerList());
 }