Tabnine Logo
lsarpc$LsarTrustInformation
Code IndexAdd Tabnine to your IDE (free)

How to use
lsarpc$LsarTrustInformation
in
jcifs.dcerpc.msrpc

Best Java code snippets using jcifs.dcerpc.msrpc.lsarpc$LsarTrustInformation (Showing top 12 results out of 315)

origin: org.codelibs/jcifs

  @Override
  public void decode ( NdrBuffer _src ) throws NdrException {
    _src.align(4);
    this.count = _src.dec_ndr_long();
    int _domainsp = _src.dec_ndr_long();
    this.max_count = _src.dec_ndr_long();
    if ( _domainsp != 0 ) {
      _src = _src.deferred;
      int _domainss = _src.dec_ndr_long();
      int _domainsi = _src.index;
      _src.advance(12 * _domainss);
      if ( this.domains == null ) {
        if ( _domainss < 0 || _domainss > 0xFFFF )
          throw new NdrException(NdrException.INVALID_CONFORMANCE);
        this.domains = new LsarTrustInformation[_domainss];
      }
      _src = _src.derive(_domainsi);
      for ( int _i = 0; _i < _domainss; _i++ ) {
        if ( this.domains[ _i ] == null ) {
          this.domains[ _i ] = new LsarTrustInformation();
        }
        this.domains[ _i ].decode(_src);
      }
    }
  }
}
origin: kohsuke/jcifs

public void encode(NdrBuffer _dst) throws NdrException {
  _dst.align(4);
  _dst.enc_ndr_long(count);
  _dst.enc_ndr_referent(domains, 1);
  _dst.enc_ndr_long(max_count);
  if (domains != null) {
    _dst = _dst.deferred;
    int _domainss = count;
    _dst.enc_ndr_long(_domainss);
    int _domainsi = _dst.index;
    _dst.advance(12 * _domainss);
    _dst = _dst.derive(_domainsi);
    for (int _i = 0; _i < _domainss; _i++) {
      domains[_i].encode(_dst);
    }
  }
}
public void decode(NdrBuffer _src) throws NdrException {
origin: kohsuke/jcifs

  public void decode(NdrBuffer _src) throws NdrException {
    _src.align(4);
    count = (int)_src.dec_ndr_long();
    int _domainsp = _src.dec_ndr_long();
    max_count = (int)_src.dec_ndr_long();
    if (_domainsp != 0) {
      _src = _src.deferred;
      int _domainss = _src.dec_ndr_long();
      int _domainsi = _src.index;
      _src.advance(12 * _domainss);
      if (domains == null) {
        if (_domainss < 0 || _domainss > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
        domains = new LsarTrustInformation[_domainss];
      }
      _src = _src.derive(_domainsi);
      for (int _i = 0; _i < _domainss; _i++) {
        if (domains[_i] == null) {
          domains[_i] = new LsarTrustInformation();
        }
        domains[_i].decode(_src);
      }
    }
  }
}
origin: org.samba.jcifs/jcifs

  public void decode(NdrBuffer _src) throws NdrException {
    _src.align(4);
    count = (int)_src.dec_ndr_long();
    int _domainsp = _src.dec_ndr_long();
    max_count = (int)_src.dec_ndr_long();
    if (_domainsp != 0) {
      _src = _src.deferred;
      int _domainss = _src.dec_ndr_long();
      int _domainsi = _src.index;
      _src.advance(12 * _domainss);
      if (domains == null) {
        if (_domainss < 0 || _domainss > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
        domains = new LsarTrustInformation[_domainss];
      }
      _src = _src.derive(_domainsi);
      for (int _i = 0; _i < _domainss; _i++) {
        if (domains[_i] == null) {
          domains[_i] = new LsarTrustInformation();
        }
        domains[_i].decode(_src);
      }
    }
  }
}
origin: jcifs/jcifs

  public void decode(NdrBuffer _src) throws NdrException {
    _src.align(4);
    count = (int)_src.dec_ndr_long();
    int _domainsp = _src.dec_ndr_long();
    max_count = (int)_src.dec_ndr_long();
    if (_domainsp != 0) {
      _src = _src.deferred;
      int _domainss = _src.dec_ndr_long();
      int _domainsi = _src.index;
      _src.advance(12 * _domainss);
      if (domains == null) {
        if (_domainss < 0 || _domainss > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
        domains = new LsarTrustInformation[_domainss];
      }
      _src = _src.derive(_domainsi);
      for (int _i = 0; _i < _domainss; _i++) {
        if (domains[_i] == null) {
          domains[_i] = new LsarTrustInformation();
        }
        domains[_i].decode(_src);
      }
    }
  }
}
origin: AgNO3/jcifs-ng

  @Override
  public void decode ( NdrBuffer _src ) throws NdrException {
    _src.align(4);
    this.count = _src.dec_ndr_long();
    int _domainsp = _src.dec_ndr_long();
    this.max_count = _src.dec_ndr_long();
    if ( _domainsp != 0 ) {
      _src = _src.deferred;
      int _domainss = _src.dec_ndr_long();
      int _domainsi = _src.index;
      _src.advance(12 * _domainss);
      if ( this.domains == null ) {
        if ( _domainss < 0 || _domainss > 0xFFFF )
          throw new NdrException(NdrException.INVALID_CONFORMANCE);
        this.domains = new LsarTrustInformation[_domainss];
      }
      _src = _src.derive(_domainsi);
      for ( int _i = 0; _i < _domainss; _i++ ) {
        if ( this.domains[ _i ] == null ) {
          this.domains[ _i ] = new LsarTrustInformation();
        }
        this.domains[ _i ].decode(_src);
      }
    }
  }
}
origin: com.jaeksoft/jcifs-krb5-jdk7

  public void decode(NdrBuffer _src) throws NdrException {
    _src.align(4);
    count = (int)_src.dec_ndr_long();
    int _domainsp = _src.dec_ndr_long();
    max_count = (int)_src.dec_ndr_long();
    if (_domainsp != 0) {
      _src = _src.deferred;
      int _domainss = _src.dec_ndr_long();
      int _domainsi = _src.index;
      _src.advance(12 * _domainss);
      if (domains == null) {
        if (_domainss < 0 || _domainss > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
        domains = new LsarTrustInformation[_domainss];
      }
      _src = _src.derive(_domainsi);
      for (int _i = 0; _i < _domainss; _i++) {
        if (domains[_i] == null) {
          domains[_i] = new LsarTrustInformation();
        }
        domains[_i].decode(_src);
      }
    }
  }
}
origin: org.samba.jcifs/jcifs

