Kannel: Open Source WAP and SMS gateway  $Revision: 5037 $
wtls_pdusupport.h File Reference

Go to the source code of this file.

Functions

int pack_int16 (Octstr *data, long charpos, int i)
 
int pack_int32 (Octstr *data, long charpos, long i)
 
int pack_octstr (Octstr *data, long charpos, Octstr *opaque)
 
int pack_octstr16 (Octstr *data, long charpos, Octstr *opaque)
 
int pack_octstr_fixed (Octstr *data, long charpos, Octstr *opaque)
 
int pack_random (Octstr *data, long charpos, Random *random)
 
int pack_dhparams (Octstr *data, long charpos, DHParameters *dhparams)
 
int pack_ecparams (Octstr *data, long charpos, ECParameters *ecparams)
 
int pack_param_spec (Octstr *data, long charpos, ParameterSpecifier *pspec)
 
int pack_public_key (Octstr *data, long charpos, PublicKey *key, PublicKeyType key_type)
 
int pack_rsa_pubkey (Octstr *data, long charpos, RSAPublicKey *key)
 
int pack_dh_pubkey (Octstr *data, long charpos, DHPublicKey *key)
 
int pack_ec_pubkey (Octstr *data, long charpos, ECPublicKey *key)
 
int pack_rsa_secret (Octstr *data, long charpos, RSASecret *secret)
 
int pack_rsa_encrypted_secret (Octstr *data, long charpos, RSAEncryptedSecret *secret)
 
int pack_key_exchange_id (Octstr *data, long charpos, KeyExchangeId *keyexid)
 
int pack_array (Octstr *data, long charpos, List *array)
 
int pack_key_list (Octstr *data, long charpos, List *key_list)
 
int pack_ciphersuite_list (Octstr *data, long charpos, List *ciphersuites)
 
int pack_compression_method_list (Octstr *data, long charpos, List *compmethod_list)
 
int pack_identifier (Octstr *data, long charpos, Identifier *ident)
 
int pack_signature (Octstr *data, long charpos, Signature *sig)
 
int pack_wtls_certificate (Octstr *data, long charpos, WTLSCertificate *cert)
 
int unpack_int16 (Octstr *data, long *charpos)
 
long unpack_int32 (Octstr *data, long *charpos)
 
Octstrunpack_octstr (Octstr *data, long *charpos)
 
Octstrunpack_octstr16 (Octstr *data, long *charpos)
 
Octstrunpack_octstr_fixed (Octstr *data, long *charpos, long length)
 
Randomunpack_random (Octstr *data, long *charpos)
 
DHParametersunpack_dhparams (Octstr *data, long *charpos)
 
ECParametersunpack_ecparams (Octstr *data, long *charpos)
 
ParameterSpecifierunpack_param_spec (Octstr *data, long *charpos)
 
PublicKeyunpack_public_key (Octstr *data, long *charpos, PublicKeyType key_type)
 
RSAPublicKeyunpack_rsa_pubkey (Octstr *data, long *charpos)
 
DHPublicKeyunpack_dh_pubkey (Octstr *data, long *charpos)
 
ECPublicKeyunpack_ec_pubkey (Octstr *data, long *charpos)
 
RSASecretunpack_rsa_secret (Octstr *data, long *charpos)
 
RSAEncryptedSecretunpack_rsa_encrypted_secret (Octstr *data, long *charpos)
 
KeyExchangeIdunpack_key_exchange_id (Octstr *data, long *charpos)
 
Listunpack_array (Octstr *data, long *charpos)
 
Listunpack_ciphersuite_list (Octstr *data, long *charpos)
 
Listunpack_key_list (Octstr *data, long *charpos)
 
Listunpack_compression_method_list (Octstr *data, long *charpos)
 
Identifierunpack_identifier (Octstr *data, long *charpos)
 
Signatureunpack_signature (Octstr *data, long *charpos)
 
WTLSCertificateunpack_wtls_certificate (Octstr *data, long *charpos)
 
void dump_int16 (char *dbg, int level, int i)
 
void dump_int32 (char *dbg, int level, long i)
 
void dump_octstr (char *dbg, int level, Octstr *opaque)
 
void dump_octstr16 (char *dbg, int level, Octstr *opaque)
 
void dump_octstr_fixed (char *dbg, int level, Octstr *opaque)
 
void dump_random (char *dbg, int level, Random *random)
 
void dump_dhparams (char *dbg, int level, DHParameters *dhparams)
 
