Set a GeneralName to type otherName, taking ownership of oid and value.
Declared in <openssl/x509v3.h>
int
GENERAL_NAME_set0_othername(
GENERAL_NAME* gen,
ASN1_OBJECT* oid,
ASN1_TYPE* value);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| gen | GeneralName to update. |
| oid | otherName type OID. |
| value | otherName value as an ASN1_TYPE. |