congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
IkePhase1Proposal.setHashingAlgorithm
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: batfish/batfish

IkePhase1Proposal negotiatedProposal =
  new IkePhase1Proposal("~NEGOTIATED_IKE_P1_PROPOSAL~");
negotiatedProposal.setHashingAlgorithm(initiatorProposal.getHashingAlgorithm());
negotiatedProposal.setEncryptionAlgorithm(initiatorProposal.getEncryptionAlgorithm());
negotiatedProposal.setDiffieHellmanGroup(initiatorProposal.getDiffieHellmanGroup());
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.setEncryptionAlgorithm(ikeProposal.getEncryptionAlgorithm());
ikePhase1Proposal.setLifetimeSeconds(ikeGroup.getLifetimeSeconds());
ikePhase1Proposal.setHashingAlgorithm(
  ikeProposal.getHashAlgorithm().toIkeAuthenticationAlgorithm());
ikePhase1Proposal.setAuthenticationMethod(ipsecPeer.getAuthenticationMode());
org.batfish.datamodelIkePhase1ProposalsetHashingAlgorithm

Popular methods of IkePhase1Proposal

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

Popular in Java

  • Making http post requests using okhttp
  • requestLocationUpdates (LocationManager)
  • getExternalFilesDir (Context)
  • putExtra (Intent)
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now