Package | Description |
---|---|
com.maverick.ssh | |
com.maverick.ssh.components |
This package contains an abstract cryptographic provider for the SSH protocol.
|
com.maverick.ssh.components.jce |
This package contains a set of algoritm implementations that enable the Maverick API
to use a Java Cryptography Extension provider.
|
com.maverick.sshd |
This package contains the base implementation of the SSH server.
|
com.maverick.sshd.auth | |
com.maverick.sshd.components |
This package contains the specific server components required by the Maverick SSHD server.
|
com.maverick.sshd.components.jce.server |
This package contains a set of algoritm implementations that enable the Maverick SSHD
to use a Java Cryptography Extension provider.
|
com.maverick.util |
A set of SSHTools utility classes.
|
com.sshtools.publickey | |
com.sshtools.publickey.authorized |
Modifier and Type | Method and Description |
---|---|
static String |
SshKeyFingerprint.getBubbleBabble(SshPublicKey key) |
static String |
SshKeyFingerprint.getFingerprint(SshPublicKey key) |
static String |
SshKeyFingerprint.getFingerprint(SshPublicKey key,
String algorithm) |
static String |
SshKeyFingerprint.getFingerprint(SshPublicKey key,
String algorithm,
SshKeyFingerprint.Encoding encoding) |
Modifier and Type | Interface and Description |
---|---|
interface |
SshDsaPublicKey
This interface should be implemented by all DSA public key implementations.
|
interface |
SshRsaPublicKey
This interface should be implemented by all RSA public key implementations.
|
Modifier and Type | Method and Description |
---|---|
SshPublicKey |
SshKeyPair.getPublicKey()
Get the public key.
|
Modifier and Type | Method and Description |
---|---|
ComponentFactory<SshPublicKey> |
ComponentManager.supportedPublicKeys()
Deprecated.
Preferences should be configured on Ssh2Context or SshContext objects and not directly on the ComponentManager.
|
ComponentFactory<SshPublicKey> |
ComponentManager.supportedPublicKeys(boolean clone)
Deprecated.
Preferences should be configured on Ssh2Context or SshContext objects and not directly on the ComponentManager.
|
Modifier and Type | Method and Description |
---|---|
static SshKeyPair |
SshKeyPair.getKeyPair(SshPrivateKey prv,
SshPublicKey pub)
Wraps a public/private key pair into an SshKeyPair instance.
|
void |
SshKeyPair.setPublicKey(SshPublicKey publickey)
Set the public key
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
ComponentManager.initializePublicKeyFactory(ComponentFactory<SshPublicKey> publickeys)
Initialize the public key factory.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SshEd25519PublicKey |
interface |
SshEd448PublicKey |
Modifier and Type | Class and Description |
---|---|
class |
OpenSshCertificate
To generate a key that supports this use
ssh-keygen -s ca_key -I 2 -n lee,kelly -z 12345 -O force-command=ls -O
source-address=192.168.82.0/24 -O no-port-forwarding user_key.pub
|
class |
OpenSshDsaCertificate |
class |
OpenSshEcdsaCertificate |
class |
OpenSshEcdsaSha2Nist256Certificate |
class |
OpenSshEcdsaSha2Nist384Certificate |
class |
OpenSshEcdsaSha2Nist521Certificate |
class |
OpenSshEd25519Certificate |
class |
OpenSshRsaCertificate
A RSA public key implementation which uses a JCE provider.
|
class |
OpenSshRsaSha256Certificate
A RSA public key implementation which uses a JCE provider.
|
class |
OpenSshRsaSha512Certificate
A RSA public key implementation which uses a JCE provider.
|
class |
Ssh1RsaPublicKey
RSA public key implementation for the SSH1 protocol.
|
class |
Ssh2DsaPublicKey
A DSA public key implementation which uses a JCE provider.
|
class |
Ssh2EcdsaSha2Nist256PublicKey |
class |
Ssh2EcdsaSha2Nist384PublicKey |
class |
Ssh2EcdsaSha2Nist521PublicKey |
class |
Ssh2EcdsaSha2NistPublicKey |
class |
Ssh2RsaPublicKey
A RSA public key implementation which uses a JCE provider.
|
class |
Ssh2RsaPublicKeySHA256 |
class |
Ssh2RsaPublicKeySHA512 |
class |
SshEd25519PublicKeyJCE |
class |
SshEd448PublicKeyJCE |
class |
SshX509DsaPublicKey
Basic implementation of X509 certificate support.
|
class |
SshX509DsaPublicKeyRfc6187 |
class |
SshX509EcdsaSha2Nist256Rfc6187 |
class |
SshX509EcdsaSha2Nist384Rfc6187 |
class |
SshX509EcdsaSha2Nist521Rfc6187 |
class |
SshX509EcdsaSha2NistPublicKeyRfc6187 |
class |
SshX509Rsa2048Sha256Rfc6187 |
class |
SshX509RsaPublicKey
Basic implementation of X509 certificate support.
|
class |
SshX509RsaPublicKeyRfc6187 |
class |
SshX509RsaSha1PublicKey
Basic implementation of X509 certificate support.
|
Modifier and Type | Method and Description |
---|---|
SshPublicKey |
OpenSshCertificate.getSignedBy() |
SshPublicKey |
OpenSshCertificate.getSignedKey() |
Modifier and Type | Method and Description |
---|---|
void |
OpenSshCertificate.sign(SshPublicKey publicKey,
UnsignedInteger64 serial,
int type,
String keyId,
List<String> validPrincipals,
UnsignedInteger64 validAfter,
UnsignedInteger64 validBefore,
List<CriticalOption> criticalOptions,
List<CertificateExtension> extensions,
SshKeyPair signingKey) |
Modifier and Type | Method and Description |
---|---|
protected void |
JCEComponentManager.initializePublicKeyFactory(ComponentFactory<SshPublicKey> publickeys) |
Modifier and Type | Method and Description |
---|---|
ComponentFactory<SshPublicKey> |
SshContext.supportedPublicKeys() |
Modifier and Type | Method and Description |
---|---|
void |
PublicKeyAuthenticationProvider.add(SshPublicKey key,
String comment,
Connection con) |
boolean |
PublicKeyWithVerifyAuthenticationProvider.checkKey(SshPublicKey key,
Connection con) |
boolean |
X509PublicKeyStore.isAuthorizedKey(SshPublicKey key,
Connection con) |
boolean |
PublicKeyStore.isAuthorizedKey(SshPublicKey key,
Connection con)
Check the supplied public key against the users authorized keys.
|
boolean |
PublicKeyAuthenticationProvider.isAuthorizedKey(SshPublicKey key,
Connection con)
Check the supplied public key against the users authorized keys.
|
boolean |
AuthorizedKeysStoreImpl.isAuthorizedKey(SshPublicKey key,
Connection con)
Checks the given public key by comparing it against the public keys stored
in the users authorized_keys file.
|
void |
PublicKeyAuthenticationProvider.remove(SshPublicKey key,
Connection con) |
boolean |
PublicKeyAuthenticationVerifier.verifySignature(SshPublicKey key,
byte[] signature,
byte[] data) |
boolean |
DefaultPublicKeyAuthenticationVerifier.verifySignature(SshPublicKey key,
byte[] signature,
byte[] data) |
Modifier and Type | Method and Description |
---|---|
void |
UniversalAuthenticationProvider.add(SshPublicKey key,
String comment,
Connection con) |
void |
OpenSshCertificateAuthenticationProvider.add(SshPublicKey key,
String comment,
Connection con) |
void |
InMemoryPublicKeyProvider.add(SshPublicKey key,
String comment,
Connection con) |
void |
DefaultPublicKeyAuthenticationProvider.add(SshPublicKey key,
String comment,
Connection con) |
void |
AuthorizedKeysPublicKeyAuthenticationProvider.add(SshPublicKey key,
String comment,
Connection con) |
void |
OpenSshCertificateAuthenticationProvider.addCAKey(SshPublicKey caKey) |
boolean |
InMemoryPublicKeyProvider.checkKey(SshPublicKey key,
Connection con) |
boolean |
UniversalAuthenticationProvider.isAuthorizedKey(SshPublicKey key,
Connection con) |
boolean |
OpenSshCertificateAuthenticationProvider.isAuthorizedKey(SshPublicKey key,
Connection con) |
boolean |
InMemoryPublicKeyProvider.isAuthorizedKey(SshPublicKey key,
Connection con) |
boolean |
AuthorizedKeysPublicKeyAuthenticationProvider.isAuthorizedKey(SshPublicKey key,
Connection con)
Checks the given public key by comparing it against the public keys
stored in the users authorized_keys file.
|
void |
UniversalAuthenticationProvider.remove(SshPublicKey key,
Connection con) |
void |
OpenSshCertificateAuthenticationProvider.remove(SshPublicKey key,
Connection con) |
void |
InMemoryPublicKeyProvider.remove(SshPublicKey key,
Connection con) |
void |
DefaultPublicKeyAuthenticationProvider.remove(SshPublicKey key,
Connection con) |
void |
AuthorizedKeysPublicKeyAuthenticationProvider.remove(SshPublicKey key,
Connection con) |
void |
OpenSshCertificateAuthenticationProvider.removeKey(SshPublicKey caKey) |
Constructor and Description |
---|
InMemoryPublicKeyProvider(SshPublicKey... keys) |
OpenSshCertificateAuthenticationProvider(SshPublicKey... caPublicKey) |
Constructor and Description |
---|
OpenSshCertificateAuthenticationProvider(Collection<SshPublicKey> caPublicKeys) |
Modifier and Type | Field and Description |
---|---|
protected SshPublicKey |
SshKeyExchangeServer.pubkey |
Modifier and Type | Method and Description |
---|---|
abstract void |
SshKeyExchangeServer.init(AbstractServerTransport transport,
String clientId,
String serverId,
byte[] clientKexInit,
byte[] serverKexInit,
SshPrivateKey prvkey,
SshPublicKey pubkey,
boolean firstPacketFollows,
boolean useFirstPacket) |
Modifier and Type | Method and Description |
---|---|
void |
Rsa2048SHA2KeyExchange.init(AbstractServerTransport transport,
String clientIdentification,
String serverIdentification,
byte[] clientKexInit,
byte[] serverKexInit,
SshPrivateKey prvkey,
SshPublicKey pubkey,
boolean firstPacketFollows,
boolean useFirstPacket) |
void |
Rsa1024SHA1KeyExchange.init(AbstractServerTransport transport,
String clientIdentification,
String serverIdentification,
byte[] clientKexInit,
byte[] serverKexInit,
SshPrivateKey prvkey,
SshPublicKey pubkey,
boolean firstPacketFollows,
boolean useFirstPacket) |
void |
DiffieHellmanGroupExchangeSha1JCE.init(AbstractServerTransport transport,
String clientIdentification,
String serverIdentification,
byte[] clientKexInit,
byte[] serverKexInit,
SshPrivateKey prvkey,
SshPublicKey pubkey,
boolean firstPacketFollows,
boolean useFirstPacket) |
void |
DiffieHellmanGroup1Sha1JCE.init(AbstractServerTransport transport,
String clientIdentification,
String serverIdentification,
byte[] clientKexInit,
byte[] serverKexInit,
SshPrivateKey prvkey,
SshPublicKey pubkey,
boolean firstPacketFollows,
boolean useFirstPacket) |
void |
DiffieHellmanGroup14Sha1JCE.init(AbstractServerTransport transport,
String clientId,
String serverId,
byte[] clientKexInit,
byte[] serverKexInit,
SshPrivateKey prvkey,
SshPublicKey pubkey,
boolean firstPacketFollows,
boolean useFirstPacket) |
void |
DiffieHellmanGroup.init(AbstractServerTransport transport,
String clientIdentification,
String serverIdentification,
byte[] clientKexInit,
byte[] serverKexInit,
SshPrivateKey prvkey,
SshPublicKey pubkey,
boolean firstPacketFollows,
boolean useFirstPacket) |
void |
DiffieHellmanEcdh.init(AbstractServerTransport transport,
String clientId,
String serverId,
byte[] clientKexInit,
byte[] serverKexInit,
SshPrivateKey prvkey,
SshPublicKey pubkey,
boolean firstPacketFollows,
boolean useFirstPacket) |
void |
Curve25519SHA256.init(AbstractServerTransport transport,
String clientId,
String serverId,
byte[] clientKexInit,
byte[] serverKexInit,
SshPrivateKey prvkey,
SshPublicKey pubkey,
boolean firstPacketFollows,
boolean useFirstPacket) |
Modifier and Type | Method and Description |
---|---|
static SshPublicKey |
SshKeyUtils.getPublicKey(File key) |
static SshPublicKey |
SshKeyUtils.getPublicKey(InputStream key) |
static SshPublicKey |
SshKeyUtils.getPublicKey(String formattedKey) |
Modifier and Type | Method and Description |
---|---|
static String |
SshKeyUtils.getBubbleBabble(SshPublicKey pub) |
static String |
SshKeyUtils.getFingerprint(SshPublicKey key) |
static String |
SshKeyUtils.getFormattedKey(SshPublicKey key,
String comment) |
static String |
SshKeyUtils.getFormattedKey(SshPublicKey key,
String comment,
int format) |
static String |
SshKeyUtils.getOpenSSHFormattedKey(SshPublicKey key) |
static String |
SshKeyUtils.getOpenSSHFormattedKey(SshPublicKey key,
String comment) |
Modifier and Type | Method and Description |
---|---|
static SshPublicKey |
SshPublicKeyFileFactory.decodeSSH2PublicKey(byte[] encoded)
Decode an SSH2 encoded public key as specified in the SSH2 transport
protocol.
|
static SshPublicKey |
SshPublicKeyFileFactory.decodeSSH2PublicKey(byte[] encoded,
int off,
int len) |
static SshPublicKey |
SshPublicKeyFileFactory.decodeSSH2PublicKey(String algorithm,
byte[] encoded) |
SshPublicKey |
SshPublicKeyFile.toPublicKey()
Convert the key file into a usable SshPublicKey.
|
SshPublicKey |
SECSHPublicKeyFile.toPublicKey() |
SshPublicKey |
OpenSSHPublicKeyFile.toPublicKey() |
Modifier and Type | Method and Description |
---|---|
static SshPublicKeyFile |
SshPublicKeyFileFactory.create(SshPublicKey key,
String comment,
int format)
Create a file representation from an existing public key.
|
static SshPublicKeyFile |
SshPublicKeyFileFactory.create(SshPublicKey key,
String options,
String comment,
int format)
Create a file representation from an existing public key.
|
static void |
SshPublicKeyFileFactory.createFile(SshPublicKey key,
String comment,
int format,
File toFile)
Take a SshPublicKey and write it to a
file
|
static OpenSshCertificate |
SshCertificateAuthority.generateCertificate(SshPublicKey key,
long serial,
int type,
String keyId,
List<String> validPrincipals,
int validityDays,
List<CriticalOption> criticalOptions,
List<CertificateExtension> extensions,
SshKeyPair signedBy) |
static OpenSshCertificate |
SshCertificateAuthority.generateCertificate(SshPublicKey key,
long serial,
int type,
String keyId,
String principal,
int validityDays,
List<CertificateExtension> extensions,
SshKeyPair signedBy) |
static OpenSshCertificate |
SshCertificateAuthority.generateCertificate(SshPublicKey key,
long serial,
int type,
String keyId,
String principal,
int validityDays,
SshKeyPair signedBy) |
static OpenSshCertificate |
SshCertificateAuthority.generateHostCertificate(SshPublicKey key,
long serial,
String hostname,
int validityDays,
SshKeyPair signedBy) |
static OpenSshCertificate |
SshCertificateAuthority.generateUserCertificate(SshPublicKey key,
long serial,
String principalName,
int validityDays,
SshKeyPair signedBy) |
Modifier and Type | Method and Description |
---|---|
void |
AuthorizedKeyFile.addKey(SshPublicKey key,
String comment) |
void |
AuthorizedKeyFile.addKey(SshPublicKey key,
String comment,
Option<?>... options) |
PublicKeyEntry |
AuthorizedKeyFile.getKeyEntry(SshPublicKey key) |
boolean |
AuthorizedKeyFile.isAuthorizedKey(SshPublicKey key) |
void |
AuthorizedKeyFile.removeKeys(SshPublicKey... keys) |
void |
AuthorizedKeyFile.setOption(SshPublicKey key,
Option<?> option) |
Copyright © 2024. All rights reserved.