asn1_encode_simple_der - Online Linux Manual Page

Section : 3
Updated : 4.18.0
Source : libtasn1
Note : libtasn1

NAMEasn1_encode_simple_der − API function

SYNOPSIS#include <libtasn1.h> int asn1_encode_simple_der(unsigned int etype, const unsigned char * str, unsigned int str_len, unsigned char * tl, unsigned int * tl_len);

ARGUMENTSunsigned int etype The type of the string to be encoded (ASN1_ETYPE_) const unsigned char * str the string data. unsigned int str_len the string length unsigned char * tl the encoded tag and length unsigned int * tl_len the bytes of the tl field

DESCRIPTIONCreates the DER encoding for various simple ASN.1 types like strings etc. It stores the tag and length in tl , which should have space for at least ASN1_MAX_TL_SIZE bytes. Initially tl_len should contain the size of tl . The complete DER encoding should consist of the value in tl appended with the provided str .

RETURNSASN1_SUCCESS if successful or an error value.

COPYRIGHTCopyright © 2006-2021 Free Software Foundation, Inc..
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

SEE ALSOThe full documentation for libtasn1 is maintained as a Texinfo manual. If the info and libtasn1 programs are properly installed at your site, the command info libtasn1 should give you access to the complete manual. As an alternative you may obtain the manual from: https://www.gnu.org/software/libtasn1/manual/
0
Johanes Gumabo
Data Size   :   6,012 byte
man-asn1_encode_simple_der.3Build   :   2025-03-22, 13:26   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   19 / 2,337,662
Visitor ID   :     :  
Visitor IP   :   216.73.216.115   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   20   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36


Very long time ago, I have the best tutor, Wenzel Svojanovsky. If someone knows the email address of Wenzel Svojanovsky, please send an email to johanesgumabo@gmail.com.
Help me, linux0001.com will expire on July 16, 2025. I have no money to renew it. View detail

If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.