Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for EncryptionKey (0.07 sec)

  1. cmd/admin-handlers-site-replication.go

    		return
    	}
    }
    
    func parseJSONBody(ctx context.Context, body io.Reader, v interface{}, encryptionKey string) error {
    	data, err := io.ReadAll(body)
    	if err != nil {
    		return SRError{
    			Cause: err,
    			Code:  ErrSiteReplicationInvalidRequest,
    		}
    	}
    	if encryptionKey != "" {
    		data, err = madmin.DecryptData(encryptionKey, bytes.NewReader(data))
    		if err != nil {
    			return SRError{
    				Cause: err,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

                        }
                        else {
                            log.debug("Initialize signing");
                            byte[] signingKey = npa.getSigningKey(getContext(), negoResp.getServerData().encryptionKey);
                            if ( signingKey == null ) {
                                throw new SmbException("Need a signature key but the server did not provide one");
                            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

                return null;
            }
    
            if ( this.negotiated instanceof SmbComNegotiateResponse ) {
                return ( (SmbComNegotiateResponse) this.negotiated ).getServerData().encryptionKey;
            }
            return null;
        }
    
    
        @Override
        public boolean isSigningOptional () throws SmbException {
            if ( this.signingEnforced ) {
                return false;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top