// Returns true if this OID is same the specified OID func (v *Oid) Equal(o *Oid) bool { if o == nil { return false } return asn1.ObjectIdentifier(v.Value).Equal(asn1.ObjectIdentifier(o.Value)) }
func ToOidString(sub []int) string { return asn1.ObjectIdentifier(sub).String() }
func (v *Oid) Marshal() ([]byte, error) { return asn1.Marshal(asn1.ObjectIdentifier(v.Value)) }