Search in sources :

Example 1 with DiffieHellmanGroup

use of org.batfish.datamodel.DiffieHellmanGroup in project batfish by batfish.

the class ConfigurationBuilder method exitSeikpr_dh_group.

@Override
public void exitSeikpr_dh_group(Seikpr_dh_groupContext ctx) {
    DiffieHellmanGroup group = toDhGroup(ctx.dh_group());
    _currentIkeProposal.setDiffieHellmanGroup(group);
}
Also used : DiffieHellmanGroup(org.batfish.datamodel.DiffieHellmanGroup)

Example 2 with DiffieHellmanGroup

use of org.batfish.datamodel.DiffieHellmanGroup in project batfish by batfish.

the class ConfigurationBuilder method exitSeipp_perfect_forward_secrecy.

@Override
public void exitSeipp_perfect_forward_secrecy(Seipp_perfect_forward_secrecyContext ctx) {
    DiffieHellmanGroup dhGroup = toDhGroup(ctx.dh_group());
    _currentIpsecPolicy.setPfsKeyGroup(dhGroup);
}
Also used : DiffieHellmanGroup(org.batfish.datamodel.DiffieHellmanGroup)

Example 3 with DiffieHellmanGroup

use of org.batfish.datamodel.DiffieHellmanGroup in project batfish by batfish.

the class FlatVyosControlPlaneExtractor method exitIkept_dh_group.

@Override
public void exitIkept_dh_group(Ikept_dh_groupContext ctx) {
    int num = toInteger(ctx.num);
    DiffieHellmanGroup dhGroup = DiffieHellmanGroup.fromGroupNumber(num);
    _currentIkeProposal.setDhGroup(dhGroup);
}
Also used : DiffieHellmanGroup(org.batfish.datamodel.DiffieHellmanGroup)

Aggregations

DiffieHellmanGroup (org.batfish.datamodel.DiffieHellmanGroup)3