Package | Description |
---|---|
com.maverick.nio |
This package contains a generic framework for Java NIO daemons.
|
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.sshd.sftp.extensions | |
com.sshtools.proxy | |
com.sshtools.publickey | |
com.sshtools.server.vshell |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
Daemon.configure(DaemonContext context)
Called before the server is started so that you can configure the server
to your own requirements.
|
Modifier and Type | Method and Description |
---|---|
SshException |
SshIOException.getRealException()
Get the real exception
|
Modifier and Type | Method and Description |
---|---|
void |
SecurityPolicy.configure(String... matches) |
void |
DefaultSecurityPolicy.configure(String... matches) |
void |
AdaptiveSecurityPolicy.configure(String... matches) |
static String |
AdaptiveConfiguration.csv(ComponentFactory<?> algs,
SecurityLevel level) |
static String |
SshKeyFingerprint.getFingerprint(byte[] encoded)
Generate an SSH key fingerprint as defined in
draft-ietf-secsh-fingerprint-00.txt.
|
static String |
SshKeyFingerprint.getFingerprint(byte[] encoded,
String algorithm)
Generate an SSH key fingerprint with a specific algorithm.
|
static String |
SshKeyFingerprint.getFingerprint(byte[] encoded,
String algorithm,
SshKeyFingerprint.Encoding encoding) |
static String |
SshKeyFingerprint.getFingerprint(SshPublicKey key,
String algorithm) |
static String |
SshKeyFingerprint.getFingerprint(SshPublicKey key,
String algorithm,
SshKeyFingerprint.Encoding encoding) |
static String |
AdaptiveConfiguration.getSecurityLevel(SecurityLevel securityLevel,
String configurationDirective,
ComponentFactory<?> factory) |
static void |
AdaptiveConfiguration.resetConfiguration() |
Constructor and Description |
---|
SshIOException(SshException realEx)
Construct the exception with the real exception.
|
Constructor and Description |
---|
AdaptiveSecurityPolicy() |
Modifier and Type | Method and Description |
---|---|
String |
ComponentFactory.changePositionofAlgorithm(String name,
int position) |
void |
ComponentFactory.configureSecurityLevel(SecurityLevel securityLevel) |
void |
ComponentFactory.configureSecurityLevel(SecurityLevel securityLevel,
boolean locked) |
abstract SshDsaPrivateKey |
ComponentManager.createDsaPrivateKey(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger x,
BigInteger y)
Create an instance of a DSA private key.
|
abstract SshDsaPublicKey |
ComponentManager.createDsaPublicKey(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger y)
Create an instance of a DSA public key.
|
String |
ComponentFactory.createNewOrdering(int[] ordering) |
abstract SshRsaPrivateCrtKey |
ComponentManager.createRsaPrivateCrtKey(BigInteger modulus,
BigInteger publicExponent,
BigInteger privateExponent,
BigInteger primeP,
BigInteger primeQ,
BigInteger crtCoefficient)
Create an instance of an RSA co-effecient private key.
|
abstract SshRsaPrivateCrtKey |
ComponentManager.createRsaPrivateCrtKey(BigInteger modulus,
BigInteger publicExponent,
BigInteger privateExponent,
BigInteger primeP,
BigInteger primeQ,
BigInteger primeExponentP,
BigInteger primeExponentQ,
BigInteger crtCoefficient)
Create an instance of an RSA co-efficent private key.
|
abstract SshRsaPrivateKey |
ComponentManager.createRsaPrivateKey(BigInteger modulus,
BigInteger privateExponent)
Create an instance of an RSA private key.
|
abstract SshRsaPublicKey |
ComponentManager.createRsaPublicKey(BigInteger modulus,
BigInteger publicExponent,
int version)
Create an instance of an RSA public key.
|
abstract SshRsaPublicKey |
ComponentManager.createSsh2RsaPublicKey()
Create an instance of an SSH2 RSA public key.
|
BigInteger |
SshRsaPrivateCrtKey.doPrivate(BigInteger input) |
BigInteger |
SshRsaPublicKey.doPublic(BigInteger input) |
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.
|
byte[] |
SshPublicKey.getEncoded()
Encode the public key into a blob of binary data, the encoded result will be
passed into init to recreate the key.
|
String |
SshPublicKey.getFingerprint()
Return an SSH fingerprint of the public key
|
Object |
ComponentFactory.getInstance(String name)
Get a new instance of a supported component.
|
abstract SshSecureRandomGenerator |
ComponentManager.getRND()
Get the secure random number generator.
|
protected void |
ComponentManager.init() |
void |
SshHmac.init(byte[] keydata) |
void |
NoneHmac.init(byte[] keydata) |
void |
SshPublicKey.init(byte[] blob,
int start,
int len)
Initialize the public key from a blob of binary data.
|
void |
SshSecureRandomGenerator.nextBytes(byte[] bytes,
int off,
int len) |
String |
ComponentFactory.order(String[] ordering) |
String |
ComponentFactory.selectStrongestComponent(String[] remoteAlgs) |
void |
ComponentManager.setMinimumSecurityLevel(SecurityLevel securityLevel) |
void |
ComponentManager.setMinimumSecurityLevel(SecurityLevel securityLevel,
boolean managedSecurity) |
void |
SshKeyExchange.test() |
boolean |
SshPublicKey.verifySignature(byte[] signature,
byte[] data)
Verify the signature.
|
Modifier and Type | Method and Description |
---|---|
SshDsaPrivateKey |
JCEComponentManager.createDsaPrivateKey(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger x,
BigInteger y) |
SshDsaPublicKey |
JCEComponentManager.createDsaPublicKey(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger y) |
SshRsaPrivateCrtKey |
JCEComponentManager.createRsaPrivateCrtKey(BigInteger modulus,
BigInteger publicExponent,
BigInteger privateExponent,
BigInteger primeP,
BigInteger primeQ,
BigInteger crtCoefficient) |
SshRsaPrivateCrtKey |
JCEComponentManager.createRsaPrivateCrtKey(BigInteger modulus,
BigInteger publicExponent,
BigInteger privateExponent,
BigInteger primeP,
BigInteger primeQ,
BigInteger primeExponentP,
BigInteger primeExponentQ,
BigInteger crtCoefficient) |
SshRsaPrivateKey |
JCEComponentManager.createRsaPrivateKey(BigInteger modulus,
BigInteger privateExponent) |
SshRsaPublicKey |
JCEComponentManager.createRsaPublicKey(BigInteger modulus,
BigInteger publicExponent,
int version) |
SshRsaPublicKey |
JCEComponentManager.createSsh2RsaPublicKey() |
protected void |
OpenSshCertificate.decodeCertificate(ByteArrayReader reader) |
protected void |
OpenSshRsaSha512Certificate.decodePublicKey(ByteArrayReader reader) |
protected void |
OpenSshRsaSha256Certificate.decodePublicKey(ByteArrayReader reader) |
protected void |
OpenSshRsaCertificate.decodePublicKey(ByteArrayReader reader) |
protected void |
OpenSshEd25519Certificate.decodePublicKey(ByteArrayReader reader) |
protected void |
OpenSshEcdsaCertificate.decodePublicKey(ByteArrayReader reader) |
protected void |
OpenSshDsaCertificate.decodePublicKey(ByteArrayReader reader) |
protected abstract void |
OpenSshCertificate.decodePublicKey(ByteArrayReader reader) |
BigInteger |
Ssh2RsaPrivateCrtKey.doPrivate(BigInteger input) |
BigInteger |
Ssh2RsaPublicKey.doPublic(BigInteger input) |
BigInteger |
OpenSshRsaSha512Certificate.doPublic(BigInteger input) |
BigInteger |
OpenSshRsaSha256Certificate.doPublic(BigInteger input) |
BigInteger |
OpenSshRsaCertificate.doPublic(BigInteger input) |
protected void |
OpenSshCertificate.encodeCertificate(ByteArrayWriter writer) |
SshKeyPair |
JCEComponentManager.generateDsaKeyPair(int bits) |
SshKeyPair |
JCEComponentManager.generateEcdsaKeyPair(int bits) |
SshKeyPair |
JCEComponentManager.generateEd25519KeyPair() |
SshKeyPair |
JCEComponentManager.generateEd448KeyPair() |
SshKeyPair |
JCEComponentManager.generateRsaKeyPair(int bits,
int version) |
byte[] |
SshX509RsaSha1PublicKey.getEncoded()
Encode the public key into a blob of binary data, the encoded result will
be passed into init to recreate the key.
|
byte[] |
SshX509RsaPublicKeyRfc6187.getEncoded() |
byte[] |
SshX509RsaPublicKey.getEncoded()
Encode the public key into a blob of binary data, the encoded result
will be passed into init to recreate the key.
|
byte[] |
SshX509Rsa2048Sha256Rfc6187.getEncoded() |
byte[] |
SshX509EcdsaSha2NistPublicKeyRfc6187.getEncoded() |
byte[] |
SshX509DsaPublicKeyRfc6187.getEncoded() |
byte[] |
SshX509DsaPublicKey.getEncoded()
Encode the public key into a blob of binary data, the encoded result
will be passed into init to recreate the key.
|
byte[] |
SshEd448PublicKeyJCE.getEncoded() |
byte[] |
SshEd25519PublicKeyJCE.getEncoded() |
byte[] |
Ssh2RsaPublicKey.getEncoded() |
byte[] |
Ssh2EcdsaSha2NistPublicKey.getEncoded() |
byte[] |
Ssh2DsaPublicKey.getEncoded()
Encode the public key into a blob of binary data, the encoded result will
be passed into init to recreate the key.
|
byte[] |
Ssh1RsaPublicKey.getEncoded()
Get the encoded format required by SSH1
|
byte[] |
OpenSshCertificate.getEncoded() |
String |
SshEd448PublicKeyJCE.getFingerprint() |
String |
SshEd25519PublicKeyJCE.getFingerprint() |
String |
Ssh2RsaPublicKey.getFingerprint() |
String |
Ssh2EcdsaSha2NistPublicKey.getFingerprint() |
String |
Ssh2DsaPublicKey.getFingerprint() |
String |
OpenSshCertificate.getFingerprint() |
SshSecureRandomGenerator |
JCEComponentManager.getRND() |
OpenSshCertificate |
OpenSshCertificate.init(byte[] blob) |
void |
HmacSha512ETM.init(byte[] keydata) |
void |
HmacSha512.init(byte[] keydata) |
void |
HmacSha256_at_ssh_dot_com.init(byte[] keydata) |
void |
HmacSha256ETM.init(byte[] keydata) |
void |
HmacSha256.init(byte[] keydata) |
void |
HmacSha1ETM.init(byte[] keydata) |
void |
HmacSha196.init(byte[] keydata) |
void |
HmacSha1.init(byte[] keydata) |
void |
HmacRipeMd160ETM.init(byte[] keydata) |
void |
HmacRipeMd160.init(byte[] keydata) |
void |
AbstractHmac.init(byte[] keydata) |
void |
SshX509RsaSha1PublicKey.init(byte[] blob,
int start,
int len)
Initialize the public key from a blob of binary data.
|
void |
SshX509RsaPublicKeyRfc6187.init(byte[] blob,
int start,
int len) |
void |
SshX509RsaPublicKey.init(byte[] blob,
int start,
int len)
Initialize the public key from a blob of binary data.
|
void |
SshX509Rsa2048Sha256Rfc6187.init(byte[] blob,
int start,
int len) |
void |
SshX509EcdsaSha2NistPublicKeyRfc6187.init(byte[] blob,
int start,
int len) |
void |
SshX509DsaPublicKeyRfc6187.init(byte[] blob,
int start,
int len) |
void |
SshX509DsaPublicKey.init(byte[] blob,
int start,
int len)
Initialize the public key from a blob of binary data.
|
void |
SshEd448PublicKeyJCE.init(byte[] blob,
int start,
int len) |
void |
SshEd25519PublicKeyJCE.init(byte[] blob,
int start,
int len) |
void |
Ssh2RsaPublicKey.init(byte[] blob,
int start,
int len) |
void |
Ssh2EcdsaSha2NistPublicKey.init(byte[] blob,
int start,
int len) |
void |
Ssh2DsaPublicKey.init(byte[] blob,
int start,
int len)
Initialize the public key from a blob of binary data.
|
void |
OpenSshCertificate.init(byte[] blob,
int start,
int len) |
void |
SecureRND.nextBytes(byte[] bytes,
int off,
int len) |
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) |
void |
OpenSshCertificate.verify() |
boolean |
SshEd448PublicKeyJCE.verifySignature(byte[] signature,
byte[] data) |
boolean |
SshEd25519PublicKeyJCE.verifySignature(byte[] signature,
byte[] data) |
boolean |
Ssh2RsaPublicKey.verifySignature(byte[] signature,
byte[] data) |
boolean |
Ssh2EcdsaSha2NistPublicKey.verifySignature(byte[] signature,
byte[] data) |
boolean |
Ssh2DsaPublicKey.verifySignature(byte[] signature,
byte[] data)
Verify the signature.
|
boolean |
OpenSshRsaSha512Certificate.verifySignature(byte[] signature,
byte[] data) |
boolean |
OpenSshRsaSha256Certificate.verifySignature(byte[] signature,
byte[] data) |
boolean |
OpenSshRsaCertificate.verifySignature(byte[] signature,
byte[] data) |
boolean |
OpenSshEd25519Certificate.verifySignature(byte[] signature,
byte[] data)
Verify the signature.
|
boolean |
OpenSshEcdsaCertificate.verifySignature(byte[] signature,
byte[] data) |
boolean |
OpenSshDsaCertificate.verifySignature(byte[] signature,
byte[] data) |
Constructor and Description |
---|
Ssh2DsaPrivateKey(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger x,
BigInteger y) |
Modifier and Type | Method and Description |
---|---|
void |
PublicKeyAuthenticationProvider.add(SshPublicKey key,
String comment,
Connection con) |
void |
SshContext.enableFIPSMode()
Deprecated.
This method is out-of-date. Use JCEProvider.initializeDefaultProvider("BCFIPS") passing a FIPS approved JCE provider
in approved mode to restrict algorithms to only those supported by the approved FIPS environment.
|
static SshKeyPair |
SshContext.GenerateKeyFiles(File keyFilename,
String type,
int bitlength,
int privateKeyFormat,
int publicKeyFormat)
Deprecated.
use generateKeyFiles instead.
|
static SshKeyPair |
SshContext.generateKeyFiles(File keyFilename,
String type,
int bitlength,
int privateKeyFormat,
int publicKeyFormat,
String passphrase)
Generate a public and private key pair, save them to keyFilename and
keyFilename.pub, return the key pair
|
void |
SshContext.loadHostKey(InputStream in,
String type,
int bitlength) |
void |
SshContext.loadHostKey(InputStream in,
String type,
int bitlength,
int privateKeyFormat,
int publicKeyFormat,
String passPhrase) |
void |
SshContext.loadHostKey(InputStream in,
String type,
int bitlength,
String passPhrase) |
void |
SshContext.loadOrGenerateHostKey(File key,
String type,
int bitlength)
Load a host key from file, if the file does not exist then generate the
key.
|
void |
SshContext.loadOrGenerateHostKey(File key,
String type,
int bitlength,
int privateKeyFormat,
int publicKeyFormat,
String passPhrase)
Load a host key from file, if the file does not exist then generate the
key.
|
void |
SshContext.loadOrGenerateHostKey(File key,
String type,
int bitlength,
String passPhrase) |
byte[] |
TransportProtocol.makeSshKey(char chr,
int sizeRequired) |
void |
PublicKeyAuthenticationProvider.remove(SshPublicKey key,
Connection con) |
void |
SshContext.setCipherPreferredPositionCS(String name,
int position) |
void |
SshContext.setCipherPreferredPositionSC(String name,
int position) |
void |
SshContext.setKeyExchangePreferredPosition(String name,
int position) |
void |
SshContext.setMacPreferredPositionCS(String name,
int position) |
void |
SshContext.setMacPreferredPositionSC(String name,
int position) |
void |
SshContext.setPreferredCipherCC(String[] order)
Set the preferred CS cipher order
|
void |
SshContext.setPreferredCipherCS(int[] order)
Set the preferred SC cipher order
|
void |
SshContext.setPreferredCipherCS(String name)
Set the preferred cipher for the Client->Server stream.
|
void |
SshContext.setPreferredCipherSC(int[] order)
Set the preferred SC cipher order
|
void |
SshContext.setPreferredCipherSC(String name)
Set the preferred cipher for the Server->Client stream.
|
void |
SshContext.setPreferredCipherSC(String[] order)
Set the preferred SC cipher order
|
void |
SshContext.setPreferredKeyExchange(String name)
Set the preferred key exchange method.
|
void |
SshContext.setPreferredKeyExchange(String[] order) |
void |
SshContext.setPreferredMacCS(int[] order)
Set the preferred CS Mac order
|
void |
SshContext.setPreferredMacCS(String name)
Set the preferred MAC for the Client->Server stream.
|
void |
SshContext.setPreferredMacCS(String[] order) |
void |
SshContext.setPreferredMacSC(int[] order)
Set the preferred SC Mac order
|
void |
SshContext.setPreferredMacSC(String name)
Set the preferred mac for the Server->Client stream.
|
void |
SshContext.setPreferredMacSC(String[] order) |
void |
SshContext.setPreferredPublicKey(String name)
Set the preferred public key algorithm.
|
void |
SshContext.setPublicKeyPreferredPosition(String name,
int position) |
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) |
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) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
SshKeyExchangeServer.processMessage(byte[] msg)
Process a key exchange message
|
Modifier and Type | Method and Description |
---|---|
protected void |
Rsa2048SHA2KeyExchange.calculateExchangeHash()
Calculates the exchange hash as an SHA1 hash of the following data.
|
protected void |
Rsa1024SHA1KeyExchange.calculateExchangeHash()
Calculates the exchange hash as an SHA1 hash of the following data.
|
protected void |
DiffieHellmanGroupExchangeSha1JCE.calculateExchangeHash()
Calculates the exchange hash as an SHA1 hash of the following data.
|
protected void |
DiffieHellmanGroup1Sha1JCE.calculateExchangeHash()
Calculates the exchange hash as an SHA1 hash of the following data.
|
protected void |
DiffieHellmanGroup14Sha1JCE.calculateExchangeHash()
Calculates the exchange hash as an SHA1 hash of the following data.
|
protected void |
DiffieHellmanGroup.calculateExchangeHash()
Calculates the exchange hash as an SHA1 hash of the following data.
|
protected void |
DiffieHellmanEcdh.calculateExchangeHash() |
protected void |
Curve25519SHA256.calculateExchangeHash() |
boolean |
Rsa2048SHA2KeyExchange.processMessage(byte[] msg) |
boolean |
Rsa1024SHA1KeyExchange.processMessage(byte[] msg) |
boolean |
DiffieHellmanGroupExchangeSha1JCE.processMessage(byte[] msg) |
boolean |
DiffieHellmanGroup1Sha1JCE.processMessage(byte[] msg) |
boolean |
DiffieHellmanGroup14Sha1JCE.processMessage(byte[] msg) |
boolean |
DiffieHellmanGroup.processMessage(byte[] msg) |
boolean |
DiffieHellmanEcdh.processMessage(byte[] msg) |
boolean |
Curve25519SHA256.processMessage(byte[] msg) |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
AbstractDigestExtension.doHash(String algorithm,
byte[] handle,
long startOffset,
long length,
SftpSubsystem sftp) |
protected byte[] |
AbstractDigestExtension.doHash(String algorithm,
String filename,
long startOffset,
long length,
SftpSubsystem sftp) |
protected byte[] |
AbstractMD5Extension.doMD5Hash(byte[] handle,
long startOffset,
long length,
byte[] quickCheckHash,
SftpSubsystem sftp) |
protected byte[] |
AbstractMD5Extension.doMD5Hash(String filename,
long startOffset,
long length,
byte[] quickCheckHash,
SftpSubsystem sftp) |
Constructor and Description |
---|
ProxyFile(com.maverick.sftp.SftpFile file,
com.sshtools.sftp.SftpClient sftp,
ProxyFileFactory factory) |
ProxyFile(String name,
com.sshtools.sftp.SftpClient sftp,
ProxyFileFactory factory) |
ProxySession(Connection con) |
Modifier and Type | Method and Description |
---|---|
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 SshKeyPair |
SshKeyPairGenerator.generateKeyPair() |
static SshKeyPair |
SshKeyPairGenerator.generateKeyPair(String algorithm) |
static SshKeyPair |
SshKeyPairGenerator.generateKeyPair(String algorithm,
int bits)
Generates a new key pair.
|
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) |
Modifier and Type | Method and Description |
---|---|
protected void |
VirtualSSHD.configure(DaemonContext context) |
Copyright © 2024. All rights reserved.