page_rand (3) Linux Manual Page
page_rand – RAND – random number See the library functions here: RAND crypto functions
The Linux Manuals (man pages) document is an important part of Linux documents. Linux Manuals are organized as several sections. Each section has a group of commands for a specific area in Linux usage, administration or development.
page_rand – RAND – random number See the library functions here: RAND crypto functions
page_print – Hx509 printing functions See the library functions here: hx509 printing functions
page_peer – Hx509 crypto selecting functions Peer info structures are used togeter with hx509_crypto_select() to select the best avaible crypto algorithm to use. See the library functions here: hx509 certificate selecting functions
page_name – PKIX/X.509 Names There are several names in PKIX/X.509, GeneralName and Name. A Name consists of an ordered list of Relative Distinguished Names (RDN). Each RDN consists of an unordered list of typed strings. The types are defined by OID and have long and short description. For example id-at-commonName (2.5.4.3) have the long name…
page_lock – Locking and unlocking certificates and encrypted data. See the library functions here: hx509 lock functions
page_keyset – Certificate store operations Type of certificates store: • MEMORY In memory based format. Doesnt support storing. • FILE FILE supports raw DER certicates and PEM certicates. When PEM is used the file can contain may certificates and match private keys. Support storing the certificates. DER format only supports on certificate and no private…
page_evp – EVP – generic crypto interface See the library functions here: EVP generic crypto functions EVP Cipher The use of EVP_CipherInit_ex() and EVP_Cipher() is pretty easy to understand forward, then EVP_CipherUpdate() and EVP_CipherFinal_ex() really needs an example to explain example_evp_cipher.c .
page_error – Hx509 error reporting functions See the library functions here: hx509 error functions
page_env – Hx509 enviroment functions See the library functions here: hx509 enviroment functions
page_dh – DH – Diffie-Hellman key exchange Diffie-Hellman key exchange is a protocol that allows two parties to establish a shared secret key. Include and example how to use DH_new() and friends here. See the library functions here: Diffie-Hellman functions
page_des – DES – Data Encryption Standard crypto interface See the library functions here: DES crypto functions DES was created by IBM, modififed by NSA and then adopted by NBS (now NIST) and published ad FIPS PUB 46 (updated by FIPS 46-1). Since the 19th May 2005 DES was withdrawn by NIST and should no…
page_cms – CMS/PKCS7 message functions. CMS is defined in RFC 3369 and is an continuation of the RSA Labs standard PKCS7. The basic messages in CMS is • SignedData Data signed with private key (RSA, DSA, ECDSA) or secret (symmetric) key • EnvelopedData Data encrypted with private key (RSA) • EncryptedData Data encrypted with secret…
page_cert – The basic certificate The basic hx509 cerificate object in hx509 is hx509_cert. The hx509_cert object is representing one X509/PKIX certificate and associated attributes; like private key, friendly name, etc. A hx509_cert object is usully found via the keyset interfaces (Certificate store operations), but its also possible to create a certificate directly from a…
page_ca – Hx509 CA functions See the library functions here: hx509 CA functions
packfile_password – Sets the global I/O encryption password. Allegro game programming library. Synopsis #include <allegro.h> void packfile_password(const char *password); Description Sets the encryption password to be used for all read/write operations on files opened in future using Allegro’s packfile functions (whether they are compressed or not), including all the save, load and config routines. Files…
packet.utils – Pktt utilities module Description The Packet trace utilities module has classes which augment functionality of basic data types like displaying integers as their hex equivalent. It also includes an Enum base class which displays the integer as its string representation given by a mapping dictionary. There is also a class to be used…
packet.unpack – Unpack module Description Provides the object for managing and unpacking raw data from a working buffer. Classes class Unpack(__builtin__.object) Unpack object Usage: from packet.unpack import Unpack x = Unpack(buffer) # Get 32 bytes from the working buffer and move the offset pointer data = x.read(32) # Get all the unprocessed bytes from the…
packet.transport.udp – UDP module Description Decode UDP layer. Classes class UDP(baseobj.BaseObj) UDP object Usage: from packet.transport.udp import UDP x = UDP(pktt) Object definition: UDP( src_port = int, dst_port = int, length = int, checksum = int, data = string, # raw data of payload if unable to decode ) Methods defined here: ——————— __init__(self, pktt)…
packet.transport.tcp – TCP module Description Decode TCP layer. Classes class Flags(baseobj.BaseObj) Flags object Methods defined here: ——————— __init__(self, data) Constructor which takes a short integer as input class TCP(baseobj.BaseObj) TCP object Usage: from packet.transport.tcp import TCP x = TCP(pktt) Object definition: TCP( src_port = int, # Source port dst_port = int, # Destination port seq_number…
packet.record – Record module Description Provides the object for a record and the string representation of the record in a tcpdump trace file. Classes class Record(baseobj.BaseObj) Record object Usage: from packet.record import Record x = Record(pktt, data) Object definition: Record( index = int, # Frame number seconds = int, # Seconds usecs = int, #…