Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getMechanismToken (0.16 sec)

  1. src/main/java/jcifs/spnego/SpnegoToken.java

    import java.io.IOException;
    
    
    @SuppressWarnings ( "javadoc" )
    public abstract class SpnegoToken {
    
        private byte[] mechanismToken;
    
        private byte[] mechanismListMIC;
    
    
        public byte[] getMechanismToken () {
            return this.mechanismToken;
        }
    
    
        public void setMechanismToken ( byte[] mechanismToken ) {
            this.mechanismToken = mechanismToken;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SpnegoContext.java

                ASN1ObjectIdentifier prefMech = rm[ 0 ];
                // only use token if the optimistic mechanism is supported
                if ( this.mechContext.isSupported(prefMech) ) {
                    inputToken = tinit.getMechanismToken();
                }
                else {
                    ASN1ObjectIdentifier found = null;
                    for ( ASN1ObjectIdentifier mech : rm ) {
                        if ( this.mechContext.isSupported(mech) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 14.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/spnego/NegTokenInit.java

                int ctxFlags = getContextFlags();
                if ( ctxFlags != 0 ) {
                    fields.add(new DERTaggedObject(true, 1, new DERBitString(ctxFlags)));
                }
                byte[] mechanismToken = getMechanismToken();
                if ( mechanismToken != null ) {
                    fields.add(new DERTaggedObject(true, 2, new DEROctetString(mechanismToken)));
                }
                byte[] mechanismListMIC = getMechanismListMIC();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/spnego/NegTokenTarg.java

                ASN1ObjectIdentifier mech = getMechanism();
                if ( mech != null ) {
                    fields.add(new DERTaggedObject(true, 1, mech));
                }
                byte[] mechanismToken = getMechanismToken();
                if ( mechanismToken != null ) {
                    fields.add(new DERTaggedObject(true, 2, new DEROctetString(mechanismToken)));
                }
                byte[] mechanismListMIC = getMechanismListMIC();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/PACTest.java

            NegTokenInit negInit = new NegTokenInit(mechToken);
            byte[] krbToken = negInit.getMechanismToken();
    
    
            Path p = Files.createTempFile("fakeserver", ".keytab");
            try {
                Files.write(p, keyTab);
                KeyTab kt = KeyTab.getInstance(p.toFile());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
Back to top