◆ jecdsafsa() [1/4]
| ProtocolPP::jecdsafsa::jecdsafsa |
( |
| ) |
|
ECDSA Constructor for named type with default parameters as follows keymode_t::GENKEYPAIR ike_hash_t::SHA256 Botan::OID::CURVE_25519
◆ jecdsafsa() [2/4]
ECDSA Constructor for named type
- Parameters
-
| mode | - Mode of operation (GENKEYPAIR, PKISIGN, PKIVERIFY) |
| hash | - hash type for curve |
| curve | - Name of the OID curve |
◆ jecdsafsa() [3/4]
| ProtocolPP::jecdsafsa::jecdsafsa |
( |
jecdsafsa & |
rhs | ) |
|
ECDSA Copy Constructor ECDSA Security Association
- Parameters
-
| rhs | - ECDSA security association to copy |
◆ jecdsafsa() [4/4]
| ProtocolPP::jecdsafsa::jecdsafsa |
( |
std::shared_ptr< jecdsafsa > & |
rhs | ) |
|
|
explicit |
ECDSA Copy Constructor shared_ptr
- Parameters
-
| rhs | - ECDSA security association to copy |
◆ get_field()
| T ProtocolPP::jecdsafsa::get_field |
( |
field_t |
field | ) |
|
Returns the version field of the ECDSA Security Association object
ECDSASA Get Fields
| field type | field name | Example |
| int | BITSIZE | int bitsize = set_field<int>(field_t::BITSIZE) |
| ike_hash_t | IKEHASH | ike_hash_t hash = get_field<ike_hash_t>(field_t::IKEHASH) |
| Botan::ECDSA_PrivateKey | PRVKEY | Botan::ECDSA_PrivateKey prvkey = get_field<Botan::ECDSA_PrivateKey>(field_t::PRVKEY) |
- Parameters
-
| field | - field to retrieve from the ECDSA Security Association object |
- Returns
- field of the ECDSA Security Association object
◆ set_field()
| void ProtocolPP::jecdsafsa::set_field |
( |
field_t |
field, |
|
|
T |
fieldval |
|
) |
| |
Allows the user to update the ECDSA F2M/Fp Security Association object
ECDSASA F2M/Fp Set Fields
| field type | field name | Example |
| int | BITSIZE | set_field<int>(field_t::BITSIZE, size) |
| ike_hash_t | IKEHASH | set_field<ike_hash_t>(field_t::IKEHASH, hash) |
| Botan::OID | CURVE | set_field<Botan::OID>(field_t::CURVE, curve) |
| Botan::ECDSA_PrivateKey<td>PRVKEY | set_field<Botan::ECDSA_PrivateKey>(field_t::PRVKEY) |
- Parameters
-
| field | - field to update for ECDSA Security Association |
| fieldval | - value to update for ECDSA Security Association |
◆ to_json()
| void ProtocolPP::jecdsafsa::to_json |
( |
std::ofstream & |
myjson, |
|
|
direction_t |
direction, |
|
|
std::string & |
indent |
|
) |
| |
|
virtual |
Prints the protocol object in JSON
- Parameters
-
| myjson | - JSON object to print to |
| direction | - randomzation |
| indent | - indentation for JSON output |
Implements ProtocolPP::jsecass.
◆ to_xml()
Prints the protocol object in XML
- Parameters
-
| myxml | - XMLPrinter object to print to |
| direction | - randomzation |
Implements ProtocolPP::jsecass.
The documentation for this class was generated from the following file: