Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setPrivateKey (0.09 sec)

  1. docs/debugging/inspect/decrypt-v2.go

    	privKey, err := bytesToPrivateKey(pk)
    	if err != nil {
    		return fmt.Errorf("decoding key returned: %w", err)
    	}
    
    	sr, err := estream.NewReader(r)
    	if err != nil {
    		return err
    	}
    
    	sr.SetPrivateKey(privKey)
    	sr.ReturnNonDecryptable(true)
    
    	// Debug corrupted streams.
    	if false {
    		sr.SkipEncrypted(true)
    		return sr.DebugStream(os.Stdout)
    	}
    	extracted := false
    	for {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 11 21:22:47 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/Authentication.java

            return privateKey;
        }
    
        /**
         * Set the absolute path to private key file.
         *
         * @param privateKey path to private key in local file system
         */
        public void setPrivateKey(final String privateKey) {
            this.privateKey = privateKey;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                                authInfo.setUserName(server.getUsername());
                                authInfo.setPassword(server.getPassword());
                                authInfo.setPrivateKey(server.getPrivateKey());
                                authInfo.setPassphrase(server.getPassphrase());
    
                                return authInfo;
                            }
                        }
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                    Authentication result = new Authentication(
                            authCtx.get(AuthenticationContext.USERNAME), authCtx.get(AuthenticationContext.PASSWORD));
                    result.setPrivateKey(authCtx.get(AuthenticationContext.PRIVATE_KEY_PATH));
                    result.setPassphrase(authCtx.get(AuthenticationContext.PRIVATE_KEY_PASSPHRASE));
                    authCtx.close();
                    return result;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                            }
                        }
    
                        Authentication authentication = new Authentication(server.getUsername(), server.getPassword());
                        authentication.setPrivateKey(server.getPrivateKey());
                        authentication.setPassphrase(server.getPassphrase());
    
                        repository.setAuthentication(authentication);
                    } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                        Authentication result = new Authentication(
                                authCtx.get(AuthenticationContext.USERNAME), authCtx.get(AuthenticationContext.PASSWORD));
                        result.setPrivateKey(authCtx.get(AuthenticationContext.PRIVATE_KEY_PATH));
                        result.setPassphrase(authCtx.get(AuthenticationContext.PRIVATE_KEY_PASSPHRASE));
                        authCtx.close();
                        return result;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top