void dump_ecparams (char *dbg, int level, ECParameters *ecparams)
 
void dump_param_spec (char *dbg, int level, ParameterSpecifier *pspec)
 
void dump_public_key (char *dbg, int level, PublicKey *key, PublicKeyType key_type)
 
void dump_rsa_pubkey (char *dbg, int level, RSAPublicKey *key)
 
void dump_dh_pubkey (char *dbg, int level, DHPublicKey *key)
 
void dump_ec_pubkey (char *dbg, int level, ECPublicKey *key)
 
void dump_rsa_secret (char *dbg, int level, RSASecret *secret)
 
void dump_rsa_encrypted_secret (char *dbg, int level, RSAEncryptedSecret *secret)
 
void dump_key_exchange_id (char *dbg, int level, KeyExchangeId *keyexid)
 
void dump_array (char *dbg, int level, List *array)
 
void dump_key_list (char *dbg, int level, List *key_list)
 
void dump_ciphersuite_list (char *dbg, int level, List *ciphersuites)
 
void dump_compression_method_list (char *dbg, int level, List *compmethod_list)
 
void dump_identifier (char *dbg, int level, Identifier *ident)
 
void dump_signature (char *dbg, int level, Signature *sig)
 
void dump_wtls_certificate (char *dbg, int level, WTLSCertificate *cert)
 
void destroy_rsa_pubkey (RSAPublicKey *key)
 
void destroy_array (List *array)
 
void destroy_identifier (Identifier *ident)
 
void destroy_random (Random *random)
 
void destroy_key_list (List *key_list)
 
void destroy_ciphersuite_list (List *ciphersuites)
 
void destroy_compression_method_list (List *compmethod_list)
 
void destroy_wtls_certificate (WTLSCertificate *cert)
 
void destroy_param_spec (ParameterSpecifier *pspec)
 
void destroy_dh_pubkey (DHPublicKey *key)
 
void destroy_ec_pubkey (ECPublicKey *key)
 
void destroy_rsa_encrypted_secret (RSAEncryptedSecret *secret)
 

Function Documentation

