Name | Type | Description | Notes |
---|---|---|---|
dh_group | DhP1Group | ||
enc_algorithm | EncP1Algorithm | ||
hash_algorithm | HashP1Algorithm | ||
initial_contact | bool | ||
lifetime | int | ||
prf_algorithm | PrfP1Algorithm |
from cyperf.models.p1_config import P1Config
# TODO update the JSON string below
json = "{}"
# create an instance of P1Config from a JSON string
p1_config_instance = P1Config.from_json(json)
# print the JSON string representation of the object
print(P1Config.to_json())
# convert the object into a dict
p1_config_dict = p1_config_instance.to_dict()
# create an instance of P1Config from a dict
p1_config_from_dict = P1Config.from_dict(p1_config_dict)