Protocol++® (Protocolpp®)  v5.6.2
ProtocolPP::jprotocolpp Class Reference

Public Member Functions

 jprotocolpp (jprotocolpp &rhs)=delete
 
 jprotocolpp (const jprotocolpp &rhs)=delete
 

Static Public Member Functions

static std::shared_ptr< jmacsecget_macsec (std::shared_ptr< jrand > &rand, std::shared_ptr< jmacsecsa > &security, std::string replay=std::string("NORMAL"))
 
static std::shared_ptr< jipsecget_ipsec (std::shared_ptr< jrand > &rand, std::shared_ptr< jipsecsa > &security, std::string replay=std::string("NORMAL"))
 
static std::shared_ptr< jtlsget_tls (std::shared_ptr< jrand > &rand, std::shared_ptr< jtlsa > &security, std::string replay=std::string("NORMAL"))
 
static std::shared_ptr< jtlsget_tls (std::shared_ptr< jrand > &rand, std::shared_ptr< jtlsa > &security, std::string file, std::string replay)
 
static std::shared_ptr< jtls13get_tls13 (std::shared_ptr< jrand > &rand, std::shared_ptr< jtlsa13 > &security)
 
static std::shared_ptr< jtls13get_tls13 (std::shared_ptr< jrand > &rand, std::shared_ptr< jtlsa13 > &security, std::string file)
 
static std::shared_ptr< jdtls13get_dtls13 (std::shared_ptr< jrand > &rand, std::shared_ptr< jdtlsa13 > &security, std::string replay=std::string("NORMAL"))
 
static std::shared_ptr< jdtls13get_dtls13 (std::shared_ptr< jrand > &rand, std::shared_ptr< jdtlsa13 > &security, std::string file, std::string replay)
 
static std::shared_ptr< jsrtpget_srtp (std::shared_ptr< jrand > &rand, std::shared_ptr< jsrtpsa > &security, std::string replay=std::string("NORMAL"))
 
static std::shared_ptr< jwifiget_wifi (std::shared_ptr< jrand > &rand, std::shared_ptr< jwifisa > &security, std::string replay=std::string("NORMAL"))
 
static std::shared_ptr< jwimaxget_wimax (std::shared_ptr< jrand > &rand, std::shared_ptr< jwimaxsa > &security, std::string replay=std::string("NORMAL"))
 
static std::shared_ptr< jtcpget_tcp (jtcp::tcpstate_t state, std::shared_ptr< jtcpsa > &security)
 
static std::shared_ptr< jtcpget_tcp (jtcp::tcpstate_t state, std::shared_ptr< jtcpsa > &security, std::string file)
 
static std::shared_ptr< judpget_udp (std::shared_ptr< judpsa > &security)
 
static std::shared_ptr< judpget_udp (std::shared_ptr< judpsa > &security, std::string file)
 
static std::shared_ptr< jicmpget_icmp (std::shared_ptr< jicmpsa > &security)
 
static std::shared_ptr< jipget_ip (std::shared_ptr< jipsa > &security)
 
static std::shared_ptr< jipget_ip (std::shared_ptr< jipsa > &security, std::string file)
 
static std::shared_ptr< jlteget_lte (std::shared_ptr< jrand > &rand, std::shared_ptr< jltesa > &security, std::string replay=std::string("NORMAL"))
 
static std::shared_ptr< jintegrityget_integrity (std::shared_ptr< jintegritysa > &security)
 
static std::shared_ptr< jconfidentget_confident (std::shared_ptr< jconfidentsa > &security)
 
static std::shared_ptr< jdsaget_dsa (std::shared_ptr< jdsasa > &security)
 
static std::shared_ptr< jrsaget_rsa (std::shared_ptr< jrsasa > &security)
 
static std::shared_ptr< jecdsafpget_ecdsafp (std::shared_ptr< jecdsafpsa > &security)
 
static std::shared_ptr< jecdsaf2mget_ecdsaf2m (std::shared_ptr< jecdsaf2msa > &security)
 
static std::shared_ptr< jecdsaedget_ecdsaed (std::shared_ptr< jecdsaedsa > &security)
 
static std::shared_ptr< jmemblobget_blob (std::shared_ptr< jrand > &rand, std::shared_ptr< jmemblobsa > &security)
 
static std::shared_ptr< jgreget_gre (std::shared_ptr< jgresa > &security)
 
static std::shared_ptr< jxmssget_xmss (std::shared_ptr< jrand > &rand, std::shared_ptr< jxmssa > &security)
 
