[#GENERAL_NAME_set0_othername]
= GENERAL&lowbar;NAME&lowbar;set0&lowbar;othername
:mrdocs:

Set a GeneralName to type otherName, taking ownership of `oid` and `value&period;`

== Synopsis

Declared in `&lt;openssl&sol;x509v3&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
GENERAL&lowbar;NAME&lowbar;set0&lowbar;othername(
    xref:GENERAL_NAME.adoc[GENERAL&lowbar;NAME]* gen,
    xref:ASN1_OBJECT.adoc[ASN1&lowbar;OBJECT]* oid,
    xref:ASN1_TYPE.adoc[ASN1&lowbar;TYPE]* value);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *gen*
| GeneralName to update&period;
| *oid*
| otherName type OID&period;
| *value*
| otherName value as an ASN1&lowbar;TYPE&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
