Sha256: d32e88c0f0a3ac29cbba8ed054e5a43aee35144ca6677b2284b54a3e4a779541
Contents?: true
Size: 1.63 KB
Versions: 5
Compression:
Stored size: 1.63 KB
Contents
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "asn1_der_decoding" 3 "1.5" "libtasn1" "libtasn1" .SH NAME asn1_der_decoding \- Fill the structure *ELEMENT with values of a DER encoding string. .SH SYNOPSIS .B #include <libtasn1.h> .sp .BI "asn1_retCode asn1_der_decoding(ASN1_TYPE * " element ", const void * " ider ", int " len ", char * " errorDescription ");" .SH ARGUMENTS .IP "ASN1_TYPE * element" 12 pointer to an ASN1 structure. .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 "char * errorDescription" 12 null-terminated string contains details when an error occurred. .SH "DESCRIPTION" Fill the structure *ELEMENT with values of a DER encoding string. The sructure must just be created with function 'create_stucture'. If an error occurs during the decoding procedure, the *ELEMENT 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. ASN1_TAG_ERROR,ASN1_DER_ERROR: The der encoding doesn't match the structure NAME. *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