Uses of Interface
org.apache.sshd.common.session.SessionContext
-
-
Uses of SessionContext in org.apache.sshd.client.auth
Methods in org.apache.sshd.client.auth with parameters of type SessionContext Modifier and Type Method Description Iterable<?>AuthenticationIdentitiesProvider. loadIdentities(SessionContext session) -
Uses of SessionContext in org.apache.sshd.client.auth.hostbased
Methods in org.apache.sshd.client.auth.hostbased with parameters of type SessionContext Modifier and Type Method Description static Iterator<? extends Map.Entry<KeyPair,List<X509Certificate>>>HostKeyIdentityProvider. iteratorOf(SessionContext session, HostKeyIdentityProvider provider)Iterable<? extends Map.Entry<KeyPair,List<X509Certificate>>>HostKeyIdentityProvider. loadHostKeys(SessionContext session) -
Uses of SessionContext in org.apache.sshd.client.auth.password
Methods in org.apache.sshd.client.auth.password with parameters of type SessionContext Modifier and Type Method Description static Iterable<String>PasswordIdentityProvider. iterableOf(SessionContext session, Collection<? extends PasswordIdentityProvider> providers)Wraps a group ofPasswordIdentityProviderinto anIterableof their combined passwordsstatic Iterator<String>PasswordIdentityProvider. iteratorOf(SessionContext session, PasswordIdentityProvider provider)Resolves a non-nulliterator of the available passwordsstatic Iterator<String>PasswordIdentityProvider. iteratorOf(SessionContext session, PasswordIdentityProvider identities, PasswordIdentityProvider passwords)Creates a "unified"Iteratorof passwords out of 2 possiblePasswordIdentityProviderIterable<String>PasswordIdentityProvider. loadPasswords(SessionContext session)static PasswordIdentityProviderPasswordIdentityProvider. multiProvider(SessionContext session, Collection<? extends PasswordIdentityProvider> providers)Wraps a group ofPasswordIdentityProviderinto a single onestatic PasswordIdentityProviderPasswordIdentityProvider. multiProvider(SessionContext session, PasswordIdentityProvider... providers)Wraps a group ofPasswordIdentityProviderinto a single onestatic PasswordIdentityProviderPasswordIdentityProvider. resolvePasswordIdentityProvider(SessionContext session, PasswordIdentityProvider identities, PasswordIdentityProvider passwords)Creates a "unified"PasswordIdentityProviderout of 2 possible ones as follows: -
Uses of SessionContext in org.apache.sshd.client.auth.pubkey
Methods in org.apache.sshd.client.auth.pubkey with parameters of type SessionContext Modifier and Type Method Description Map.Entry<String,byte[]>PublicKeyIdentity. sign(SessionContext session, String algo, byte[] data)Proves the public key identity by signing the given data -
Uses of SessionContext in org.apache.sshd.client.config.keys
Methods in org.apache.sshd.client.config.keys with parameters of type SessionContext Modifier and Type Method Description protected Iterable<KeyPair>ClientIdentitiesWatcher. doGetKeyPairs(SessionContext session, ClientIdentityProvider p)Iterable<KeyPair>ClientIdentityFileWatcher. getClientIdentities(SessionContext session)Iterable<KeyPair>ClientIdentityProvider. getClientIdentities(SessionContext session)Provides aKeyPairrepresenting the client identityprotected booleanBuiltinClientIdentitiesWatcher. isSupported(SessionContext session, KeyPair kp)Iterable<KeyPair>ClientIdentityLoader. loadClientIdentities(SessionContext session, NamedResource location, FilePasswordProvider provider)protected Iterable<KeyPair>LazyClientKeyIdentityProvider. loadClientIdentities(SessionContext session, NamedResource location)static Map<String,KeyPair>ClientIdentity. loadIdentities(SessionContext session, Path dir, boolean strict, Collection<String> types, Function<? super String,String> idGenerator, FilePasswordProvider provider, LinkOption... options)Scans a folder and loads all available identity filesIterable<KeyPair>BuiltinClientIdentitiesWatcher. loadKeys(SessionContext session)Iterable<KeyPair>ClientIdentitiesWatcher. loadKeys(SessionContext session)protected Iterable<KeyPair>ClientIdentitiesWatcher. loadKeys(SessionContext session, Predicate<? super KeyPair> filter)Iterable<KeyPair>LazyClientKeyIdentityProvider. loadKeys(SessionContext session)protected Iterable<KeyPair>ClientIdentityFileWatcher. reloadClientIdentities(SessionContext session, Path path) -
Uses of SessionContext in org.apache.sshd.common.auth
Classes in org.apache.sshd.common.auth with type parameters of type SessionContext Modifier and Type Interface Description interfaceUserAuthFactoriesManager<S extends SessionContext,M extends UserAuthInstance<S>,F extends UserAuthMethodFactory<S,M>>interfaceUserAuthInstance<S extends SessionContext>Represents an authentication-in-progress tracker for a specific sessioninterfaceUserAuthMethodFactory<S extends SessionContext,M extends UserAuthInstance<S>>Represents a user authentication methodMethods in org.apache.sshd.common.auth with type parameters of type SessionContext Modifier and Type Method Description static <S extends SessionContext,M extends UserAuthInstance<S>>
MUserAuthMethodFactory. createUserAuth(S session, Collection<? extends UserAuthMethodFactory<S,M>> factories, String name)Methods in org.apache.sshd.common.auth with parameters of type SessionContext Modifier and Type Method Description static booleanUserAuthMethodFactory. isDataIntegrityAuthenticationTransport(SessionContext session)static booleanUserAuthMethodFactory. isSecureAuthenticationTransport(SessionContext session)According to RFC 4252 - section 8: -
Uses of SessionContext in org.apache.sshd.common.config.keys
Methods in org.apache.sshd.common.config.keys with parameters of type SessionContext Modifier and Type Method Description PublicKeyAuthorizedKeyEntry. appendPublicKey(SessionContext session, Appendable sb, PublicKeyEntryResolver fallbackResolver)PublicKeyPublicKeyEntry. appendPublicKey(SessionContext session, Appendable sb, PublicKeyEntryResolver fallbackResolver)static StringKeyRandomArt. combine(SessionContext session, char separator, KeyIdentityProvider provider)Creates the combined representation of the random art entries for the provided keysstatic <A extends Appendable>
AKeyRandomArt. combine(SessionContext session, A sb, char separator, KeyIdentityProvider provider)Appends the combined random art entries for the provided keysPRVPrivateKeyEntryDecoder. decodePrivateKey(SessionContext session, String keyType, FilePasswordProvider passwordProvider, InputStream keyData)default PRVPrivateKeyEntryDecoder. decodePrivateKey(SessionContext session, FilePasswordProvider passwordProvider, byte... keyData)default PRVPrivateKeyEntryDecoder. decodePrivateKey(SessionContext session, FilePasswordProvider passwordProvider, byte[] keyData, int offset, int length)default PRVPrivateKeyEntryDecoder. decodePrivateKey(SessionContext session, FilePasswordProvider passwordProvider, InputStream keyData)default PUBPublicKeyRawDataDecoder. decodePublicKey(SessionContext session, String keyType, byte[] keyData, int offset, int length, Map<String,String> headers)default PUBPublicKeyRawDataDecoder. decodePublicKey(SessionContext session, String keyType, byte[] keyData, Map<String,String> headers)PUBPublicKeyRawDataDecoder. decodePublicKey(SessionContext session, String keyType, InputStream keyData, Map<String,String> headers)default PUBPublicKeyEntryDecoder. decodePublicKeyByType(SessionContext session, String keyType, InputStream keyData, Map<String,String> headers)PUBPublicKeyRawDataDecoder. decodePublicKeyByType(SessionContext session, String keyType, InputStream keyData, Map<String,String> headers)static Collection<KeyRandomArt>KeyRandomArt. generate(SessionContext session, KeyIdentityProvider provider)Extracts and generates random art entries for all key in the providerStringFilePasswordProvider. getPassword(SessionContext session, NamedResource resourceKey, int retryIndex)default FilePasswordProvider.ResourceDecodeResultFilePasswordProvider. handleDecodeAttemptResult(SessionContext session, NamedResource resourceKey, int retryIndex, String password, Exception err)Invoked to inform the password provide about the decoding result.static NavigableMap<String,KeyPair>IdentityUtils. loadIdentities(SessionContext session, Map<String,? extends Path> paths, FilePasswordProvider provider, OpenOption... options)default PUBPublicKeyRawDataReader. readPublicKey(SessionContext session, URL url)default PUBPublicKeyRawDataReader. readPublicKey(SessionContext session, URL url, Charset cs)default PUBPublicKeyRawDataReader. readPublicKey(SessionContext session, Path path, Charset cs, OpenOption... options)default PUBPublicKeyRawDataReader. readPublicKey(SessionContext session, Path path, OpenOption... options)default PUBPublicKeyRawDataReader. readPublicKey(SessionContext session, NamedResource resourceKey, BufferedReader rdr)default PUBPublicKeyRawDataReader. readPublicKey(SessionContext session, NamedResource resourceKey, InputStream stream)default PUBPublicKeyRawDataReader. readPublicKey(SessionContext session, NamedResource resourceKey, InputStream stream, Charset cs)default PUBPublicKeyRawDataReader. readPublicKey(SessionContext session, NamedResource resourceKey, Reader rdr)PUBPublicKeyRawDataReader. readPublicKey(SessionContext session, NamedResource resourceKey, List<String> lines)default PUBPublicKeyRawDataReader. readPublicKey(SessionContext session, IoResource<?> resource)default PUBPublicKeyRawDataReader. readPublicKey(SessionContext session, IoResource<?> resource, Charset cs)default PrivateKeyPrivateKeyEntryDecoder. resolve(SessionContext session, String keyType, byte[] keyData)PrivateKeyPrivateKeyEntryResolver. resolve(SessionContext session, String keyType, byte[] keyData)default PublicKeyPublicKeyEntryDecoder. resolve(SessionContext session, String keyType, byte[] keyData, Map<String,String> headers)PublicKeyPublicKeyEntryResolver. resolve(SessionContext session, String keyType, byte[] keyData, Map<String,String> headers)PublicKeyAuthorizedKeyEntry. resolvePublicKey(SessionContext session, PublicKeyEntryResolver fallbackResolver)PublicKeyPublicKeyEntry. resolvePublicKey(SessionContext session, Map<String,String> headers, PublicKeyEntryResolver fallbackResolver)static List<PublicKey>PublicKeyEntry. resolvePublicKeyEntries(SessionContext session, Collection<? extends PublicKeyEntry> entries, PublicKeyEntryResolver fallbackResolver) -
Uses of SessionContext in org.apache.sshd.common.config.keys.impl
Methods in org.apache.sshd.common.config.keys.impl with parameters of type SessionContext Modifier and Type Method Description DSAPublicKeyDSSPublicKeyEntryDecoder. decodePublicKey(SessionContext session, String keyType, InputStream keyData, Map<String,String> headers)ECPublicKeyECDSAPublicKeyEntryDecoder. decodePublicKey(SessionContext session, String keyType, InputStream keyData, Map<String,String> headers)OpenSshCertificateOpenSSHCertificateDecoder. decodePublicKey(SessionContext session, String keyType, InputStream keyData, Map<String,String> headers)RSAPublicKeyRSAPublicKeyDecoder. decodePublicKey(SessionContext session, String keyType, InputStream keyData, Map<String,String> headers)SkEcdsaPublicKeySkECDSAPublicKeyEntryDecoder. decodePublicKey(SessionContext session, String keyType, InputStream keyData, Map<String,String> headers)SkED25519PublicKeySkED25519PublicKeyEntryDecoder. decodePublicKey(SessionContext session, String keyType, InputStream keyData, Map<String,String> headers) -
Uses of SessionContext in org.apache.sshd.common.config.keys.loader
Methods in org.apache.sshd.common.config.keys.loader with parameters of type SessionContext Modifier and Type Method Description Collection<KeyPair>AbstractKeyPairResourceParser. extractKeyPairs(SessionContext session, NamedResource resourceKey, String beginMarker, String endMarker, FilePasswordProvider passwordProvider, byte[] bytes, Map<String,String> headers)abstract Collection<KeyPair>AbstractKeyPairResourceParser. extractKeyPairs(SessionContext session, NamedResource resourceKey, String beginMarker, String endMarker, FilePasswordProvider passwordProvider, InputStream stream, Map<String,String> headers)Collection<KeyPair>AbstractKeyPairResourceParser. extractKeyPairs(SessionContext session, NamedResource resourceKey, String beginMarker, String endMarker, FilePasswordProvider passwordProvider, List<String> lines, Map<String,String> headers)Extracts the key pairs within a single delimited by markers block of lines.Collection<KeyPair>AbstractKeyPairResourceParser. loadKeyPairs(SessionContext session, NamedResource resourceKey, FilePasswordProvider passwordProvider, List<String> lines)Collection<KeyPair>FileWatcherKeyPairResourceLoader. loadKeyPairs(SessionContext session, NamedResource resourceKey, FilePasswordProvider passwordProvider, List<String> lines)default Collection<KeyPair>KeyPairResourceLoader. loadKeyPairs(SessionContext session, URL url, FilePasswordProvider passwordProvider)default Collection<KeyPair>KeyPairResourceLoader. loadKeyPairs(SessionContext session, URL url, FilePasswordProvider passwordProvider, Charset cs)default Collection<KeyPair>KeyPairResourceLoader. loadKeyPairs(SessionContext session, Path path, FilePasswordProvider passwordProvider, Charset cs, OpenOption... options)default Collection<KeyPair>KeyPairResourceLoader. loadKeyPairs(SessionContext session, Path path, FilePasswordProvider passwordProvider, OpenOption... options)Loads private key data - Note: any non-ASCII characters are assumed to be UTF-8 encodeddefault Collection<KeyPair>KeyPairResourceLoader. loadKeyPairs(SessionContext session, NamedResource resourceKey, FilePasswordProvider passwordProvider, BufferedReader r)default Collection<KeyPair>KeyPairResourceLoader. loadKeyPairs(SessionContext session, NamedResource resourceKey, FilePasswordProvider passwordProvider, InputStream stream)default Collection<KeyPair>KeyPairResourceLoader. loadKeyPairs(SessionContext session, NamedResource resourceKey, FilePasswordProvider passwordProvider, InputStream stream, Charset cs)default Collection<KeyPair>KeyPairResourceLoader. loadKeyPairs(SessionContext session, NamedResource resourceKey, FilePasswordProvider passwordProvider, Reader r)default Collection<KeyPair>KeyPairResourceLoader. loadKeyPairs(SessionContext session, NamedResource resourceKey, FilePasswordProvider passwordProvider, String data)Collection<KeyPair>KeyPairResourceLoader. loadKeyPairs(SessionContext session, NamedResource resourceKey, FilePasswordProvider passwordProvider, List<String> lines)Loads key pairs from the given resource text linesdefault Collection<KeyPair>KeyPairResourceLoader. loadKeyPairs(SessionContext session, IoResource<?> resource, FilePasswordProvider passwordProvider)default Collection<KeyPair>KeyPairResourceLoader. loadKeyPairs(SessionContext session, IoResource<?> resource, FilePasswordProvider passwordProvider, Charset cs)protected Collection<KeyPair>FileWatcherKeyPairResourceLoader. reloadKeyPairs(SessionContext session, NamedResource resourceKey, FilePasswordProvider passwordProvider, List<String> lines)protected Map.Entry<Map<String,String>,List<String>>AbstractKeyPairResourceParser. separateDataLinesFromHeaders(SessionContext session, NamedResource resourceKey, String startLine, String endLine, List<String> dataLines) -
Uses of SessionContext in org.apache.sshd.common.config.keys.loader.openssh
Methods in org.apache.sshd.common.config.keys.loader.openssh with parameters of type SessionContext Modifier and Type Method Description DSAPrivateKeyOpenSSHDSSPrivateKeyEntryDecoder. decodePrivateKey(SessionContext session, String keyType, FilePasswordProvider passwordProvider, InputStream keyData)ECPrivateKeyOpenSSHECDSAPrivateKeyEntryDecoder. decodePrivateKey(SessionContext session, String keyType, FilePasswordProvider passwordProvider, InputStream keyData)RSAPrivateKeyOpenSSHRSAPrivateKeyDecoder. decodePrivateKey(SessionContext session, String keyType, FilePasswordProvider passwordProvider, InputStream keyData)byte[]OpenSSHKeyDecryptor. decodePrivateKeyBytes(SessionContext session, NamedResource resourceKey, String cipherName, byte[] privateDataBytes, String password)byte[]OpenSSHParserContext. decodePrivateKeyBytes(SessionContext session, NamedResource resourceKey, String cipherName, byte[] privateDataBytes, String password)Collection<KeyPair>OpenSSHKeyPairResourceParser. extractKeyPairs(SessionContext session, NamedResource resourceKey, String beginMarker, String endMarker, FilePasswordProvider passwordProvider, InputStream stream, Map<String,String> headers)protected Map.Entry<PrivateKey,String>OpenSSHKeyPairResourceParser. readPrivateKey(SessionContext session, NamedResource resourceKey, OpenSSHParserContext context, String keyType, FilePasswordProvider passwordProvider, InputStream stream)protected List<KeyPair>OpenSSHKeyPairResourceParser. readPrivateKeys(SessionContext session, NamedResource resourceKey, OpenSSHParserContext context, Collection<? extends PublicKey> publicKeys, FilePasswordProvider passwordProvider, InputStream stream)protected PublicKeyOpenSSHKeyPairResourceParser. readPublicKey(SessionContext session, NamedResource resourceKey, OpenSSHParserContext context, InputStream stream, Map<String,String> headers)protected OpenSSHKdfOptionsOpenSSHKeyPairResourceParser. resolveKdfOptions(SessionContext session, NamedResource resourceKey, String beginMarker, String endMarker, InputStream stream, Map<String,String> headers)protected <S extends InputStream>
SOpenSSHKeyPairResourceParser. validateStreamMagicMarker(SessionContext session, NamedResource resourceKey, S stream) -
Uses of SessionContext in org.apache.sshd.common.config.keys.loader.openssh.kdf
Methods in org.apache.sshd.common.config.keys.loader.openssh.kdf with parameters of type SessionContext Modifier and Type Method Description byte[]BCryptKdfOptions. decodePrivateKeyBytes(SessionContext session, NamedResource resourceKey, String cipherName, byte[] privateDataBytes, String password)byte[]RawKdfOptions. decodePrivateKeyBytes(SessionContext session, NamedResource resourceKey, String cipherName, byte[] privateDataBytes, String password) -
Uses of SessionContext in org.apache.sshd.common.config.keys.loader.pem
Methods in org.apache.sshd.common.config.keys.loader.pem with parameters of type SessionContext Modifier and Type Method Description Collection<KeyPair>AbstractPEMResourceKeyPairParser. extractKeyPairs(SessionContext session, NamedResource resourceKey, String beginMarker, String endMarker, FilePasswordProvider passwordProvider, List<String> lines, Map<String,String> headers)Collection<KeyPair>DSSPEMResourceKeyPairParser. extractKeyPairs(SessionContext session, NamedResource resourceKey, String beginMarker, String endMarker, FilePasswordProvider passwordProvider, InputStream stream, Map<String,String> headers)Collection<KeyPair>ECDSAPEMResourceKeyPairParser. extractKeyPairs(SessionContext session, NamedResource resourceKey, String beginMarker, String endMarker, FilePasswordProvider passwordProvider, InputStream stream, Map<String,String> headers)Collection<KeyPair>PKCS8PEMResourceKeyPairParser. extractKeyPairs(SessionContext session, NamedResource resourceKey, String beginMarker, String endMarker, FilePasswordProvider passwordProvider, byte[] encBytes, PKCS8PrivateKeyInfo pkcs8Info, Map<String,String> headers)Collection<KeyPair>PKCS8PEMResourceKeyPairParser. extractKeyPairs(SessionContext session, NamedResource resourceKey, String beginMarker, String endMarker, FilePasswordProvider passwordProvider, InputStream stream, Map<String,String> headers)Collection<KeyPair>RSAPEMResourceKeyPairParser. extractKeyPairs(SessionContext session, NamedResource resourceKey, String beginMarker, String endMarker, FilePasswordProvider passwordProvider, InputStream stream, Map<String,String> headers) -
Uses of SessionContext in org.apache.sshd.common.config.keys.loader.ssh2
Methods in org.apache.sshd.common.config.keys.loader.ssh2 with parameters of type SessionContext Modifier and Type Method Description PublicKeySsh2PublicKeyEntryDecoder. decodePublicKey(SessionContext session, String keyType, InputStream keyData, Map<String,String> headers)PublicKeySsh2PublicKeyEntryDecoder. decodePublicKeyByType(SessionContext session, String keyType, InputStream keyData, Map<String,String> headers)PublicKeySsh2PublicKeyEntryDecoder. readPublicKey(SessionContext session, NamedResource resourceKey, String beginMarker, String endMarker, byte[] dataBytes, Map<String,String> headers)PublicKeySsh2PublicKeyEntryDecoder. readPublicKey(SessionContext session, NamedResource resourceKey, String beginMarker, String endMarker, List<String> lines, Map<String,String> headers)PublicKeySsh2PublicKeyEntryDecoder. readPublicKey(SessionContext session, NamedResource resourceKey, List<String> lines)PublicKeySsh2PublicKeyEntryDecoder. resolve(SessionContext session, String keyType, byte[] keyData, Map<String,String> headers)protected Map.Entry<Map<String,String>,List<String>>Ssh2PublicKeyEntryDecoder. separateDataLinesFromHeaders(SessionContext session, NamedResource resourceKey, String startLine, String endLine, List<String> lines) -
Uses of SessionContext in org.apache.sshd.common.file
Methods in org.apache.sshd.common.file with parameters of type SessionContext Modifier and Type Method Description FileSystemFileSystemFactory. createFileSystem(SessionContext session)Create user specific file system.PathFileSystemFactory. getUserHomeDir(SessionContext session)default voidFileSystemAware. setFileSystemFactory(FileSystemFactory factory, SessionContext session)Sets theFileSystemFactoryused to create theFileSystemto be used by the session -
Uses of SessionContext in org.apache.sshd.common.file.nativefs
Methods in org.apache.sshd.common.file.nativefs with parameters of type SessionContext Modifier and Type Method Description FileSystemNativeFileSystemFactory. createFileSystem(SessionContext session)PathNativeFileSystemFactory. getUserHomeDir(SessionContext session) -
Uses of SessionContext in org.apache.sshd.common.file.nonefs
Methods in org.apache.sshd.common.file.nonefs with parameters of type SessionContext Modifier and Type Method Description FileSystemNoneFileSystemFactory. createFileSystem(SessionContext session)PathNoneFileSystemFactory. getUserHomeDir(SessionContext session) -
Uses of SessionContext in org.apache.sshd.common.file.virtualfs
Methods in org.apache.sshd.common.file.virtualfs with parameters of type SessionContext Modifier and Type Method Description FileSystemVirtualFileSystemFactory. createFileSystem(SessionContext session)PathVirtualFileSystemFactory. getUserHomeDir(SessionContext session) -
Uses of SessionContext in org.apache.sshd.common.keyprovider
Fields in org.apache.sshd.common.keyprovider declared as SessionContext Modifier and Type Field Description protected SessionContextAbstractResourceKeyPairProvider.KeyPairIterator. sessionMethods in org.apache.sshd.common.keyprovider that return SessionContext Modifier and Type Method Description SessionContextMultiKeyIdentityIterator. getSessionContext()Methods in org.apache.sshd.common.keyprovider with parameters of type SessionContext Modifier and Type Method Description protected Iterable<KeyPair>AbstractResourceKeyPairProvider. doLoadKeys(SessionContext session, NamedResource resourceKey, InputStream inputStream, FilePasswordProvider provider)protected Iterable<KeyPair>AbstractResourceKeyPairProvider. doLoadKeys(SessionContext session, NamedResource resourceKey, R resource, FilePasswordProvider provider)protected Iterable<KeyPair>AbstractResourceKeyPairProvider. doLoadKeys(SessionContext session, R resource)protected Iterable<KeyPair>FileKeyPairProvider. doLoadKeys(SessionContext session, Path resource)protected IoResource<?>AbstractResourceKeyPairProvider. getIoResource(SessionContext session, R resource)protected IoResource<?>ClassLoadableResourceKeyPairProvider. getIoResource(SessionContext session, String resource)protected IoResource<Path>FileKeyPairProvider. getIoResource(SessionContext session, Path resource)default Iterable<String>KeyPairProvider. getKeyTypes(SessionContext session)Iterable<String>MappedKeyPairProvider. getKeyTypes(SessionContext session)static Iterable<KeyPair>KeyIdentityProvider. iterableOf(SessionContext session, Collection<? extends KeyIdentityProvider> providers)default OpenSshCertificateHostKeyCertificateProvider. loadCertificate(SessionContext session, String keyType)Iterable<OpenSshCertificate>FileHostKeyCertificateProvider. loadCertificates(SessionContext session)Iterable<OpenSshCertificate>HostKeyCertificateProvider. loadCertificates(SessionContext session)default KeyPairKeyPairProvider. loadKey(SessionContext session, String type)Load a key of the specified type which can be "ssh-rsa", "ssh-dss", or "ecdsa-sha2-nistp{256,384,521}".KeyPairMappedKeyPairProvider. loadKey(SessionContext session, String type)protected Iterable<KeyPair>AbstractResourceKeyPairProvider. loadKeys(SessionContext session, Collection<? extends R> resources)Iterable<KeyPair>ClassLoadableResourceKeyPairProvider. loadKeys(SessionContext session)Iterable<KeyPair>FileKeyPairProvider. loadKeys(SessionContext session)Iterable<KeyPair>KeyIdentityProvider. loadKeys(SessionContext session)Load available keys.Iterable<KeyPair>MappedKeyPairProvider. loadKeys(SessionContext session)Iterable<KeyPair>MultiKeyIdentityProvider. loadKeys(SessionContext session)protected InputStreamAbstractResourceKeyPairProvider. openKeyPairResource(SessionContext session, NamedResource resourceKey, R resource)Constructors in org.apache.sshd.common.keyprovider with parameters of type SessionContext Constructor Description KeyPairIterator(SessionContext session, Collection<? extends R> resources)MultiKeyIdentityIterator(SessionContext session, Iterable<? extends KeyIdentityProvider> providers) -
Uses of SessionContext in org.apache.sshd.common.session
Methods in org.apache.sshd.common.session that return SessionContext Modifier and Type Method Description SessionContextSessionContextHolder. getSessionContext()Methods in org.apache.sshd.common.session with parameters of type SessionContext Modifier and Type Method Description static booleanSessionContext. isDataIntegrityTransport(SessionContext session)static booleanSessionContext. isSecureSessionTransport(SessionContext session) -
Uses of SessionContext in org.apache.sshd.common.signature
Methods in org.apache.sshd.common.signature with parameters of type SessionContext Modifier and Type Method Description protected SignatureAbstractSignature. doInitSignature(SessionContext session, String algo, Key key, boolean forSigning)Initializes the internal signature instancevoidAbstractSecurityKeySignature. initSigner(SessionContext session, PrivateKey key)voidAbstractSignature. initSigner(SessionContext session, PrivateKey key)voidSignature. initSigner(SessionContext session, PrivateKey key)voidAbstractSecurityKeySignature. initVerifier(SessionContext session, PublicKey key)voidAbstractSignature. initVerifier(SessionContext session, PublicKey key)voidSignature. initVerifier(SessionContext session, PublicKey key)voidSignatureRSA. initVerifier(SessionContext session, PublicKey key)byte[]AbstractSecurityKeySignature. sign(SessionContext session)byte[]AbstractSignature. sign(SessionContext session)byte[]Signature. sign(SessionContext session)Compute the signaturebyte[]SignatureDSA. sign(SessionContext session)byte[]SignatureECDSA. sign(SessionContext session)voidAbstractSecurityKeySignature. update(SessionContext session, byte[] hash, int off, int len)voidAbstractSignature. update(SessionContext session, byte[] hash, int off, int len)default voidSignature. update(SessionContext session, byte[] hash)Update the computed signature with the given datavoidSignature. update(SessionContext session, byte[] hash, int off, int len)Update the computed signature with the given databooleanAbstractSecurityKeySignature. verify(SessionContext session, byte[] sig)booleanSignature. verify(SessionContext session, byte[] sig)Verify against the given signaturebooleanSignatureDSA. verify(SessionContext session, byte[] sig)booleanSignatureECDSA. verify(SessionContext session, byte[] sig)booleanSignatureRSA. verify(SessionContext session, byte[] sig) -
Uses of SessionContext in org.apache.sshd.common.util.security
Methods in org.apache.sshd.common.util.security with parameters of type SessionContext Modifier and Type Method Description static Iterable<KeyPair>SecurityUtils. loadKeyPairIdentities(SessionContext session, NamedResource resourceKey, InputStream inputStream, FilePasswordProvider provider) -
Uses of SessionContext in org.apache.sshd.common.util.security.bouncycastle
Methods in org.apache.sshd.common.util.security.bouncycastle with parameters of type SessionContext Modifier and Type Method Description Collection<KeyPair>BouncyCastleKeyPairResourceParser. extractKeyPairs(SessionContext session, NamedResource resourceKey, String beginMarker, String endMarker, FilePasswordProvider passwordProvider, InputStream stream, Map<String,String> headers)Collection<KeyPair>BouncyCastleKeyPairResourceParser. extractKeyPairs(SessionContext session, NamedResource resourceKey, String beginMarker, String endMarker, FilePasswordProvider passwordProvider, List<String> lines, Map<String,String> headers)static KeyPairBouncyCastleKeyPairResourceParser. loadKeyPair(SessionContext session, NamedResource resourceKey, InputStream inputStream, FilePasswordProvider provider) -
Uses of SessionContext in org.apache.sshd.common.util.security.eddsa
Methods in org.apache.sshd.common.util.security.eddsa with parameters of type SessionContext Modifier and Type Method Description net.i2p.crypto.eddsa.EdDSAPrivateKeyOpenSSHEd25519PrivateKeyEntryDecoder. decodePrivateKey(SessionContext session, String keyType, FilePasswordProvider passwordProvider, InputStream keyData)net.i2p.crypto.eddsa.EdDSAPublicKeyEd25519PublicKeyDecoder. decodePublicKey(SessionContext session, String keyType, InputStream keyData, Map<String,String> headers)Collection<KeyPair>Ed25519PEMResourceKeyParser. extractKeyPairs(SessionContext session, NamedResource resourceKey, String beginMarker, String endMarker, FilePasswordProvider passwordProvider, InputStream stream, Map<String,String> headers)booleanSignatureEd25519. verify(SessionContext session, byte[] sig) -
Uses of SessionContext in org.apache.sshd.server.keyprovider
Methods in org.apache.sshd.server.keyprovider with parameters of type SessionContext Modifier and Type Method Description protected Iterable<KeyPair>AbstractGeneratorHostKeyProvider. doReadKeyPairs(SessionContext session, NamedResource resourceKey, InputStream inputStream)protected Iterable<KeyPair>SimpleGeneratorHostKeyProvider. doReadKeyPairs(SessionContext session, NamedResource resourceKey, InputStream inputStream)protected Iterable<KeyPair>AbstractGeneratorHostKeyProvider. loadFromFile(SessionContext session, String alg, Path keyPath)List<KeyPair>AbstractGeneratorHostKeyProvider. loadKeys(SessionContext session)protected Iterable<KeyPair>AbstractGeneratorHostKeyProvider. readKeyPairs(SessionContext session, Path keyPath, OpenOption... options)protected Iterable<KeyPair>AbstractGeneratorHostKeyProvider. resolveKeyPairs(SessionContext session, Path keyPath)
-