sc_asn1_encode man page on SuSE

Man page or keyword search:  
man Server   14857 pages
apropos Keyword Search (all sections)
Output format
SuSE logo
[printable version]

SC_ASN1_ENCODE(3)	     OpenSC API reference	     SC_ASN1_ENCODE(3)

NAME
       sc_asn1_encode - Encode ASN.1 entries into a stream

SYNOPSIS
	   #include <opensc.h>

	   int sc_asn1_encode(struct sc_context *ctx, const struct sc_asn1_entry *asn1,
			      unsigned char **newbuf, size_t *size);

DESCRIPTION
       This function encodes an array of entries pointed to by asn1 and
       terminated by a NULL entry (i.e. where the name field of the entry is
       NULL) into a newly allocated buffer.

       The new buffer containing the ASN.1 stream will be stored in newbuf,
       and the size of this buffer is stored in size. The application must
       free this buffer after use.

RETURN VALUE
       Returns 0 if successful, or a negative value in case of error.

opensc				  08/27/2008		     SC_ASN1_ENCODE(3)
[top]

List of man pages available for SuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net