blob: 14a8422cc27461c9f2a6c8173e1b20894363b3af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
@subheading asn1_get_octet_der
@anchor{asn1_get_octet_der}
@deftypefun {int} {asn1_get_octet_der} (const unsigned char * @var{der}, int @var{der_len}, int * @var{ret_len}, unsigned char * @var{str}, int @var{str_size}, int * @var{str_len})
@var{der}: DER data to decode containing the OCTET SEQUENCE.
@var{der_len}: Length of DER data to decode.
@var{ret_len}: Output variable containing the length of the DER data.
@var{str}: Pre-allocated output buffer to put decoded OCTET SEQUENCE in.
@var{str_size}: Length of pre-allocated output buffer.
@var{str_len}: Output variable containing the length of the OCTET SEQUENCE.
Extract an OCTET SEQUENCE from DER data.
@strong{Returns:} Returns @code{ASN1_SUCCESS} on success, or an error.
@end deftypefun
|