Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 682 for Leider (0.22 sec)

  1. internal/config/crypto.go

    func Decrypt(k kms.KMS, ciphertext io.Reader, context kms.Context) (io.Reader, error) {
    	const (
    		MaxMetadataSize = 1 << 20 // max. size of the metadata
    		Version         = 1
    	)
    
    	var header [5]byte
    	if _, err := io.ReadFull(ciphertext, header[:]); err != nil {
    		return nil, err
    	}
    	if header[0] != Version {
    		return nil, fmt.Errorf("config: unknown ciphertext version %d", header[0])
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. internal/crypto/sse.go

    	return
    }
    
    // EncryptSinglePart encrypts an io.Reader which must be the
    // body of a single-part PUT request.
    func EncryptSinglePart(r io.Reader, key ObjectKey) io.Reader {
    	r, err := sio.EncryptReader(r, sio.Config{MinVersion: sio.Version20, Key: key[:], CipherSuites: fips.DARECiphers()})
    	if err != nil {
    		logger.CriticalIf(context.Background(), errors.New("Unable to encrypt io.Reader using object key"))
    	}
    	return r
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  3. tests/test_security_api_key_header_optional.py

    app = FastAPI()
    
    api_key = APIKeyHeader(name="key", auto_error=False)
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: Optional[str] = Security(api_key)):
        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: Optional[User] = Depends(get_current_user)):
        if current_user is None:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

     */
    internal interface DerAdapter<T> {
      /** Returns true if this adapter can read [header] in a choice. */
      fun matches(header: DerHeader): Boolean
    
      /**
       * Returns a value from this adapter.
       *
       * This must always return a value, though it doesn't necessarily need to consume data from
       * [reader]. For example, if the reader's peeked tag isn't readable by this adapter, it may return
       * a default value.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. tests/test_security_api_key_header_description.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyHeader(name="key", description="An API Key Header")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2K bytes
    - Viewed (0)
  6. manifests/charts/istiod-remote/templates/reader-clusterrole.yaml

    {{ $mcsAPIGroup := or .Values.pilot.env.MCS_API_GROUP "multicluster.x-k8s.io" }}
    apiVersion: rbac.authorization.k8s.io/v1
    kind: ClusterRole
    metadata:
      name: istio-reader-clusterrole{{- if not (eq .Values.revision "")}}-{{ .Values.revision }}{{- end }}-{{ .Release.Namespace }}
      labels:
        app: istio-reader
        release: {{ .Release.Name }}
    rules:
      - apiGroups:
          - "config.istio.io"
          - "security.istio.io"
          - "networking.istio.io"
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Mon Jul 17 21:19:52 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  7. manifests/charts/base/templates/reader-serviceaccount.yaml

    # This service account aggregates reader permissions for the revisions in a given cluster
    # Should be used for remote secret creation.
    apiVersion: v1
    kind: ServiceAccount
      {{- if .Values.global.imagePullSecrets }}
    imagePullSecrets:
      {{- range .Values.global.imagePullSecrets }}
      - name: {{ . }}
        {{- end }}
        {{- end }}
    metadata:
      name: istio-reader-service-account
      namespace: {{ .Values.global.istioNamespace }}
      labels:
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon May 31 07:10:20 GMT 2021
    - 489 bytes
    - Viewed (0)
  8. src/main/resources/fess_indices/fess_config.request_header/request_header.json

    Shinsuke Sugaya <******@****.***> 1638450896 +0900
    Json
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Dec 02 13:14:56 GMT 2021
    - 412 bytes
    - Viewed (0)
  9. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/required-header.txt

    Jendrik Johannes <******@****.***> 1607501645 +0100
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 682 bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

            if (truncated) {
              socket.close()
            }
          } else {
            // read a frame
            val inFrame = InFrame(i, reader)
            reader.nextFrame(false, inFrame)
            inFrames.add(inFrame)
          }
        }
      }
    
      fun openSocket(): Socket = Socket("localhost", port)
    
      @Synchronized override fun close() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top