[#GENERAL_NAME_get0_otherName]
= GENERAL&lowbar;NAME&lowbar;get0&lowbar;otherName
:mrdocs:

Retrieve the OID and typed value from a GeneralName of type otherName&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
GENERAL&lowbar;NAME&lowbar;get0&lowbar;otherName(
    xref:GENERAL_NAME.adoc[GENERAL&lowbar;NAME] const* gen,
    xref:ASN1_OBJECT.adoc[ASN1&lowbar;OBJECT]** poid,
    xref:ASN1_TYPE.adoc[ASN1&lowbar;TYPE]** pvalue);
----

== Return Value

1 if `gen` is GEN&lowbar;OTHERNAME, or 0 otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *gen*
| GeneralName to query&period;
| *poid*
| Optional output for the otherName type OID (not duplicated)&period;
| *pvalue*
| Optional output for the otherName ASN1&lowbar;TYPE value (not duplicated)&period;
|===


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