GENERAL_NAME_set0_othername

Set a GeneralName to type otherName, taking ownership of oid and value.

Synopsis

Declared in <openssl/x509v3.h>

int
GENERAL_NAME_set0_othername(
    GENERAL_NAME* gen,
    ASN1_OBJECT* oid,
    ASN1_TYPE* value);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
genGeneralName to update.
oidotherName type OID.
valueotherName value as an ASN1_TYPE.