Package | Description |
---|---|
com.maverick.agent | |
com.maverick.agent.openssh | |
com.maverick.ssh |
This package contains a set of general interface contracts for SSH communication that
provide the core set of functionality available in both the SSH1 and SSH2 protocol specifications.
|
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.util |
A set of SSHTools utility classes.
|
com.sshtools.publickey |
This package contains utility classes for loading/storing public/private keys
and is based on the SSHTools key format architecture.
|
Modifier and Type | Method and Description |
---|---|
boolean |
KeyStore.addKey(SshKeyPair pair,
String description,
KeyConstraints cs) |
boolean |
InMemoryKeyStore.addKey(SshKeyPair pair,
String description,
KeyConstraints cs) |
Modifier and Type | Method and Description |
---|---|
protected SshKeyPair |
SshAgentAddKey.decodeKey(ByteArrayReader bar) |
Constructor and Description |
---|
PublicKeyAuthentication(SshKeyPair pair) |
Modifier and Type | Class and Description |
---|---|
class |
SshCertificate |
Modifier and Type | Method and Description |
---|---|
abstract SshKeyPair |
ComponentManager.generateDsaKeyPair(int bits)
Generate a new DSA public/private key pair.
|
abstract SshKeyPair |
ComponentManager.generateEcdsaKeyPair(int bits)
Generate a new ECDSA key pair.
|
abstract SshKeyPair |
ComponentManager.generateEd25519KeyPair() |
abstract SshKeyPair |
ComponentManager.generateEd448KeyPair() |
abstract SshKeyPair |
ComponentManager.generateRsaKeyPair(int bits,
int version)
Generate an RSA public/private pair.
|
static SshKeyPair |
SshKeyPair.getKeyPair(SshPrivateKey prv,
SshPublicKey pub)
Wraps a public/private key pair into an SshKeyPair instance.
|
abstract SshKeyPair[] |
ComponentManager.loadKeystore(File keystoreFile,
String alias,
String storePassphrase,
String keyPassphrase)
Load a host key from a keystore file.
|
abstract SshKeyPair[] |
ComponentManager.loadKeystore(File keystoreFile,
String alias,
String storePassphrase,
String keyPassphrase,
String storeType) |
abstract SshKeyPair[] |
ComponentManager.loadKeystore(InputStream in,
String alias,
String storePassphrase,
String keyPassphrase)
Load a host key from a keystore InputStream.
|
abstract SshKeyPair[] |
ComponentManager.loadKeystore(InputStream in,
String alias,
String storePassphrase,
String keyPassphrase,
String storeType) |
Constructor and Description |
---|
SshCertificate(SshKeyPair pair,
OpenSshCertificate certificate) |
Modifier and Type | Method and Description |
---|---|
SshKeyPair |
JCEComponentManager.generateDsaKeyPair(int bits) |
SshKeyPair |
JCEComponentManager.generateEcdsaKeyPair(int bits) |
SshKeyPair |
JCEComponentManager.generateEd25519KeyPair() |
SshKeyPair |
JCEComponentManager.generateEd448KeyPair() |
SshKeyPair |
JCEComponentManager.generateRsaKeyPair(int bits,
int version) |
SshKeyPair[] |
JCEComponentManager.loadKeystore(File keystoreFile,
String alias,
String storePassphrase,
String keyPassphrase) |
SshKeyPair[] |
JCEComponentManager.loadKeystore(File keystoreFile,
String alias,
String storePassphrase,
String keyPassphrase,
String storeType) |
SshKeyPair[] |
JCEComponentManager.loadKeystore(InputStream in,
String alias,
String storePassphrase,
String keyPassphrase)
Load a keystore for use as an SSH host key.
|
SshKeyPair[] |
JCEComponentManager.loadKeystore(InputStream in,
String alias,
String storePassphrase,
String keyPassphrase,
String storeType)
Load a keystore for use as an SSH host key.
|
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 |
---|---|
static SshKeyPair |
SshKeyUtils.makeRSAWithSHA256Signature(SshKeyPair pair) |
static SshKeyPair |
SshKeyUtils.makeRSAWithSHA512Signature(SshKeyPair pair) |
static void |
SshKeyUtils.savePrivateKey(SshKeyPair pair,
String passphrase,
String comment,
File privateKeyFile) |
Modifier and Type | Method and Description |
---|---|
static SshKeyPair |
SshKeyPairGenerator.generateKeyPair() |
static SshKeyPair |
SshKeyPairGenerator.generateKeyPair(String algorithm) |
static SshKeyPair |
SshKeyPairGenerator.generateKeyPair(String algorithm,
int bits)
Generates a new key pair.
|
SshKeyPair |
SshPrivateKeyFile.toKeyPair(String passphrase)
Decode the private key using the users passphrase.
|
Modifier and Type | Method and Description |
---|---|
static SshPrivateKeyFile |
SshPrivateKeyFileFactory.create(SshKeyPair pair,
String passphrase,
String comment,
int format) |
static void |
SshPrivateKeyFileFactory.createFile(SshKeyPair key,
String passphrase,
String comment,
int format,
File toFile)
Take a SshPrivateKey and write it to a
file.
|
static SshCertificate |
SshCertificateAuthority.generateCertificate(SshKeyPair key,
long serial,
int type,
String keyId,
List<String> validPrincipals,
int validityDays,
List<CriticalOption> criticalOptions,
List<CertificateExtension> extensions,
SshKeyPair signedBy) |
static SshCertificate |
SshCertificateAuthority.generateCertificate(SshKeyPair key,
long serial,
int type,
String keyId,
List<String> validPrincipals,
int validityDays,
Map<String,String> criticalOptions,
List<String> extensions,
SshKeyPair signedBy)
Deprecated.
This method does not handle extensions correctly. Use alternative method that takes CertificateExtension
instances for extensions and critical options.
|
static SshCertificate |
SshCertificateAuthority.generateCertificate(SshKeyPair key,
long serial,
int type,
String keyId,
String principal,
int validityDays,
List<CertificateExtension> extensions,
SshKeyPair signedBy) |
static SshCertificate |
SshCertificateAuthority.generateCertificate(SshKeyPair key,
long serial,
int type,
String keyId,
String principal,
int validityDays,
SshKeyPair signedBy) |
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 SshCertificate |
SshCertificateAuthority.generateHostCertificate(SshKeyPair key,
long serial,
String hostname,
int validityDays,
SshKeyPair signedBy) |
static OpenSshCertificate |
SshCertificateAuthority.generateHostCertificate(SshPublicKey key,
long serial,
String hostname,
int validityDays,
SshKeyPair signedBy) |
static SshCertificate |
SshCertificateAuthority.generateUserCertificate(SshKeyPair key,
long serial,
String principalName,
int validityDays,
SshKeyPair signedBy) |
static OpenSshCertificate |
SshCertificateAuthority.generateUserCertificate(SshPublicKey key,
long serial,
String principalName,
int validityDays,
SshKeyPair signedBy) |
Copyright © 2024. All rights reserved.