public void encode(NdrBuffer _dst) throws NdrException {
  _dst.align(4);
  _dst.enc_ndr_long(count);
  _dst.enc_ndr_referent(domains, 1);
  _dst.enc_ndr_long(max_count);
  if (domains != null) {
    _dst = _dst.deferred;
    int _domainss = count;
    _dst.enc_ndr_long(_domainss);
    int _domainsi = _dst.index;
    _dst.advance(12 * _domainss);
    _dst = _dst.derive(_domainsi);
    for (int _i = 0; _i < _domainss; _i++) {
      domains[_i].encode(_dst);
    }
  }
}
public void decode(NdrBuffer _src) throws NdrException {
origin: AgNO3/jcifs-ng

@Override
public void encode ( NdrBuffer _dst ) throws NdrException {
  _dst.align(4);
  _dst.enc_ndr_long(this.count);
  _dst.enc_ndr_referent(this.domains, 1);
  _dst.enc_ndr_long(this.max_count);
  if ( this.domains != null ) {
    _dst = _dst.deferred;
    int _domainss = this.count;
    _dst.enc_ndr_long(_domainss);
    int _domainsi = _dst.index;
    _dst.advance(12 * _domainss);
    _dst = _dst.derive(_domainsi);
    for ( int _i = 0; _i < _domainss; _i++ ) {
      this.domains[ _i ].encode(_dst);
    }
  }
}
origin: org.codelibs/jcifs

@Override
public void encode ( NdrBuffer _dst ) throws NdrException {
  _dst.align(4);
  _dst.enc_ndr_long(this.count);
  _dst.enc_ndr_referent(this.domains, 1);
  _dst.enc_ndr_long(this.max_count);
  if ( this.domains != null ) {
    _dst = _dst.deferred;
    int _domainss = this.count;
    _dst.enc_ndr_long(_domainss);
    int _domainsi = _dst.index;
    _dst.advance(12 * _domainss);
    _dst = _dst.derive(_domainsi);
    for ( int _i = 0; _i < _domainss; _i++ ) {
      this.domains[ _i ].encode(_dst);
    }
  }
}
origin: com.jaeksoft/jcifs-krb5-jdk7

public void encode(NdrBuffer _dst) throws NdrException {
  _dst.align(4);
  _dst.enc_ndr_long(count);
  _dst.enc_ndr_referent(domains, 1);
  _dst.enc_ndr_long(max_count);
  if (domains != null) {
    _dst = _dst.deferred;
    int _domainss = count;
    _dst.enc_ndr_long(_domainss);
    int _domainsi = _dst.index;
    _dst.advance(12 * _domainss);
    _dst = _dst.derive(_domainsi);
    for (int _i = 0; _i < _domainss; _i++) {
      domains[_i].encode(_dst);
    }
  }
}
public void decode(NdrBuffer _src) throws NdrException {
origin: jcifs/jcifs

public void encode(NdrBuffer _dst) throws NdrException {
  _dst.align(4);
  _dst.enc_ndr_long(count);
  _dst.enc_ndr_referent(domains, 1);
  _dst.enc_ndr_long(max_count);
  if (domains != null) {
    _dst = _dst.deferred;
    int _domainss = count;
    _dst.enc_ndr_long(_domainss);
    int _domainsi = _dst.index;
    _dst.advance(12 * _domainss);
    _dst = _dst.derive(_domainsi);
    for (int _i = 0; _i < _domainss; _i++) {
      domains[_i].encode(_dst);
    }
  }
}
public void decode(NdrBuffer _src) throws NdrException {
jcifs.dcerpc.msrpclsarpc$LsarTrustInformation

Most used methods

  • <init>
  • decode
  • encode

Popular in Java

  • Creating JSON documents from java classes using gson
  • addToBackStack (FragmentTransaction)
  • requestLocationUpdates (LocationManager)
  • setContentView (Activity)
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • JCheckBox (javax.swing)
  • Runner (org.openjdk.jmh.runner)
  • Top Vim plugins
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