Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for validateKey (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       */
      @Synchronized
      @Throws(IOException::class)
      operator fun get(key: String): Snapshot? {
        initialize()
    
        checkNotClosed()
        validateKey(key)
        val entry = lruEntries[key] ?: return null
        val snapshot = entry.snapshot() ?: return null
    
        redundantOpCount++
        journalWriter!!.writeUtf8(READ)
          .writeByte(' '.code)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. cmd/sftp-server.go

    		}
    	}
    
    internalAuth:
    	ui, ok := globalIAMSys.GetUser(context.Background(), user)
    	if !ok {
    		return nil, errNoSuchUser
    	}
    
    	if caPublicKey != nil && pass == nil {
    		err := validateKey(c, key)
    		if err != nil {
    			return nil, errAuthentication
    		}
    	} else {
    		// Temporary credentials are not allowed.
    		if ui.Credentials.IsTemp() {
    			return nil, errAuthentication
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 20:00:29 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top