static std::shared_ptr< jlmsget_lms (std::shared_ptr< jrand > &rand, std::shared_ptr< jlmsa > &security)
 
static std::shared_ptr< jkyberget_kyber (std::shared_ptr< jrand > &rand, std::shared_ptr< jkybersa > &security)
 
static std::shared_ptr< jdilithiumget_dilithium (std::shared_ptr< jrand > &rand, std::shared_ptr< jdilithiumsa > &security)
 
static std::shared_ptr< jfalconget_falcon (std::shared_ptr< jrand > &rand, std::shared_ptr< jfalconsa > &security)
 
static std::string version ()
 return the version as a string (v5.5.1)
 
static std::string banner ()
 
static std::string usage ()
 

Member Function Documentation

◆ banner()

static std::string ProtocolPP::jprotocolpp::banner ( )
static
Returns
Returns the banner

◆ get_blob()

static std::shared_ptr<jmemblob> ProtocolPP::jprotocolpp::get_blob ( std::shared_ptr< jrand > &  rand,
std::shared_ptr< jmemblobsa > &  security 
)
static

Factory method to create an instance of the BLOB protocol

Parameters
rand- Random data generator for IVs, padding, anti-replay
security- parameters necessary to setup a BLOB flow

◆ get_confident()

static std::shared_ptr<jconfident> ProtocolPP::jprotocolpp::get_confident ( std::shared_ptr< jconfidentsa > &  security)
static

Factory method to create an instance of the CONFIDENT protocol

Parameters
security- parameters necessary to setup a CONFIDENT flow

◆ get_dilithium()

static std::shared_ptr<jdilithium> ProtocolPP::jprotocolpp::get_dilithium ( std::shared_ptr< jrand > &  rand,
std::shared_ptr< jdilithiumsa > &  security 
)
static

Factory method to create an instance of the DILITHIUM protocol

Parameters
rand- Random data generator for IVs, padding, anti-replay
security- parameters necessary to setup a DILITHIUM flow

◆ get_dsa()

static std::shared_ptr<jdsa> ProtocolPP::jprotocolpp::get_dsa ( std::shared_ptr< jdsasa > &  security)
static

Factory method to create an instance of the DSA protocol

Parameters
security- parameters necessary to setup a DSA flow

◆ get_dtls13() [1/2]

static std::shared_ptr<jdtls13> ProtocolPP::jprotocolpp::get_dtls13 ( std::shared_ptr< jrand > &  rand,
std::shared_ptr< jdtlsa13 > &  security,
std::string  file,
std::string  replay 
)
static

Factory method to create an instance of the DTLS v1.3 protocol

Parameters
rand- Random data generator for IVs, padding, anti-replay
security- security association for this flow
file- filename for input/output data
replay- Types of packets to create

◆ get_dtls13() [2/2]

static std::shared_ptr<jdtls13> ProtocolPP::jprotocolpp::get_dtls13 ( std::shared_ptr< jrand > &  rand,
std::shared_ptr< jdtlsa13 > &  security,
std::string  replay = std::string("NORMAL") 
)
static

Factory method to create an instance of the DTLS v1.3 protocol

Parameters
rand- Random data generator for IVs, padding, anti-replay
security- security association for this flow
replay- Types of packets to create

◆ get_ecdsaed()

static std::shared_ptr<jecdsaed> ProtocolPP::jprotocolpp::get_ecdsaed ( std::shared_ptr< jecdsaedsa > &  security)
static

Factory method to create an instance of the ECDSA Ed protocol

Parameters
security- parameters necessary to setup a ECDSAEd flow

◆ get_ecdsaf2m()

static std::shared_ptr<jecdsaf2m> ProtocolPP::jprotocolpp::get_ecdsaf2m ( std::shared_ptr< jecdsaf2msa > &  security)
static

Factory method to create an instance of the ECDSA F2M protocol

Parameters
security- parameters necessary to setup a ECDSA flow

◆ get_ecdsafp()

static std::shared_ptr<jecdsafp> ProtocolPP::jprotocolpp::get_ecdsafp ( std::shared_ptr< jecdsafpsa > &  security)
static

Factory method to create an instance of the ECDSA Fp protocol

Parameters
security- parameters necessary to setup a ECDSA flow

◆ get_falcon()

static std::shared_ptr<jfalcon> ProtocolPP::jprotocolpp::get_falcon ( std::shared_ptr< jrand > &  rand,
std::shared_ptr< jfalconsa > &  security 
)
static

Factory method to create an instance of the FALCON protocol

