public class SSHKeyPair extends Object
| Constructor and Description |
|---|
SSHKeyPair(SSHPublicKey publicKey,
java.util.function.Supplier<byte[]> privateKeySupplier) |
| Modifier and Type | Method and Description |
|---|---|
java.util.function.Supplier<byte[]> |
getPrivateKeySupplier()
Returns a
Supplier that will supply the private key for SSH. |
SSHPublicKey |
getPublicKey()
Returns a
SSHPublicKey that contains the user and public key for SSH. |
public SSHKeyPair(SSHPublicKey publicKey, java.util.function.Supplier<byte[]> privateKeySupplier)
public SSHPublicKey getPublicKey()
SSHPublicKey that contains the user and public key for SSH.public java.util.function.Supplier<byte[]> getPrivateKeySupplier()
Supplier that will supply the private key for SSH.Copyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.