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
Name |
Description |
gen |
GeneralName to update. |
oid |
otherName type OID. |
value |
otherName value as an ASN1_TYPE. |
Created with MrDocs