Parameters
rand- Random data generator for IVs, padding, anti-replay
security- parameters necessary to setup a FALCON flow

◆ get_gre()

static std::shared_ptr<jgre> ProtocolPP::jprotocolpp::get_gre ( std::shared_ptr< jgresa > &  security)
static

Factory method to create an instance of the GRE protocol

Parameters
security- parameters necessary to setup a GRE flow

◆ get_icmp()

static std::shared_ptr<jicmp> ProtocolPP::jprotocolpp::get_icmp ( std::shared_ptr< jicmpsa > &  security)
static

Factory method to create an instance of the ICMP protocol

Parameters
security- parameters necessary to setup an ICMP flow

◆ get_integrity()

static std::shared_ptr<jintegrity> ProtocolPP::jprotocolpp::get_integrity ( std::shared_ptr< jintegritysa > &  security)
static

Factory method to create an instance of the INTEGRITY protocol

Parameters
security- parameters necessary to setup a INTEGRITY flow

◆ get_ip() [1/2]

static std::shared_ptr<jip> ProtocolPP::jprotocolpp::get_ip ( std::shared_ptr< jipsa > &  security)
static

Factory method to create an instance of the IP protocol

Parameters
security- parameters necessary to setup an IP flow

◆ get_ip() [2/2]

static std::shared_ptr<jip> ProtocolPP::jprotocolpp::get_ip ( std::shared_ptr< jipsa > &  security,
std::string  file 
)
static

Factory method to create an instance of the IP protocol with file input

Parameters
security- parameters necessary to setup an IP flow
file- filename for input/output data

◆ get_ipsec()

static std::shared_ptr<jipsec> ProtocolPP::jprotocolpp::get_ipsec ( std::shared_ptr< jrand > &  rand,
std::shared_ptr< jipsecsa > &  security,
std::string  replay = std::string("NORMAL") 
)
static

Factory method for IPsec

Parameters
rand- Random data generator for IVs, padding, anti-replay
security- Security association (SA) for this IPsec flow
replay- Types of packets to create

◆ get_kyber()

static std::shared_ptr<jkyber> ProtocolPP::jprotocolpp::get_kyber ( std::shared_ptr< jrand > &  rand,
std::shared_ptr< jkybersa > &  security 
)
static

Factory method to create an instance of the KYBER protocol

Parameters
rand- Random data generator for IVs, padding, anti-replay
security- parameters necessary to setup a KYBER flow

◆ get_lms()

static std::shared_ptr<jlms> ProtocolPP::jprotocolpp::get_lms ( std::shared_ptr< jrand > &  rand,
std::shared_ptr< jlmsa > &  security 
)
static

Factory method to create an instance of the LMS protocol

Parameters
rand- Random data generator for IVs, padding, anti-replay
security- parameters necessary to setup a LMS flow

◆ get_lte()

static std::shared_ptr<jlte> ProtocolPP::jprotocolpp::get_lte ( std::shared_ptr< jrand > &  rand,
std::shared_ptr< jltesa > &  security,
std::string  replay = std::string("NORMAL") 
)
static

Factory method to create an instance of the LTE protocol

Parameters
rand- Random data generator for IVs, padding, anti-replay
security- security association for this flow
replay- Types of packets to create

◆ get_macsec()

static std::shared_ptr<jmacsec> ProtocolPP::jprotocolpp::get_macsec ( std::shared_ptr< jrand > &  rand,
std::shared_ptr< jmacsecsa > &  security,
std::string  replay = std::string("NORMAL") 
)
static

Factory method to create an instance of the MACSEC protocol

Parameters
rand- Random data generator for IVs, padding, anti-replay
security- security association for this flow
replay- Types of packets to create

◆ get_rsa()

static std::shared_ptr<jrsa> ProtocolPP::jprotocolpp::get_rsa ( std::shared_ptr< jrsasa > &  security)
static

Factory method to create an instance of the RSA protocol

Parameters
security- parameters necessary to setup a RSA flow

◆ get_srtp()

static std::shared_ptr<jsrtp> ProtocolPP::jprotocolpp::get_srtp ( std::shared_ptr< jrand > &  rand,
std::shared_ptr< jsrtpsa > &  security,
std::string  replay = std::string("NORMAL") 
)
static

Factory method to create an instance of the SRTP protocol

Parameters
rand- Random data generator for IVs, padding, anti-replay
security- security association for this flow
replay- Types of packets to create

◆ get_tcp() [1/2]

static std::shared_ptr<jtcp> ProtocolPP::jprotocolpp::get_tcp ( jtcp::tcpstate_t  state,
std::shared_ptr< jtcpsa > &  security 
)
static

