Parse the ASN.1 identifier and length octets at *pp.
Declared in <openssl/asn1.h>
int
ASN1_get_object(
unsigned char const** pp,
long* plength,
int* ptag,
int* pclass,
long omax);
Bitmask including 0x80 on error, 0x01 if constructed, 0x20 if indefinite length.
| Name | Description |
|---|---|
| pp | Address of the input cursor; advanced past the header on success. |
| plength | Receives the content length in bytes (or -1 for indefinite length). |
| ptag | Receives the tag number. |
| pclass | Receives the class (V_ASN1_UNIVERSAL, CONTEXT_SPECIFIC, …). |
| omax | Maximum number of bytes available from *pp. |