com.sshtools.j2ssh.transport.publickey
Interface SshPrivateKeyFormat
- OpenSSHPrivateKeyFormat, SshtoolsPrivateKeyFormat
public interface SshPrivateKeyFormat
decryptKeyblob
public byte[] decryptKeyblob(byte[] formattedKey,
String passphrase)
throws InvalidSshKeyException
formattedKey
- passphrase
-
getFormatType
public String getFormatType()
isFormatted
public boolean isFormatted(byte[] formattedKey)
isPassphraseProtected
public boolean isPassphraseProtected(byte[] formattedKey)
supportsAlgorithm
public boolean supportsAlgorithm(String algorithm)
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.