Tabnine Logo
DcerpcSecurityProvider
Code IndexAdd Tabnine to your IDE (free)

How to use
DcerpcSecurityProvider
in
jcifs.dcerpc

Best Java code snippets using jcifs.dcerpc.DcerpcSecurityProvider (Showing top 8 results out of 315)

origin: org.codelibs/jcifs

/**
 * @param fbuf
 * @throws DcerpcException
 */
private void setupReceivedFragment ( NdrBuffer fbuf ) throws DcerpcException {
  fbuf.reset();
  fbuf.setIndex(8);
  fbuf.setLength(fbuf.dec_ndr_short());
  if ( this.securityProvider != null ) {
    this.securityProvider.unwrap(fbuf);
  }
}
origin: org.codelibs/jcifs

/**
 * @param msg
 * @param out
 * @return
 * @throws NdrException
 * @throws DcerpcException
 */
private NdrBuffer encodeMessage ( DcerpcMessage msg, byte[] out ) throws NdrException, DcerpcException {
  NdrBuffer buf = new NdrBuffer(out, 0);
  msg.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
  msg.call_id = call_id.incrementAndGet();
  msg.encode(buf);
  if ( this.securityProvider != null ) {
    buf.setIndex(0);
    this.securityProvider.wrap(buf);
  }
  return buf;
}
origin: org.samba.jcifs/jcifs

securityProvider.wrap(buf);
securityProvider.unwrap(buf);
  securityProvider.unwrap(fbuf);
origin: com.jaeksoft/jcifs-krb5-jdk7

securityProvider.wrap(buf);
securityProvider.unwrap(buf);
  securityProvider.unwrap(fbuf);
origin: jcifs/jcifs

securityProvider.wrap(buf);
securityProvider.unwrap(buf);
  securityProvider.unwrap(fbuf);
origin: AgNO3/jcifs-ng

/**
 * @param fbuf
 * @throws DcerpcException
 */
private void setupReceivedFragment ( NdrBuffer fbuf ) throws DcerpcException {
  fbuf.reset();
  fbuf.setIndex(8);
  fbuf.setLength(fbuf.dec_ndr_short());
  if ( this.securityProvider != null ) {
    this.securityProvider.unwrap(fbuf);
  }
}
origin: AgNO3/jcifs-ng

/**
 * @param msg
 * @param out
 * @return
 * @throws NdrException
 * @throws DcerpcException
 */
private NdrBuffer encodeMessage ( DcerpcMessage msg, byte[] out ) throws NdrException, DcerpcException {
  NdrBuffer buf = new NdrBuffer(out, 0);
  msg.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
  msg.call_id = call_id.incrementAndGet();
  msg.encode(buf);
  if ( this.securityProvider != null ) {
    buf.setIndex(0);
    this.securityProvider.wrap(buf);
  }
  return buf;
}
origin: kohsuke/jcifs

securityProvider.wrap(buf);
securityProvider.unwrap(buf);
  securityProvider.unwrap(fbuf);
jcifs.dcerpcDcerpcSecurityProvider

Most used methods

  • unwrap
  • wrap

Popular in Java

  • Finding current android device location
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Notification (javax.management)
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • 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