Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 588 for Encoder (0.08 sec)

  1. docs_src/security/tutorial005_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(
        security_scopes: SecurityScopes, token: Annotated[str, Depends(oauth2_scheme)]
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java

            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, bufferOffsetOffset);
            int len = this.info.encode(dst, dstIndex);
            SMBUtil.writeInt4(len, dst, bufferLengthOffset);
            dstIndex += len;
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java

            return 2;
        }
    
    
        @Override
        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            dstIndex += this.request.encode(dst, dstIndex);
            return dstIndex - start;
        }
    
    
        @Override
        protected int writeDataWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.9K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

                SMBUtil.writeInt4(0, dst, inBufferLengthOffset);
            }
            else {
                SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, inBufferOffsetOffset);
                int len = this.inputBuffer.encode(dst, dstIndex);
                SMBUtil.writeInt4(len, dst, inBufferLengthOffset);
                dstIndex += len;
            }
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 10:41:31 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                                    buf.append('&');
                                    buf.append(LdiURLUtil.encode(name, Constants.UTF_8));
                                    buf.append('=');
                                    buf.append(LdiURLUtil.encode(value, Constants.UTF_8));
                                }
                            }
                        }
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. internal/crypto/error.go

    	// MD5 checksum.
    	ErrMissingCustomerKeyMD5 = Errorf("The SSE-C request is missing the customer key MD5")
    
    	// ErrInvalidCustomerKey indicates that the SSE-C client key is not valid - e.g. not a
    	// base64-encoded string or not 256 bits long.
    	ErrInvalidCustomerKey = Errorf("The SSE-C client key is invalid")
    
    	// ErrSecretKeyMismatch indicates that the provided secret key (SSE-C client key / SSE-S3 KMS key)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

                        if (CharUtil.isUrlChar(c) || c == ' ') {
                            buf.append(c);
                        } else {
                            try {
                                buf.append(URLEncoder.encode(String.valueOf(c), Constants.UTF_8));
                            } catch (final UnsupportedEncodingException e) {
                                // NOP
                            }
                        }
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcMessage.java

                throw new NdrException("DCERPC authentication not supported");
            }
            this.call_id = buf.dec_ndr_long();
        }
    
    
        @Override
        public void encode ( NdrBuffer buf ) throws NdrException {
            int start = buf.getIndex();
            int alloc_hint_index = 0;
    
            buf.advance(16); /* momentarily skip header */
            if ( this.ptype == 0 ) { /* Request */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            }
            final StreamResponse response = new StreamResponse(StringUtil.EMPTY);
            final String name = pi.getName();
            final String encodedName = URLEncoder.encode(name, Constants.UTF_8_CHARSET).replace("+", "%20");
            response.header("Content-Disposition", "attachment; filename=\"" + name + "\"; filename*=utf-8''" + encodedName);
            response.header("Pragma", "no-cache");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top