*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: a2d_ASN1_OBJECT | Section: 3 | Source: OpenBSD | File: a2d_ASN1_OBJECT.3
A2D_ASN1_OBJECT(3) FreeBSD Library Functions Manual A2D_ASN1_OBJECT(3) NAME a2d_ASN1_OBJECT - DER content octets of an ASN.1 object identifier SYNOPSIS #include <openssl/asn1.h> int a2d_ASN1_OBJECT(unsigned char *der_out, int olen, const char *val_in, int ilen); DESCRIPTION a2d_ASN1_OBJECT() accepts an ASCII string val_in of ilen bytes and interprets it as the numerical form of an ASN.1 object identifier. It writes the content octets of the DER encoding of the object identifier to the buffer der_out which is olen bytes long. The identifier and length octets of the DER encoding are not written. If ilen is -1, the strlen(3) of val_in is used instead. If der_out is a NULL pointer, writing the content octets is skipped and only the return value is calculated. RETURN VALUES a2d_ASN1_OBJECT() returns the number of content octets that were or would be written or 0 if ilen is 0, if val_in is not a valid representation of an object identifier, if memory allocation fails, or if the number of content octets would be larger than olen. SEE ALSO ASN1_OBJECT_new(3), i2d_ASN1_OBJECT(3), OBJ_create(3) STANDARDS ITU-T Recommendation X.690, also known as ISO/IEC 8825-1: Information technology - ASN.1 encoding rules: Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER), section 8.19: Encoding of an object identifier value HISTORY a2d_ASN1_OBJECT() first appeared in SSLeay 0.8.0 and has been available since OpenBSD 2.4. FreeBSD 14.1-RELEASE-p8 August 9, 2023 FreeBSD 14.1-RELEASE-p8

Navigation Options