Skip to content
Commit 3e6e38b7 authored by Eric Chiang's avatar Eric Chiang
Browse files

add OBJ_get0_data()

This allows encoding of an OBJECT IDENTIFIER, which uses complex base
128 encoding rules.

https://luca.ntop.org/Teaching/Appunti/asn1.html

Same as_slice() API as ASN1_STRING_get0_data().

Test data generated with the following Go program:
https://play.golang.org/p/vA1PBcx1R4v
parent d2362afb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment