Retrieve the OID and typed value from a GeneralName of type otherName.

Synopsis

Declared in <openssl/x509v3.h>

int
GENERAL_NAME_get0_otherName(
    GENERAL_NAME const* gen,
    ASN1_OBJECT** poid,
    ASN1_TYPE** pvalue);

Return Value

1 if gen is GEN_OTHERNAME, or 0 otherwise.

Parameters

Name

Description

gen

GeneralName to query.

poid

Optional output for the otherName type OID (not duplicated).

pvalue

Optional output for the otherName ASN1_TYPE value (not duplicated).

Created with MrDocs