Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getPrivateKey (0.48 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/Authentication.java

            this.passphrase = passphrase;
        }
    
        /**
         * Get the absolute path to the private key file.
         *
         * @return absolute path to private key
         */
        public String getPrivateKey() {
            return privateKey;
        }
    
        /**
         * Set the absolute path to private key file.
         *
         * @param privateKey path to private key in local file system
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. 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)
  3. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

            .heldCertificate(certificate, intermediate.certificate)
            .build()
        assertPrivateKeysEquals(
          certificate.keyPair.private,
          handshakeCertificates.keyManager.getPrivateKey("private"),
        )
        assertThat(handshakeCertificates.keyManager.getCertificateChain("private").toList())
          .isEqualTo(listOf(certificate.certificate, intermediate.certificate))
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                AuthenticationBuilder authBuilder = new AuthenticationBuilder();
                authBuilder.addUsername(server.getUsername()).addPassword(server.getPassword());
                authBuilder.addPrivateKey(server.getPrivateKey(), server.getPassphrase());
                authSelector.add(server.getId(), authBuilder.build());
    
                if (server.getConfiguration() != null) {
                    XmlNode dom = server.getDelegate().getConfiguration();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                AuthenticationBuilder authBuilder = new AuthenticationBuilder();
                authBuilder.addUsername(auth.getUsername()).addPassword(auth.getPassword());
                authBuilder.addPrivateKey(auth.getPrivateKey(), auth.getPassphrase());
                result = authBuilder.build();
            }
            return result;
        }
    
        private static Proxy toProxy(org.apache.maven.repository.Proxy proxy) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. 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)
Back to top