public class X509Helper
extends java.lang.Object
Constructor and Description |
---|
X509Helper() |
Modifier and Type | Method and Description |
---|---|
com.sshtools.common.ssh.components.SshKeyPair[] |
loadKeystore(java.io.File keystoreFile,
java.lang.String alias,
java.lang.String storePassphrase,
java.lang.String keyPassphrase) |
com.sshtools.common.ssh.components.SshKeyPair[] |
loadKeystore(java.io.File keystoreFile,
java.lang.String alias,
java.lang.String storePassphrase,
java.lang.String keyPassphrase,
java.lang.String storeType) |
com.sshtools.common.ssh.components.SshKeyPair[] |
loadKeystore(java.io.InputStream in,
java.lang.String alias,
java.lang.String storePassphrase,
java.lang.String keyPassphrase)
Load a keystore for use as an SSH host key.
|
com.sshtools.common.ssh.components.SshKeyPair[] |
loadKeystore(java.io.InputStream in,
java.lang.String alias,
java.lang.String storePassphrase,
java.lang.String keyPassphrase,
java.lang.String storeType)
Load a keystore for use as an SSH host key.
|
public com.sshtools.common.ssh.components.SshKeyPair[] loadKeystore(java.io.InputStream in, java.lang.String alias, java.lang.String storePassphrase, java.lang.String keyPassphrase) throws java.io.IOException
keystoreFile
- path to the keystore filealias
- the alias of the key in the keystorestorePassphrase
- the passphrase of the keystorekeyPassphrase
- the passphrase of the keyjava.io.IOException
public com.sshtools.common.ssh.components.SshKeyPair[] loadKeystore(java.io.InputStream in, java.lang.String alias, java.lang.String storePassphrase, java.lang.String keyPassphrase, java.lang.String storeType) throws java.io.IOException
keystoreFile
- path to the keystore filealias
- the alias of the key in the keystorestorePassphrase
- the passphrase of the keystorekeyPassphrase
- the passphrase of the keyjava.io.IOException
public com.sshtools.common.ssh.components.SshKeyPair[] loadKeystore(java.io.File keystoreFile, java.lang.String alias, java.lang.String storePassphrase, java.lang.String keyPassphrase) throws java.io.IOException
java.io.IOException
public com.sshtools.common.ssh.components.SshKeyPair[] loadKeystore(java.io.File keystoreFile, java.lang.String alias, java.lang.String storePassphrase, java.lang.String keyPassphrase, java.lang.String storeType) throws java.io.IOException
java.io.IOException
Copyright © 2021. All rights reserved.