| Modifier and Type | Method and Description |
|---|---|
List<Pair<PublicKey,String>> |
SshAgent.getIdentities() |
| Modifier and Type | Method and Description |
|---|---|
List<Pair<PublicKey,String>> |
AgentDelegate.getIdentities() |
List<Pair<PublicKey,String>> |
AbstractAgentProxy.getIdentities() |
| Modifier and Type | Method and Description |
|---|---|
protected static Pair<KeyPair,String> |
AgentImpl.getKeyPair(Collection<Pair<KeyPair,String>> keys,
PublicKey key) |
| Modifier and Type | Method and Description |
|---|---|
List<Pair<PublicKey,String>> |
AgentImpl.getIdentities() |
| Modifier and Type | Method and Description |
|---|---|
protected static Pair<KeyPair,String> |
AgentImpl.getKeyPair(Collection<Pair<KeyPair,String>> keys,
PublicKey key) |
| Modifier and Type | Method and Description |
|---|---|
static Iterator<Pair<KeyPair,List<X509Certificate>>> |
HostKeyIdentityProvider.iteratorOf(HostKeyIdentityProvider provider) |
Iterable<Pair<KeyPair,List<X509Certificate>>> |
HostKeyIdentityProvider.loadHostKeys() |
| Modifier and Type | Method and Description |
|---|---|
Pair<String,Collection<byte[]>> |
CheckFileHandleExtension.checkFileHandle(SftpClient.Handle handle,
Collection<String> algorithms,
long startOffset,
long length,
int blockSize) |
Pair<String,Collection<byte[]>> |
CheckFileNameExtension.checkFileName(String name,
Collection<String> algorithms,
long startOffset,
long length,
int blockSize) |
| Modifier and Type | Method and Description |
|---|---|
Pair<String,Collection<byte[]>> |
CheckFileHandleExtensionImpl.checkFileHandle(SftpClient.Handle handle,
Collection<String> algorithms,
long startOffset,
long length,
int blockSize) |
Pair<String,Collection<byte[]>> |
CheckFileNameExtensionImpl.checkFileName(String name,
Collection<String> algorithms,
long startOffset,
long length,
int blockSize) |
protected Pair<String,Collection<byte[]>> |
AbstractCheckFileExtension.doGetHash(Object target,
Collection<String> algorithms,
long offset,
long length,
int blockSize) |
| Modifier and Type | Method and Description |
|---|---|
static Pair<Boolean,String> |
KeyUtils.checkFingerPrint(String expected,
Digest d,
PublicKey key) |
static Pair<Boolean,String> |
KeyUtils.checkFingerPrint(String expected,
Factory<? extends Digest> f,
PublicKey key) |
static Pair<Boolean,String> |
KeyUtils.checkFingerPrint(String expected,
PublicKey key) |
static Pair<String,Object> |
KeyUtils.validateStrictKeyFilePermissions(Path path,
LinkOption... options)
Checks if a path has strict permissions
The path may not have
PosixFilePermission.OTHERS_EXECUTE
permission
(For Unix) The path may not have group or others permissions
(For Unix) If the path is a file, then its folder may not have
group or others permissions
The path must be owned by current user. |
| Modifier and Type | Method and Description |
|---|---|
static Pair<Integer,Integer> |
KeyPairResourceParser.findMarkerLine(List<String> lines,
int startLine,
List<String> markers)
Attempts to locate a line that contains one of the markers
|
static Pair<Integer,Integer> |
KeyPairResourceParser.findMarkerLine(List<String> lines,
List<String> markers)
Attempts to locate a line that contains one of the markers
|
| Modifier and Type | Method and Description |
|---|---|
protected Pair<PrivateKey,String> |
OpenSSHKeyPairResourceParser.readPrivateKey(String resourceKey,
OpenSSHParserContext context,
String keyType,
FilePasswordProvider passwordProvider,
InputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
static Pair<ECPublicKeySpec,ECPrivateKeySpec> |
ECDSAPEMResourceKeyPairParser.decodeECPrivateKeySpec(InputStream inputStream,
boolean okToClose)
ASN.1 syntax according to rfc5915 is:
ECPrivateKey ::= SEQUENCE {
version INTEGER { ecPrivkeyVer1(1) } (ecPrivkeyVer1),
privateKey OCTET STRING,
parameters [0] ECParameters {{ NamedCurve }} OPTIONAL,
publicKey [1] BIT STRING OPTIONAL
}
ECParameters syntax according to RFC5480:
ECParameters ::= CHOICE {
namedCurve OBJECT IDENTIFIER
-- implicitCurve NULL
-- specifiedCurve SpecifiedECDomain
}
|
| Modifier and Type | Field and Description |
|---|---|
static Map<String,Pair<SocketOption<?>,Object>> |
Nio2Service.CONFIGURABLE_OPTIONS |
| Modifier and Type | Method and Description |
|---|---|
protected Pair<Session.TimeoutStatus,String> |
AbstractSession.checkAuthenticationTimeout(long now,
long authTimeoutMs)
Checks if authentication timeout expired
|
protected Pair<Session.TimeoutStatus,String> |
AbstractSession.checkIdleTimeout(long now,
long idleTimeoutMs)
Checks if idle timeout expired
|
protected Pair<String,String> |
AbstractSession.comparePreferredKexProposalOption(KexProposalOption option) |
| Modifier and Type | Method and Description |
|---|---|
protected Pair<String,byte[]> |
AbstractSignature.extractEncodedSignature(byte[] sig)
Makes an attempt to detect if the signature is encoded or pure data
|
| Modifier and Type | Method and Description |
|---|---|
static <ARG> Pair<Invoker<? super ARG,?>,Throwable> |
Invoker.invokeTillFirstFailure(ARG arg,
Collection<? extends Invoker<? super ARG,?>> invokers)
Invokes all instances until 1st failure (if any)
|
| Modifier and Type | Method and Description |
|---|---|
static Pair<String,Object> |
ModifiableFileWatcher.validateStrictConfigFilePermissions(Path path,
LinkOption... options)
Checks if a path has strict permissions
(For
Unix) The path may not have group or others write permissions
The path must be owned by current user. |
| Modifier and Type | Method and Description |
|---|---|
protected Pair<Path,Boolean> |
SftpSubsystem.doRealPathV345(int id,
String path,
Path p,
LinkOption... options) |
protected Pair<Path,Boolean> |
SftpSubsystem.doRealPathV6(int id,
String path,
Collection<String> extraPaths,
Path p,
LinkOption... options) |
protected Pair<Path,Boolean> |
SftpSubsystem.validateRealPath(int id,
String path,
Path f,
LinkOption... options) |
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.