Sha256: 10cfbfb3e1c321a92c217e41489a7ed10cc8dc80cd7e39d3d3a8b6b960b7ed7c
Contents?: true
Size: 1.88 KB
Versions: 5
Compression:
Stored size: 1.88 KB
Contents
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "asn1_der_decoding_element" 3 "1.5" "libtasn1" "libtasn1" .SH NAME asn1_der_decoding_element \- Fill the element named ELEMENTNAME of the structure STRUCTURE with values of a DER encoding string. .SH SYNOPSIS .B #include <libtasn1.h> .sp .BI "asn1_retCode asn1_der_decoding_element(ASN1_TYPE * " structure ", const char * " elementName ", const void * " ider ", int " len ", char * " errorDescription ");" .SH ARGUMENTS .IP "ASN1_TYPE * structure" 12 pointer to an ASN1 structure .IP "const char * elementName" 12 name of the element to fill .IP "const void * ider" 12 vector that contains the DER encoding of the whole structure. .IP "int len" 12 number of bytes of *der: der[0]..der[len-1] .IP "char * errorDescription" 12 null-terminated string contains details when an error occurred. .SH "DESCRIPTION" Fill the element named ELEMENTNAME with values of a DER encoding string. The sructure must just be created with function 'create_stucture'. The DER vector must contain the encoding string of the whole STRUCTURE. If an error occurs during the decoding procedure, the *STRUCTURE is deleted and set equal to \fBASN1_TYPE_EMPTY\fP. .SH "RETURNS" .SH "ASN1_SUCCESS" DER encoding OK. .SH "ASN1_ELEMENT_NOT_FOUND" ELEMENT is ASN1_TYPE_EMPTY or elementName == NULL. ASN1_TAG_ERROR,ASN1_DER_ERROR: The der encoding doesn't match the structure STRUCTURE. *ELEMENT deleted. .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