mbedtls_x509_san_other_name Struct Reference

From RFC 5280 section 4.2.1.6: OtherName ::= SEQUENCE { type-id OBJECT IDENTIFIER, value [0] EXPLICIT ANY DEFINED BY type-id }.

#include <x509_crt.h>

Data Fields

mbedtls_x509_buf type_id
The type_id is an OID as defined in RFC 5280.
union {
struct {
mbedtls_x509_buf oid
The object identifier.
mbedtls_x509_buf val
The named value.
} hardware_module_name
From RFC 4108 section 5: HardwareModuleName ::= SEQUENCE { hwType OBJECT IDENTIFIER, hwSerialNum OCTET STRING }.
} value

From RFC 5280 section 4.2.1.6: OtherName ::= SEQUENCE { type-id OBJECT IDENTIFIER, value [0] EXPLICIT ANY DEFINED BY type-id }.

Future versions of the library may add new fields to this structure or to its embedded union and structure.

Field Documentation

type_id

mbedtls_x509_buf mbedtls_x509_san_other_name::type_id

The type_id is an OID as defined in RFC 5280.

To check the value of the type id, you should use MBEDTLS_OID_CMP with a known OID mbedtls_x509_buf. The type id.

oid

mbedtls_x509_buf mbedtls_x509_san_other_name::oid

The object identifier.

val

mbedtls_x509_buf mbedtls_x509_san_other_name::val

The named value.

hardware_module_name

struct { ... } mbedtls_x509_san_other_name::hardware_module_name

From RFC 4108 section 5: HardwareModuleName ::= SEQUENCE { hwType OBJECT IDENTIFIER, hwSerialNum OCTET STRING }.