Factory method to create an instance of the TCP protocol

Parameters
state- State of initial operation (ESTABLISHED for randomization, CLOSED for normal operation)
security- parameters necessary to setup a TCP flow

◆ get_tcp() [2/2]

static std::shared_ptr<jtcp> ProtocolPP::jprotocolpp::get_tcp ( jtcp::tcpstate_t  state,
std::shared_ptr< jtcpsa > &  security,
std::string  file 
)
static

Factory method to create an instance of the TCP protocol

Parameters
state- State of initial operation (ESTABLISHED for randomization, CLOSED for normal operation)
security- parameters necessary to setup a TCP flow
file- filename for input/output data

◆ get_tls() [1/2]

static std::shared_ptr<jtls> ProtocolPP::jprotocolpp::get_tls ( std::shared_ptr< jrand > &  rand,
std::shared_ptr< jtlsa > &  security,
std::string  file,
std::string  replay 
)
static

Factory method to create an instance of the TLS protocol

Parameters
rand- Random data generator for IVs, padding, anti-replay
security- security association for this flow
file- filename for input/output data
replay- Types of packets to create

◆ get_tls() [2/2]

static std::shared_ptr<jtls> ProtocolPP::jprotocolpp::get_tls ( std::shared_ptr< jrand > &  rand,
std::shared_ptr< jtlsa > &  security,
std::string  replay = std::string("NORMAL") 
)
static

Factory method to create an instance of the TLS protocol

Parameters
rand- Random data generator for IVs, padding, anti-replay
security- security association for this flow
replay- Types of packets to create

◆ get_tls13() [1/2]

static std::shared_ptr<jtls13> ProtocolPP::jprotocolpp::get_tls13 ( std::shared_ptr< jrand > &  rand,
std::shared_ptr< jtlsa13 > &  security 
)
static

Factory method to create an instance of the TLS v1.3 protocol

Parameters
rand- Random data generator for IVs, padding, anti-replay
security- security association for this flow

◆ get_tls13() [2/2]

static std::shared_ptr<jtls13> ProtocolPP::jprotocolpp::get_tls13 ( std::shared_ptr< jrand > &  rand,
std::shared_ptr< jtlsa13 > &  security,
std::string  file 
)
static

Factory method to create an instance of the TLS v1.3 protocol

Parameters
rand- Random data generator for IVs, padding, anti-replay
security- security association for this flow
file- filename for input/output data

◆ get_udp() [1/2]

static std::shared_ptr<judp> ProtocolPP::jprotocolpp::get_udp ( std::shared_ptr< judpsa > &  security)
static

Factory method to create an instance of the UDP protocol

Parameters
security- parameters necessary to setup a UDP flow

◆ get_udp() [2/2]

static std::shared_ptr<judp> ProtocolPP::jprotocolpp::get_udp ( std::shared_ptr< judpsa > &  security,
std::string  file 
)
static

Factory method to create an instance of the UDP protocol

Parameters
security- parameters necessary to setup a UDP flow
file- filename for input/output data

◆ get_wifi()

static std::shared_ptr<jwifi> ProtocolPP::jprotocolpp::get_wifi ( std::shared_ptr< jrand > &  rand,
std::shared_ptr< jwifisa > &  security,
std::string  replay = std::string("NORMAL") 
)
static

Factory method to create an instance of the Wifi/WiGig protocol

Parameters
rand- Random data generator for IVs, padding, anti-replay
security- security association for this flow
replay- Types of packets to create

◆ get_wimax()

static std::shared_ptr<jwimax> ProtocolPP::jprotocolpp::get_wimax ( std::shared_ptr< jrand > &  rand,
std::shared_ptr< jwimaxsa > &  security,
std::string  replay = std::string("NORMAL") 
)
static

Factory method to create an instance of the WiMax protocol

Parameters
rand- Random data generator for IVs, padding, anti-replay
security- security association for this flow
replay- Types of packets to create

◆ get_xmss()

static std::shared_ptr<jxmss> ProtocolPP::jprotocolpp::get_xmss ( std::shared_ptr< jrand > &  rand,
std::shared_ptr< jxmssa > &  security 
)
static

Factory method to create an instance of the XMSS protocol

Parameters
rand- Random data generator for IVs, padding, anti-replay
security- parameters necessary to setup a XMSS flow

◆ usage()

static std::string ProtocolPP::jprotocolpp::usage ( )
static
Returns
Returns the banner with usage

The documentation for this class was generated from the following file: