Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getMechanism (0.2 sec)

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

            return this.result;
        }
    
    
        public void setResult ( int result ) {
            this.result = result;
        }
    
    
        public ASN1ObjectIdentifier getMechanism () {
            return this.mechanism;
        }
    
    
        public void setMechanism ( ASN1ObjectIdentifier mechanism ) {
            this.mechanism = mechanism;
        }
    
    
        @Override
        public byte[] toByteArray () {
            try {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SpnegoContext.java

                if ( this.firstResponse ) {
                    if ( !this.mechContext.isSupported(targ.getMechanism()) ) {
                        throw new SmbException("Server chose an unsupported mechanism " + targ.getMechanism());
                    }
                    this.selectedMech = targ.getMechanism();
                    if ( targ.getResult() == NegTokenTarg.REQUEST_MIC ) {
                        this.requireMic = true;
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 14.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/spnego/NegTokenInit.java

            return String.format("NegTokenInit[flags=%d,mechs=%s,mic=%s]", this.getContextFlags(), Arrays.toString(this.getMechanisms()), mic);
        }
    
    
        @Override
        public byte[] toByteArray () {
            try {
                ASN1EncodableVector fields = new ASN1EncodableVector();
                ASN1ObjectIdentifier[] mechs = getMechanisms();
                if ( mechs != null ) {
                    ASN1EncodableVector vector = new ASN1EncodableVector();
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/Kerb5Authenticator.java

                if ( log.isDebugEnabled() ) {
                    log.debug("Have initial token " + tok);
                }
                if ( tok.getMechanisms() != null ) {
                    Set<ASN1ObjectIdentifier> mechs = new HashSet<>(Arrays.asList(tok.getMechanisms()));
                    boolean foundKerberos = false;
                    for ( ASN1ObjectIdentifier mech : Kerb5Context.SUPPORTED_MECHS ) {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                    if ( log.isDebugEnabled() ) {
                        log.debug("Have initial token " + tok);
                    }
                    if ( tok.getMechanisms() != null ) {
                        Set<ASN1ObjectIdentifier> mechs = new HashSet<>(Arrays.asList(tok.getMechanisms()));
                        if ( !mechs.contains(NtlmContext.NTLMSSP_OID) ) {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
Back to top