Sha256: e869d9dfdfb21bae24bed559a2b52851a51204111804ee80d9af00ea5d97c6eb
Contents?: true
Size: 1.96 KB
Versions: 5
Compression:
Stored size: 1.96 KB
Contents
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "asn1_der_decoding_startEnd" 3 "1.5" "libtasn1" "libtasn1" .SH NAME asn1_der_decoding_startEnd \- Find the start and end point of an element in a DER encoding string. .SH SYNOPSIS .B #include <libtasn1.h> .sp .BI "asn1_retCode asn1_der_decoding_startEnd(ASN1_TYPE " element ", const void * " ider ", int " len ", const char * " name_element ", int * " start ", int * " end ");" .SH ARGUMENTS .IP "ASN1_TYPE element" 12 pointer to an ASN1 element .IP "const void * ider" 12 vector that contains the DER encoding. .IP "int len" 12 number of bytes of *\fIider\fP: \fIider\fP[0]..\fIider\fP[len-1] .IP "const char * name_element" 12 an element of NAME structure. .IP "int * start" 12 the position of the first byte of NAME_ELEMENT decoding (\fIider\fP[*start]) .IP "int * end" 12 the position of the last byte of NAME_ELEMENT decoding (\fIider\fP[*end]) .SH "DESCRIPTION" Find the start and end point of an element in a DER encoding string. I mean that if you have a der encoding and you have already used the function "asn1_der_decoding" to fill a structure, it may happen that you want to find the piece of string concerning an element of the structure. .SH "EXAMPLE" the sequence "tbsCertificate" inside an X509 certificate. .SH "RETURNS" .SH "ASN1_SUCCESS" DER encoding OK. .SH "ASN1_ELEMENT_NOT_FOUND" ELEMENT is ASN1_TYPE EMPTY or NAME_ELEMENT is not a valid element. ASN1_TAG_ERROR,ASN1_DER_ERROR: the der encoding doesn't match the structure ELEMENT. .SH COPYRIGHT Copyright \(co 2006, 2007, 2008 Free Software Foundation, Inc.. .br Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. .SH "SEE ALSO" The full documentation for .B libtasn1 is maintained as a Texinfo manual. If the .B info and .B libtasn1 programs are properly installed at your site, the command .IP .B info libtasn1 .PP should give you access to the complete manual.
Version data entries
5 entries across 5 versions & 1 rubygems