public interface SshPrivateKeyFormat
Modifier and Type | Method and Description |
---|---|
byte[] |
decryptKeyblob(byte[] formattedKey,
java.lang.String passphrase) |
byte[] |
encryptKeyblob(byte[] keyblob,
java.lang.String passphrase) |
java.lang.String |
getFormatType() |
boolean |
isFormatted(byte[] formattedKey) |
boolean |
isPassphraseProtected(byte[] formattedKey) |
boolean |
supportsAlgorithm(java.lang.String algorithm) |
boolean isPassphraseProtected(byte[] formattedKey)
formattedKey
- boolean isFormatted(byte[] formattedKey)
formattedKey
- byte[] decryptKeyblob(byte[] formattedKey, java.lang.String passphrase) throws InvalidSshKeyException
formattedKey
- passphrase
- InvalidSshKeyException
byte[] encryptKeyblob(byte[] keyblob, java.lang.String passphrase) throws InvalidSshKeyException
keyblob
- passphrase
- InvalidSshKeyException
boolean supportsAlgorithm(java.lang.String algorithm)
algorithm
- java.lang.String getFormatType()
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.