Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly
d2i_ASN1_OBJECT(3) LibreSSL d2i_ASN1_OBJECT(3)

NAME

d2i_ASN1_OBJECT, i2d_ASN1_OBJECT - ASN1 OBJECT IDENTIFIER functions

SYNOPSIS


#include <openssl/objects.h>

ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, unsigned char **pp, long length);
int i2d_ASN1_OBJECT(ASN1_OBJECT *a, unsigned char **pp);

DESCRIPTION

These functions decode and encode an ASN1 OBJECT IDENTIFIER.
Othewise these behave in a similar way to d2i_X509() and i2d_X509() described in the d2i_X509(3) manual page.

SEE ALSO

d2i_X509(3)
2015-10-26 LibreSSL
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org