Codota Logo
IkePhase1Proposal.setAuthenticationMethod
Code IndexAdd Codota to your IDE (free)

How to use
setAuthenticationMethod
method
in
org.batfish.datamodel.IkePhase1Proposal

Best Java code snippets using org.batfish.datamodel.IkePhase1Proposal.setAuthenticationMethod (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: batfish/batfish

negotiatedProposal.setEncryptionAlgorithm(initiatorProposal.getEncryptionAlgorithm());
negotiatedProposal.setDiffieHellmanGroup(initiatorProposal.getDiffieHellmanGroup());
negotiatedProposal.setAuthenticationMethod(initiatorProposal.getAuthenticationMethod());
if (initiatorProposal.getLifetimeSeconds() != null
  && responderProposal.getLifetimeSeconds() != null) {
origin: batfish/batfish

static IkePhase1Proposal toIkePhase1Proposal(IsakmpPolicy isakmpPolicy) {
 IkePhase1Proposal ikePhase1Proposal = new IkePhase1Proposal(isakmpPolicy.getName().toString());
 ikePhase1Proposal.setDiffieHellmanGroup(isakmpPolicy.getDiffieHellmanGroup());
 ikePhase1Proposal.setAuthenticationMethod(isakmpPolicy.getAuthenticationMethod());
 ikePhase1Proposal.setEncryptionAlgorithm(isakmpPolicy.getEncryptionAlgorithm());
 ikePhase1Proposal.setLifetimeSeconds(isakmpPolicy.getLifetimeSeconds());
 ikePhase1Proposal.setHashingAlgorithm(isakmpPolicy.getHashAlgorithm());
 return ikePhase1Proposal;
}
origin: batfish/batfish

@Nonnull
private static IkePhase1Proposal toIkePhase1Proposal(
  String proposalName, IpsecTunnel ipsecTunnel) {
 IkePhase1Proposal ikePhase1Proposal = new IkePhase1Proposal(proposalName);
 if (ipsecTunnel.getIkePreSharedKeyHash() != null) {
  ikePhase1Proposal.setAuthenticationMethod(IkeAuthenticationMethod.PRE_SHARED_KEYS);
 }
 ikePhase1Proposal.setHashingAlgorithm(
   toIkeAuthenticationAlgorithm(ipsecTunnel.getIkeAuthProtocol()));
 ikePhase1Proposal.setDiffieHellmanGroup(
   toDiffieHellmanGroup(ipsecTunnel.getIkePerfectForwardSecrecy()));
 ikePhase1Proposal.setEncryptionAlgorithm(
   toEncryptionAlgorithm(ipsecTunnel.getIkeEncryptionProtocol()));
 return ikePhase1Proposal;
}
origin: batfish/batfish

private IkePhase1Proposal toIkePhase1Proposal(IkeProposal ikeProposal) {
 IkePhase1Proposal ikePhase1Proposal = new IkePhase1Proposal(ikeProposal.getName());
 ikePhase1Proposal.setDiffieHellmanGroup(ikeProposal.getDiffieHellmanGroup());
 ikePhase1Proposal.setAuthenticationMethod(ikeProposal.getAuthenticationMethod());
 ikePhase1Proposal.setEncryptionAlgorithm(ikeProposal.getEncryptionAlgorithm());
 ikePhase1Proposal.setLifetimeSeconds(ikeProposal.getLifetimeSeconds());
 ikePhase1Proposal.setHashingAlgorithm(ikeProposal.getAuthenticationAlgorithm());
 return ikePhase1Proposal;
}
origin: batfish/batfish

ikePhase1Proposal.setHashingAlgorithm(
  ikeProposal.getHashAlgorithm().toIkeAuthenticationAlgorithm());
ikePhase1Proposal.setAuthenticationMethod(ipsecPeer.getAuthenticationMode());
ikePhase1ProposalMapBuilder.put(newIkeProposalName, ikePhase1Proposal);
ikePhase1Policy.getIkePhase1Proposals().add(newIkeProposalName);
org.batfish.datamodelIkePhase1ProposalsetAuthenticationMethod

Popular methods of IkePhase1Proposal

  • <init>
  • getAuthenticationMethod
  • getDiffieHellmanGroup
  • getEncryptionAlgorithm
  • getHashingAlgorithm
  • getLifetimeSeconds
  • getName
  • setDiffieHellmanGroup
  • setEncryptionAlgorithm
  • setHashingAlgorithm
  • setLifetimeSeconds
  • isCompatibleWith
  • setLifetimeSeconds,
  • isCompatibleWith

Popular in Java

  • Reading from database using SQL prepared statement
  • getExternalFilesDir (Context)
  • onCreateOptionsMenu (Activity)
  • requestLocationUpdates (LocationManager)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now