Parse a textual OID (dot notation or name) into an ASN1_OBJECT.
Synopsis
Declared in <openssl/objects.h>
ASN1_OBJECT*
OBJ_txt2obj(
char const* s,
int no_name);
Return Value
Newly allocated ASN1_OBJECT, or NULL on error; free with ASN1_OBJECT_free().
Parameters
Name |
Description |
s |
OID text such as "1.2.840.113549.1.1.1" or "sha256WithRSAEncryption". |
no_name |
When non‐zero, only numeric OID forms are accepted (names are rejected). |
Created with MrDocs