Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 748 for encoded (0.08 sec)

  1. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                int attempt = 0;
                while (attempt < MAX_REDIRECTS) {
                    connection.setRequestProperty(authProperty, authMethod + ' ' +
                            Base64.encode(type1.toByteArray()));
                    connection.connect(); // send type 1
                    response = parseResponseCode();
                    if (response != HTTP_UNAUTHORIZED &&
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  2. cmd/admin-handlers_test.go

    	queryVal := url.Values{}
    	queryVal.Set("action", string(cmd.toServiceAction()))
    	queryVal.Set("type", "2")
    	resource := adminPathPrefix + adminAPIVersionPrefix + "/service?" + queryVal.Encode()
    	req, err := newTestRequest(http.MethodPost, resource, 0, nil)
    	if err != nil {
    		return nil, err
    	}
    
    	// management REST API uses signature V4 for authentication.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. docs_src/security/tutorial004_an_py39.py

        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
        to_encode.update({"exp": expire})
        encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
        return encoded_jwt
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
        credentials_exception = HTTPException(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. internal/crypto/sse-c.go

    	clientKey, err := s3.ParseHTTP(h)
    	if err != nil {
    		return
    	}
    	return unsealObjectKey(clientKey[:], metadata, bucket, object)
    }
    
    // CreateMetadata encodes the sealed key into the metadata
    // and returns the modified metadata. It allocates a new
    // metadata map if metadata is nil.
    func (ssec) CreateMetadata(metadata map[string]string, sealedKey SealedKey) map[string]string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Decodable.java

    
    /**
     * @author mbechler
     *
     */
    public interface Decodable {
    
        /**
         * @param buffer
         * @param bufferIndex
         * @param len
         * @return decoded length
         * @throws SMBProtocolDecodingException
         */
        int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  6. api/go1.7.txt

    pkg debug/elf, const R_390_TLS_TPOFF R_390
    pkg debug/elf, method (R_390) GoString() string
    pkg debug/elf, method (R_390) String() string
    pkg debug/elf, type R_390 int
    pkg encoding/json, method (*Encoder) SetEscapeHTML(bool)
    pkg encoding/json, method (*Encoder) SetIndent(string, string)
    pkg go/build, type Package struct, BinaryOnly bool
    pkg go/build, type Package struct, CgoFFLAGS []string
    pkg go/build, type Package struct, FFiles []string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 28 15:08:11 UTC 2016
    - 13.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                //  smb/ftp->http
                // encode
                final StringBuilder buf = new StringBuilder(url.length() + 100);
                for (final char c : url.toCharArray()) {
                    if (CharUtil.isUrlChar(c)) {
                        buf.append(c);
                    } else {
                        try {
                            buf.append(URLEncoder.encode(String.valueOf(c), urlLinkEncoding));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

            dstIndex += 2;
    
            return dstIndex - start;
        }
    
    
        @Override
        protected int writeDataWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            dstIndex += this.info.encode(dst, dstIndex);
    
            /* 6 zeros observed with NT */
            SMBUtil.writeInt8(0L, dst, dstIndex);
            dstIndex += 6;
    
            /*
             * Also observed 4 byte alignment but we stick
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  9. docs_src/security/tutorial004_an.py

        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
        to_encode.update({"exp": expire})
        encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
        return encoded_jwt
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
        credentials_exception = HTTPException(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. docs_src/security/tutorial005_py310.py

        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
        to_encode.update({"exp": expire})
        encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
        return encoded_jwt
    
    
    async def get_current_user(
        security_scopes: SecurityScopes, token: str = Depends(oauth2_scheme)
    ):
        if security_scopes.scopes:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top