void destroy_array ( List array)
void destroy_ciphersuite_list ( List ciphersuites)
void destroy_compression_method_list ( List compmethod_list)
void destroy_dh_pubkey ( DHPublicKey key)
void destroy_ec_pubkey ( ECPublicKey key)
void destroy_identifier ( Identifier ident)
void destroy_key_list ( List key_list)
void destroy_param_spec ( ParameterSpecifier pspec)
void destroy_random ( Random random)
void destroy_rsa_encrypted_secret ( RSAEncryptedSecret secret)
void destroy_rsa_pubkey ( RSAPublicKey key)
void destroy_wtls_certificate ( WTLSCertificate cert)
void dump_array ( char *  dbg,
int  level,
List array 
)
void dump_ciphersuite_list ( char *  dbg,
int  level,
List ciphersuites 
)
void dump_compression_method_list ( char *  dbg,
int  level,
List compmethod_list 
)
void dump_dh_pubkey ( char *  dbg,
int  level,
DHPublicKey key 
)
void dump_dhparams ( char *  dbg,
int  level,
DHParameters dhparams 
)
void dump_ec_pubkey ( char *  dbg,
int  level,
ECPublicKey key 
)
void dump_ecparams ( char *  dbg,
int  level,
ECParameters ecparams 
)
void dump_identifier ( char *  dbg,
int  level,
Identifier ident 
)
void dump_int16 ( char *  dbg,
int  level,
int  i 
)
void dump_int32 ( char *  dbg,
int  level,
long  i 
)
void dump_key_exchange_id ( char *  dbg,
int  level,
KeyExchangeId keyexid 
)
void dump_key_list ( char *  dbg,
int  level,
List key_list 
)
void dump_octstr ( char *  dbg,
int  level,
Octstr opaque 
)
void dump_octstr16 ( char *  dbg,
int  level,
Octstr opaque 
)
void dump_octstr_fixed ( char *  dbg,
int  level,
Octstr opaque 
)
void dump_param_spec ( char *  dbg,
int  level,
ParameterSpecifier pspec 
)
void dump_public_key ( char *  dbg,
int  level,
PublicKey key,
PublicKeyType  key_type 
)
void dump_random ( char *  dbg,
int  level,
Random random 
)
void dump_rsa_encrypted_secret ( char *  dbg,
int  level,
RSAEncryptedSecret secret 
)
void dump_rsa_pubkey ( char *  dbg,
int  level,
RSAPublicKey key 
)
void dump_rsa_secret ( char *  dbg,
int  level,
RSASecret secret 
)
void dump_signature ( char *  dbg,
int  level,
Signature sig 
)
void dump_wtls_certificate ( char *  dbg,
int  level,
WTLSCertificate cert 
)
int pack_array ( Octstr data,
long  charpos,
List array 
)
int pack_ciphersuite_list ( Octstr data,
long  charpos,
List ciphersuites 
)
int pack_compression_method_list ( Octstr data,
long  charpos,
List compmethod_list 
)
int pack_dh_pubkey ( Octstr data,
long  charpos,
DHPublicKey key 
)
int pack_dhparams ( Octstr data,
long  charpos,
DHParameters dhparams 
)
int pack_ec_pubkey ( Octstr data,
long  charpos,
ECPublicKey key 
)
int pack_ecparams ( Octstr data,
long  charpos,
ECParameters ecparams 
)
int pack_identifier ( Octstr data,
long  charpos,
Identifier ident 
)
int pack_int16 ( Octstr data,
long  charpos,
int  i 
)
int pack_int32 ( Octstr data,
long  charpos,
long  i 
)
int pack_key_exchange_id ( Octstr data,
long  charpos,
KeyExchangeId keyexid 
)
int pack_key_list ( Octstr data,
long  charpos,
List key_list 
)
int pack_octstr ( Octstr data,
long  charpos,
Octstr opaque 
)
int pack_octstr16 ( Octstr data,
long  charpos,
Octstr opaque 
)
int pack_octstr_fixed ( Octstr data,
long  charpos,
Octstr opaque 
)
int pack_param_spec ( Octstr data,
long  charpos,
ParameterSpecifier pspec 
)
int pack_public_key ( Octstr data,
long  charpos,
PublicKey key,
PublicKeyType  key_type 
)
int pack_random ( Octstr data,
long  charpos,
Random random 
)
int pack_rsa_encrypted_secret ( Octstr data,
long  charpos,
RSAEncryptedSecret secret 
)
int pack_rsa_pubkey ( Octstr data,
long  charpos,
RSAPublicKey key 
)
int pack_rsa_secret ( Octstr data,
long  charpos,
RSASecret secret 
)
int pack_signature ( Octstr data,
long  charpos,
Signature sig 
)
int pack_wtls_certificate ( Octstr data,
long  charpos,
WTLSCertificate cert 
)
List* unpack_array ( Octstr data,
long *  charpos 
)
List* unpack_ciphersuite_list ( Octstr data,
long *  charpos 
)
List* unpack_compression_method_list ( Octstr data,
long *  charpos 
)
DHPublicKey* unpack_dh_pubkey ( Octstr data,
long *  charpos 
)
DHParameters* unpack_dhparams ( Octstr data,
long *  charpos 
)
ECPublicKey* unpack_ec_pubkey ( Octstr data,
long *  charpos 
)
ECParameters* unpack_ecparams ( Octstr data,
long *  charpos 
)
Identifier* unpack_identifier ( Octstr data,
long *  charpos 
)
int unpack_int16 ( Octstr data,
long *  charpos 
)
long unpack_int32 ( Octstr data,
long *  charpos 
)
KeyExchangeId* unpack_key_exchange_id ( Octstr data,
long *  charpos 
)
List* unpack_key_list ( Octstr data,
long *  charpos 
)
Octstr* unpack_octstr ( Octstr data,
long *  charpos 
)
Octstr* unpack_octstr16 ( Octstr data,
long *  charpos 
)
Octstr* unpack_octstr_fixed ( Octstr data,
long *  charpos,
long  length 
)
ParameterSpecifier* unpack_param_spec ( Octstr data,
long *  charpos 
)
PublicKey* unpack_public_key ( Octstr data,
long *  charpos,
PublicKeyType  key_type 
)
Random* unpack_random ( Octstr data,
long *  charpos 
)
RSAEncryptedSecret* unpack_rsa_encrypted_secret ( Octstr data,
long *  charpos 
)
RSAPublicKey* unpack_rsa_pubkey ( Octstr data,
long *  charpos 
)
RSASecret* unpack_rsa_secret ( Octstr data,
long *  charpos 
)
Signature* unpack_signature ( Octstr data,
long *  charpos 
)
WTLSCertificate* unpack_wtls_certificate ( Octstr data,
long *  charpos 
)
See file LICENSE for details about the license agreement for using, modifying, copying or deriving work from this software.